zicodxx
|
6f0567041a
|
Added new dynamic light calculation which works with find_connected_distance() preventing vertecies to be lit up without connection to light source but still maintaining illumination. Still deactivated as it needs more optimization - planned for 0.58. Removed old alternative dynamic lighting which was suppoed to work via fvi but way slower than the new one
|
2011-07-09 21:39:22 +02:00 |
|
zicodxx
|
8a6839e8a1
|
changed variables and pointer carrying vertex indexes from short to int to handle levels with over 900 segments properly
|
2011-06-30 12:23:38 +02:00 |
|
zicodxx
|
47c687d5fc
|
in compute_light_emission() handle RT_NONE for delayed explosion fireballs
|
2011-06-20 11:30:12 +02:00 |
|
zicodxx
|
6fe5bee78a
|
Since set_dynamic_light() is not necessarily processed each frame, added own counter for delayed precession of vertex-clight calculation; Added possibility to page in a bitmap in case an object which has never been rendered before is supposed to cast light visible by the player
|
2011-06-04 10:04:39 +02:00 |
|
zicodxx
|
a2e5afedf7
|
Added proper colored lighting handling for RT_POWERUP which I not noticed was wrong before ... darn dim glowing powerups
|
2011-06-01 15:49:06 +02:00 |
|
zicodxx
|
47bd048b18
|
Correctly handle light computation of objects with render_type RT_LASER
|
2011-05-05 20:45:24 +02:00 |
|
zicodxx
|
1b1fdd6575
|
Reset obj_color for colored object lights when object does not return any usable color so the object will cast white light at least
|
2011-04-13 21:18:18 +02:00 |
|
zicodxx
|
7ae49da7cf
|
Execute set_dynamic_light 60 times per second max since more would just be a waste of CPU time; When executing set_dynamic_light, process ALL lights; Instead of storing light color in objects, do it on-thy-fly but store bitmap-based color in grs_bitmap - vastly speeds up colored dynamic lights; Improved saturation for vertex lighting to make light color a bit more subtile
|
2011-04-12 03:02:51 +02:00 |
|
zicodxx
|
eb7e001c2f
|
Made lighting code work with actual RGB values and added feature to let certain objects emit colored dynamic light as well as let mine flash red when control center destroyed (OpenGL-only at the moment)
|
2011-04-07 22:32:51 +02:00 |
|
zicodxx
|
fe84fa3a9a
|
Made GameTime to GameTime64 using fix64; Changed all structures saving GameTime64 for internal timer purposes to store fix64 and added converting functions to save such times in fix; For Savegames/Demos always reset GameTime64 to 0 while saving and putting all timer values to safe limits, Multiplayer objects are sent in similar fashion
|
2010-12-22 01:17:59 +01:00 |
|
zicodxx
|
3bcb0ecdde
|
Introduced new data type fix64 to be used for new timers which can last 4462756 years instead of 9 hours; Introduced new timer functions to update and query program time; Used new timer all over the program except GameTime (which comes next)
|
2010-12-11 00:18:17 +01:00 |
|
zicodxx
|
6c77dd5ecd
|
For casting light from Player-object, smooth out thrust to prevent flickering on high FPS
|
2010-03-28 09:53:12 +00:00 |
|
kreatordxx
|
bf512bb9ec
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
zicodxx
|
44bbb66101
|
Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes
|
2008-04-06 20:23:28 +00:00 |
|
md2211
|
a0b4cac982
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
fd2090c761
|
fixing OGL compile bug; fixing calculation of object light before and after restoring a saved game
|
2006-10-15 12:26:13 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|