zicodxx
|
c960d5505a
|
Added cv_fade_level to canvas structure to replace Gr_scanline_darkening_level; Added cv_blend_func to canvas structure to set blending; Introduced gr_settransblend to set cv_fade_level and cv_blend_func; Added function to set normal blending, additive alpha blending and additive color blending; Moved Special transparency effects from g3_draw_bitmap to render_object to set individual transparency and/or blending for each object outside of OpenGL-specific code; Added special blending for fuelcenter and force field effects as well; Removed unused LASER_HACK code; Renamed OglAlphaEffects variable of PalyerCfg to AlphaEffects as I plan to implement this kind of effects for Software renderer, too
|
2011-02-23 17:46:39 +01:00 |
|
zicodxx
|
5eb05548c3
|
Added timer_update() to stop/start/reset_time() functions so resumed last_timer_value will be precise; Added new FPS counter which actually does count the frames rendered per second and is less irritating; Added timer_dleay2 call to console to not stress CPU too much; Imporoved placement for show_time(), multi messages, marker messages and orb counts
|
2011-01-22 13:30:20 +01:00 |
|
zicodxx
|
acb1494124
|
in ogl_filltexbuf add pixel row matching color of bitmap edge to get a clean border when filtering cockpit overlay bitmaps
|
2011-01-16 19:33:41 +01:00 |
|
zicodxx
|
af651ac749
|
Toggle console by KEY_SHIFTED+KEY_ESC again - as it should be
|
2011-01-16 11:55:31 +01:00 |
|
zicodxx
|
0d997ed81a
|
Converted console into a window and allow it to show in every part of the game; Fit several poll functions and kmatrix so they won't get interrupted by the console
|
2011-01-14 22:56:00 +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
|
b43832c285
|
If -verbose or -debug is set, write gamelog.txt unbuffered for a higher chance to get messages there in case of a crash; Totally supress messages in stdout/err.txt on _WIN32
|
2010-11-26 13:15:56 +01:00 |
|
zicodxx
|
283172aff6
|
Added format arguments to all printf, sprintf and snprintf calls missing them to prevent warnings/errors with some distributions of gcc
|
2010-10-14 16:46:20 +02:00 |
|
zicodxx
|
66dfa869b1
|
Write gamelog.txt buffered so it will not stress the medium it's saved on
|
2010-02-08 14:28:12 +00:00 |
|
kreatordxx
|
bf512bb9ec
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
zicodxx
|
02e7490c63
|
When printing Gamelog, make sure canvas is NULL
|
2008-11-17 23:28:59 +00:00 |
|
zicodxx
|
6f39ab836f
|
Added other SDL_(Un)LockAudio statements to protect the audio_mixcallback function - making that hopefully stable on multicores; Resetting warn_func at quit_request so we do not accidently show any menu; Open gamelog.txt unbuffered
|
2008-11-15 20:49:54 +00:00 |
|
zicodxx
|
52ed53f829
|
Revisited Kip's non-Tracker changes and implemented to D2X: Prettier SConstruct output, Forgotten newlines at end of files, Improvement in dl_list code, Revamped menu GUI defines; I am NOT HAPPY I have to do these changes seperately
|
2008-10-28 17:58:54 +00:00 |
|
zicodxx
|
f108f30ffd
|
Added new function to calculate common timesteps; Increased MAXIMUM_FPS to 200 for release and 1000 for debug; Used fixed sim_time for do_physics_sim and Interpolating to ensure collisions stay accurate at high FPS; New code and faster code for dot products by The_Lion; Disabled Nice-FPS and common Frame-Loop if VSync is active; More accurate delta timer for mouse (consider overhead); Added SDL_(Un)LockAudio for old SDL Audio interface; General support for up to 16 mouse buttons; Code cleanup; Made some AI movement and Player shaking FPS-independent
|
2008-09-30 00:07:07 +00:00 |
|
kreatordxx
|
acb56ca502
|
make sure it doesn't try to write to gamelog.txt after it's closed
|
2008-04-27 05:06:30 +00:00 |
|
zicodxx
|
410dadb7c9
|
Hack to force DOS-style newlines for _WIN32 in gamelog.txt
|
2008-04-21 23:03:18 +00:00 |
|
zicodxx
|
d457f9430d
|
Reworked timer_delay2() and calc_frame_time() to be more accurate and CPU-friendly; -nicefps replayced by -nonicefps to disable sleeping for calc_frame_time; Implemented VSync via SDL; Fixed compilation issues; Code cleanup
|
2008-04-21 18:39:49 +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 |
|
zicodxx
|
f3d8d50a94
|
Reworked fonts routines - makes easier to expand and scale correctly; Reworked menus with better border scaling, improved rendering and cleanups; Improved font priniting ingame, better alignment; Reworked Netgame list; Real Doublebuffering in SDL-mode; Removed old and unused sources
|
2008-02-24 14:41:27 +00:00 |
|
md2211
|
a0b4cac982
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
kreatordxx
|
4ff4ddd0a3
|
include SDL/SDL.h for all platforms and physfs/physfs.h for Mac OS X to avoid having to add some hard-coded include paths
|
2007-04-09 02:41:45 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|