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
|
3a52d03d21
|
Added structure for values saved in PLR/PLX files; Added most common command-line options to options menu
|
2008-04-13 00:28:36 +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
|
d2365d65f0
|
Simplification of palette code; Properly screen clearing in SDL-only build when palette changes; Removed obsolete functions like gr_update (replaced by gr_flip), gr_palette_fade_in/out, gr_palette_clear; Added functionality to render Automap while menu display as well; Improved blocking of some controls code while Automap active; Fixed some compiler warnings
|
2008-03-20 23:23:46 +00:00 |
|
zicodxx
|
6479a897b2
|
Fixed some memory issues; Fixed some HUD element alignment; Only send NetDrv packets if NetDrvInstalled is true; Fixed demo glitches; Actually using Game_mode in demos to make Newdemo_game_mode hacking obsolete
|
2008-03-08 22:37:09 +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 |
|
zicodxx
|
df7a1ca071
|
Introduced timer_delay2 as replacement for timer_delay to sleep according to given FPS rate considering calc time between frames
|
2007-11-21 12:46:09 +00:00 |
|
zicodxx
|
a5e460e66e
|
Correctly saving Reverse Stereo setting; Added Demo playback help keys; aligned Demo recording to 20 frames per second to save lots of hard drive space
|
2007-11-06 20:33:22 +00:00 |
|
zicodxx
|
453cf2d609
|
Fixed problems with GameTime wraparound - delay sounds, cloak, invulnerability, ping; Added debug key to Reset GameTime for testing; Removed -gl_vidmem; Cheat-code cleanup; Some HUD message redundancy
|
2007-10-28 20:14:25 +00:00 |
|
zicodxx
|
567af2ae9a
|
Reworked Pause-screen
|
2007-10-14 16:25:55 +00:00 |
|
zicodxx
|
81760cfc9e
|
Increased Rear_view_leave_time to 0x4000
|
2007-10-12 14:25:58 +00:00 |
|
zicodxx
|
13631bd2c6
|
Improvements for Cockpit mode save; Fixed -pilot switch
|
2007-10-08 10:40:21 +00:00 |
|
zicodxx
|
facee57d1f
|
Not rendering additional transparency cockpit display anymore to ensure compability with custom cockpits; Improved overlay functions for cockpit elements
|
2007-10-05 23:47:16 +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
|
7ab0e53e2d
|
Code Re-formatting; Preventing Redundancy in Restricted-game joining; Dumping refused player back to Join-menu; Expanded Game-help screen
|
2007-09-13 10:05:36 +00:00 |
|
zicodxx
|
2960bd519c
|
Moved 'if' for HiresGFX to apply after gr_set_mode call; Fixed problems with HiresGFX=0 in Pilot selection and Briefings; Fixed define for CREDITS_FILE so cfexist checks for txb-, not tex-file
|
2007-09-01 14:02:49 +00:00 |
|
zicodxx
|
b35d8bc170
|
Improved CPU cycles sleeping for -nicefps - moved out of main frame calc loop and taking care of 10ms timer inaccuracy
|
2007-08-25 23:35:19 +00:00 |
|
kreatordxx
|
dfb133d378
|
allow framerate indicator to be toggled in-game again
|
2007-08-24 00:01:39 +00:00 |
|
zicodxx
|
e655c3115b
|
Fixed excessive use of set_screen_mode; Menu fixes; Better way to determinate Scollboxes
|
2007-08-08 18:07:21 +00:00 |
|
zicodxx
|
19beaa08cd
|
Set default value for Game_screen_mode which is necessary if there's no config file yet; Made resolution switching more failsafe by not allowing resolutions below 320x200; Cleaned up briefings code (I hope so)
|
2007-08-08 12:38:13 +00:00 |
|
zicodxx
|
2bc4cd32bb
|
Cleanup in Config- and PLX-code; Saving Resolution in Config file so it will apply directly at game-init; Removed seperated resolution mode for menus, SCREEN_MENU now always uses Game_screen_mode; Last FindArg cleanups; Removed MenuHires(Available) and FontHires(Available) and replaced with HiresGFX(Available) to make a more common way to determinate if Hires data is used or not (interactive Demo); Improved support for Interactive Demo
|
2007-07-26 23:57:29 +00:00 |
|
zicodxx
|
860b964ee4
|
Code cleanup and small fixes
|
2007-07-22 01:34:00 +00:00 |
|
zicodxx
|
6469faaafc
|
Cleanups
|
2007-07-18 22:23:06 +00:00 |
|
zicodxx
|
8e2aa8ea2a
|
Cleaned up more FindArg's - general Debug Options; Cleanups
|
2007-07-18 20:13:17 +00:00 |
|
zicodxx
|
7d23cb6772
|
Cleaned up more FindArg's - Networking Options; Some fixes
|
2007-07-16 02:34:51 +00:00 |
|
zicodxx
|
3b7cac5e35
|
Removed unused RealFrameTime; Removed FPS-dependent Homing-tracking code
|
2007-07-16 00:28:22 +00:00 |
|
zicodxx
|
88f986afe5
|
Fixing duplicated gr_toggle_fullscreen()
|
2007-07-15 21:55:00 +00:00 |
|
zicodxx
|
29ef28bef3
|
Cleaned up more FindArg's - (most important) OpenGL Options
|
2007-07-15 21:22:07 +00:00 |
|
zicodxx
|
8217e50e0c
|
Cleaned up more FindArg's - Sound Options
|
2007-07-14 22:36:04 +00:00 |
|
zicodxx
|
8efe1ea653
|
Placing FindArg calls to seperated function, putting variables to a struct - frist step, not finished, yet; Large code cleanup
|
2007-07-14 20:33:42 +00:00 |
|
zicodxx
|
0aa3fc1acf
|
adjusted size of Inputbox; code cleanup for saving/restoring state; also display savegame thumbnail when saving game
|
2007-06-16 08:14:00 +00:00 |
|
zicodxx
|
b5a5352a41
|
fixed axis direction for vertical and sideways thrust time; fixed y-Offset for mouse selection in kconfig_sub; removed (useless) Shrink/Grow window feature to clean code a bit; improved grabmouse so mouse is always released in non-SCREEN_GAME modes
|
2007-06-14 20:52:14 +00:00 |
|
zicodxx
|
5bcb0e1ed5
|
introduced new bitmap flag to draw cockpit bitmap with transparency; draw transparent cockpit bitmap over gauges to make it more pixel-correct; code cleanups
|
2007-06-10 16:21:53 +00:00 |
|
zicodxx
|
90ee584b28
|
make sure Game_window_w/h is always set to a valid value in every cockpit mode
|
2007-05-14 14:02:12 +00:00 |
|
zicodxx
|
f20ec1e42e
|
Added config field to map a Mouse Axis/Wheel to cycle Primary and Secondary weapons; lots of controls-related code cleaning
|
2007-05-14 13:38:44 +00:00 |
|
zicodxx
|
0a198ccc62
|
rev432 revisited - do not send multi De-Cloak packet in Demo Playback
|
2007-05-02 18:42:46 +00:00 |
|
zicodxx
|
8b023aa928
|
re-added RealFrameTime assignment, lost in last revision (503). Should be removed some day however
|
2007-04-29 17:55:58 +00:00 |
|
zicodxx
|
236160666b
|
removed FrameTime limiter since it is only messing if 150FPS or more is reached
|
2007-04-29 11:51:08 +00:00 |
|
zicodxx
|
c8c866dddf
|
removed use of VR_render_buffer (almost completly)
|
2007-04-14 20:57:48 +00:00 |
|
kreatordxx
|
55bd12c349
|
remove final remains of VR_current_page and VR_use_paging, resolution variable cleanup - remove VGA_current_mode, VR_screen_mode, VR_render_buffer[0].cv_bitmap.bm_w/h and VR_render_width/height (Game_screen_mode is the actual resolution put in an int, not an index)
|
2007-04-05 13:23:44 +00:00 |
|
zicodxx
|
bfc966693a
|
extend show_help() with some netgame commands
|
2007-04-03 22:22:03 +00:00 |
|
kreatordxx
|
5e207b4eb5
|
remove 'extern int last_drawn_cockpit[2]' since it's now a single int (not an array), fixing memory corruption (whoops!!)
|
2007-04-01 02:14:38 +00:00 |
|
zicodxx
|
e71800847b
|
a switch to disable timer_delay in calc_frame_time - may be used if game runs a bit choppy
|
2007-03-31 21:00:47 +00:00 |
|
kreatordxx
|
0c30130ca5
|
draw mine view directly to screen for non-OpenGL build, no using an offscreen buffer (will use SDL_Flip later)
|
2007-03-24 04:37:33 +00:00 |
|
zicodxx
|
b41a8a437a
|
Use Doublebuffer in OGL for all parts of the game and properly redraw elements, fixed Profiler build
|
2007-03-22 11:32:22 +00:00 |
|
kreatordxx
|
21c844b377
|
remove final remnants of VR_current_page and VRF_USE_PAGING, also allowing -nodoublebuffer switch for all platforms. Fix single buffering for d2xgl
|
2007-03-21 12:35:35 +00:00 |
|
kreatordxx
|
751cbe1a91
|
add gr_flip, allowing significant cleanup including the moving of gr_show_canvas, Pages and VR_screen_pages to arch/dos/gr.c
|
2007-03-21 11:32:33 +00:00 |
|
zicodxx
|
1083d396f5
|
newdemo-related fixes
|
2007-02-28 20:43:10 +00:00 |
|
zicodxx
|
64749f0328
|
reverting rev429 - fixing GameTime as D2X does
|
2007-02-26 13:50:59 +00:00 |
|
zicodxx
|
0e78f2d4f0
|
reset GameTime properly if needed
|
2007-02-20 02:16:42 +00:00 |
|
zicodxx
|
f9512e917c
|
since Movies are initiated once in runtime, indroduced SCREEN_MOVIE to set desired movie resolutions seperatly from menu or game resolution
|
2007-02-08 15:36:56 +00:00 |
|
zicodxx
|
d4de0c28d3
|
write screenshots to subdirectory
|
2007-01-25 10:30:33 +00:00 |
|
zicodxx
|
184a7e133a
|
fixed PRINTSCREEN key for WINDOWS
|
2007-01-22 10:52:01 +00:00 |
|
kreatordxx
|
38e2a3cb0b
|
small brace tidy up to allow a source code editor to list all the functions (from D2X CVS)
|
2006-12-23 09:12:27 +00:00 |
|
zicodxx
|
3d3188473b
|
GP2X handheld support; added SConstruct file (MAC support incomplete); code optimisations for software renderer; fixed memleaks
|
2006-12-19 02:25:50 +00:00 |
|
zicodxx
|
999780ff58
|
moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs
|
2006-10-31 15:46:06 +00:00 |
|
zicodxx
|
8cb08cd86f
|
removed calibrate joystick line from help menu
|
2006-10-20 22:41:48 +00:00 |
|
zicodxx
|
df6aea93dc
|
removing unnecessary stuff from game_init_render_buffers; better resolution handling; storing resolution stuff in PLX file (Thanks to Hans de Goede and Chris Taylor)
|
2006-10-06 00:15:20 +00:00 |
|
zicodxx
|
69cba85987
|
since we removed Game_window_* definitions from game_init_render_buffers we define both in init_cockpit if 0; corrected FONTSCALE_* for SDL mode
|
2006-09-29 13:43:21 +00:00 |
|
zicodxx
|
a86ae94762
|
scalable HUD, improvements for HUD and cockpits, cleaner code, fixes to get SDL renderer working again
|
2006-09-29 00:57:57 +00:00 |
|
zicodxx
|
6bec053b4b
|
some fixes for menus and automap; new aspect code; improved code to scale window for cockpits; introducing new variable in playsave.c to store game resolution and saving Game_window_h/h again properly - fixes bugs with screwed resolutions; making menus in game-resolution as default and re-activating old command-line arg '-menu<X>x<Y>' to scale menus
|
2006-08-30 18:12:04 +00:00 |
|
zicodxx
|
e84d026639
|
added game_flush_input() on automap calls to avaoid control irritations
|
2006-07-11 17:37:39 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|