Commit graph

61 commits

Author SHA1 Message Date
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