Commit graph

225 commits

Author SHA1 Message Date
zicodxx ca9e82fe80 Cleaned up more FindArg's - general Debug Options; Cleanups 2007-07-18 20:13:17 +00:00
zicodxx e274230e38 Cleaned up more FindArg's - Networking Options; Some fixes 2007-07-16 02:34:51 +00:00
zicodxx 0bf2b7d4a9 Removed unused RealFrameTime; Removed FPS-dependent Homing-tracking code 2007-07-16 00:28:22 +00:00
zicodxx 3a971db581 Fixing duplicated gr_toggle_fullscreen() 2007-07-15 21:55:00 +00:00
zicodxx c19d49d65d Cleaned up more FindArg's - (most important) OpenGL Options 2007-07-15 21:22:07 +00:00
zicodxx 90e50806ba Cleaned up more FindArg's - Graphics Options 2007-07-15 15:23:45 +00:00
zicodxx 38cde9ec87 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 78103fddce removed old CD-Play code 2007-07-14 10:51:17 +00:00
zicodxx 96418c210e fixing compiler warning, handle *SOUND_TO_OBJ events correctly in demo playback 2007-06-28 14:33:47 +00:00
zicodxx 9440769b45 small code cleanup; improved texture caching in menus to save RAM 2007-06-15 12:32:44 +00:00
zicodxx 2c05c07493 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; saving Cockpit mode in PLX file; improved grabmouse so mouse is always released in non-SCREEN_GAME modes 2007-06-14 20:51:52 +00:00
zicodxx 6049574cd2 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 e150919deb free grabbed mouse in Demo Playback; improved Player-files deletion 2007-05-16 11:26:34 +00:00
zicodxx 4091731e64 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 f912c9efa6 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 ecf8a53e0c update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback 2007-05-09 09:44:45 +00:00
zicodxx f5f0c45ded rev432 revisited - do not send multi De-Cloak packet in Demo Playback 2007-05-02 18:42:46 +00:00
zicodxx 31aa39fefa resolved some overlapping HUD elements 2007-05-01 22:57:31 +00:00
zicodxx 2339cb8293 introduced do_weapon_stuff() to abstract code from ReadControls() 2007-04-11 23:09:22 +00:00
zicodxx 4f07beb2d6 removed some code from Weapon Ordering which broke primary cycling 2007-04-11 23:04:15 +00:00
kreatordxx 6b9c94a9c6 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 f52910f3ad compile-time fix for demo stuff; close menu with boxed message 2007-04-04 17:17:53 +00:00
zicodxx 95b08dfb17 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
zicodxx 833f3a06fa dropped Newdemo Un/pause feature - unreliable, creates corrupt data 2007-03-30 07:38:15 +00:00
zicodxx 532e1585e9 Error-proof cfile_init_hogfile(), added forgotten break statement for Pause/Unpause Demo 2007-03-30 07:26:07 +00:00
zicodxx 85873c29f6 introduced newmenu_dotiny() from D2X to show menus with GAME_FONT; extended Help-menu and removed D1X-Help-menu 2007-03-29 22:11:46 +00:00
zicodxx add8710081 palette-related fixes for Doublebuffered menus; fixes for SDL-build 2007-03-29 00:13:08 +00:00
zicodxx 1851b7d1fe draw mine view directly to screen with SDL Video, no using an offscreen buffer (will use SDL_Flip later) 2007-03-26 10:47:34 +00:00
zicodxx 233fdcd2db unbind Minus/Equal from Shrink/Grow-window - only use ALT-F9/F10 to get richt with all keyboard layouts; Always allow screen resolution switching, even if selected is not supported to ensure Multi-Monitor support 2007-03-26 08:20:46 +00:00
zicodxx 6b84e27046 removed d_delay, now using timer_delay as wrapper for SDL_Delay 2007-03-25 21:00:14 +00:00
zicodxx 9e1281d81e add gr_flip, allowing significant cleanup; remove final remnants of VR_current_page, also allowing -nodoublebuffer switch for all platforms 2007-03-22 14:15:46 +00:00
zicodxx d33ccb0f01 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
md2211 752b772d26 USE_SDLMIXER fix for regular SDL audio build 2007-03-18 18:17:49 +00:00
md2211 2a5142e82b First release of the new in-game jukebox system
Specify a music directory with -jukebox
2007-03-12 21:56:41 +00:00
zicodxx f268021ddb some menu fixes 2007-03-03 18:27:55 +00:00
zicodxx 9c758b2cc9 newdemo-related fixes 2007-02-28 20:43:10 +00:00
zicodxx 84f7b9ee2a reverting rev429 - fixing GameTime as D2X does 2007-02-26 13:50:59 +00:00
zicodxx 9e46ec19c8 reset GameTime properly if needed 2007-02-20 02:16:42 +00:00
zicodxx 508b95178b seperated Controls-reading functions in HandleEndlevelKey, HandleEndlevelKey, FinalCheatsKey, HandleGamekey; improved Game-key handling is Player_is_dead 2007-02-19 17:57:15 +00:00
zicodxx e3faa7bcf6 removed BADTEXTURE cheat 2007-02-19 15:30:13 +00:00
zicodxx 871fd0374d introducing HandleDeathKey - allows sending multi messages and options menu while dead 2007-02-07 16:25:40 +00:00
zicodxx eebedcca6f expanded help menu and fixed d1x help 2007-02-07 11:47:48 +00:00
zicodxx 163bdd65ac corrected position of multi-message entry string 2007-01-27 15:48:22 +00:00
zicodxx f798c8b2fd correction for last commit (god I am stupid) 2007-01-25 10:06:40 +00:00
zicodxx 363a7afd48 added some forgotten includes to avoid warnings 2007-01-25 10:05:14 +00:00
zicodxx db2c91597e read/save Hires fonts/briefings, demos, AddOn missions, screenshots from/to subdirectories 2007-01-25 09:56:05 +00:00
zicodxx b6481037db fixed key combo to shrink/grow window (lost while porting to GP2X) 2007-01-13 14:20:24 +00:00
zicodxx f34a57f3f7 code optimisation and fixed mem-leaks 2006-11-28 08:56:24 +00:00
zicodxx 3a2a5a0bd6 ARM CPU support with words alignment and GP2X handheld support 2006-11-22 05:35:10 +00:00
zicodxx ade9407122 merged SDL keyboard functions from D2X 2006-11-17 01:34:40 +00:00
zicodxx 8fe5b5e171 moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs 2006-10-31 15:45:48 +00:00
zicodxx dcd1b3d683 new handling for keys after player is exploded 2006-10-20 23:52:57 +00:00
zicodxx 267890f9e3 removed calibrate joystick line from help menu 2006-10-20 22:41:36 +00:00
zicodxx 9842dfe1b6 removed fullscreen menu toggle - does not work on any arch and hasn't since we have toggle in resolution menu 2006-10-20 14:53:41 +00:00
zicodxx c3a9351d1d corrected position of FPS counter 2006-10-12 23:07:44 +00:00
zicodxx f9801f9b0d cleaned up options menu and removed 'd1x options' because not really necessary anymore 2006-10-08 17:53:50 +00:00
zicodxx ef95ad95b0 corrected demo-related font positions; merged ogl_ubitmapm_cs and ogl_ubitmapm_cf 2006-10-08 15:56:03 +00:00
zicodxx d64c3d1023 change byte to sbyte 2006-10-06 14:41:31 +00:00
zicodxx f8c1990621 making sure canvas is free if a new buffer is created 2006-10-06 00:39:15 +00:00
zicodxx 7df6125ebe removing unnecessary stuff from game_init_render_buffers; better resolution handling; making shareware version using registered save/restore features; storing resolution stuff in PLX file and making compability to other D1X versions; cleaning up the code a bit; implemented SHAREWARE build in SCons and some fixes for SHAREWARE build (Thanks to Hans de Goede) 2006-10-06 00:12:16 +00:00
zicodxx 2fff0b4ef5 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:40:50 +00:00
zicodxx c5e0bf60e7 removed recharge-hack and fixed recharge bug according to d2x code 2006-09-29 01:16:21 +00:00
zicodxx 434e0fa70f corrections and improvements for scalable HUD and cockpits, cleaner code, fixes to get SDL renderer working again 2006-09-29 00:49:28 +00:00
zicodxx aec4c6ea28 adjusted position of strings in hud and cockpit; made fadings work in OGL; made radar scale in cockpit mode; mede normal reticle default again and scaled it to current resolution for OGL; reformatted code to make it A BIT MORE readable 2006-09-08 23:31:06 +00:00
zicodxx 22d32c1e83 small fix to CM_FULL_SCREEN so it does not show letterbox after the game has been left in CM_STATUSBAR 2006-08-31 18:07:00 +00:00
zicodxx 8778e9c012 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:11:16 +00:00
zicodxx d4a78a5794 fixed compile-time errors on windows 2006-08-21 23:56:04 +00:00
zicodxx 006f089a07 adjusted position of strings in show_boxed_message. increasing MAX_TEXT_WIDTH. all this should already be there in rev. 100 - however nobody's perfect 2006-08-15 10:39:05 +00:00
zicodxx c1240348a2 restore background correctly after PREPARE FOR DESCENT. should already have been applied in rev. 99 2006-08-13 23:17:08 +00:00
zicodxx e78c94a13f made fonts scalable, added command-line to enable fixed fonts, added command-line to enable hires fonts, made savegame thumbs scalable, reworked menu borders, new way to display level info in automap to get right with scaled fonts. still need to rewrite credits code and make hud ready. will follow later. 2006-08-13 15:52:49 +00:00
zicodxx d3aed0a52f removed unwanted stop_time() in set_screen_mode(), that broke pause states and control stuff 2006-07-30 09:05:07 +00:00
zicodxx 4970518c1e changed mousegrab calls because of new use in windows as well 2006-07-28 15:22:07 +00:00
zicodxx bd1a7c16a2 added game_flush_input() on automap calls to avaoid control irritations 2006-07-11 17:37:27 +00:00
zicodxx 7e7995b8c7 new interpolate function for demos; changed call for d_delay to nice demo playback; code cleanup and reformatting 2006-03-27 17:38:11 +00:00
zicodxx cde0244a09 initial import 2006-03-20 16:43:15 +00:00