Commit graph

1039 commits

Author SHA1 Message Date
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
xatmes 373524ae14 main/endlevel.c: Changed RAND_MAX to D_RAND_MAX in vector multipler so that resu
lting scale equals something logical.  Fixes explosions/attached sound when chas
ing player during endlevel tunnel exit
main/switch.c: Added condition so that sounds keep playing through exit sequence
 when exiting a D1 level
2007-05-13 01:57:04 +00:00
zicodxx 5741e093c4 if movielib isn't found in requested resolution, do NOT select other version, since the game is unable to determinate to switch correctly - instead skip playback in that case 2007-05-11 09:23:47 +00:00
zicodxx e03925096d read -pilot arg with and without filename extension 2007-05-10 09:34:27 +00:00
zicodxx 0bc374acf9 moved load_palette() call in StartNewLevelSub() to show HOARD textures and bitmaps correctly in OGL 2007-05-10 08:53:35 +00:00
zicodxx 6c0a00ac07 fixed Assembler Compile Build error 2007-05-09 09:53:36 +00:00
zicodxx d758d1bda6 update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback 2007-05-09 09:44:45 +00:00
zicodxx 9c7b97dfe7 removed unnecessary gr_set_mode() call causing annoying resolution change (hopefully) 2007-05-05 23:25:32 +00:00
zicodxx e9017c4a02 fixed broken Textures for Custom levels caused by load_palette() call 2007-05-05 09:36:33 +00:00
zicodxx 146ada52d3 Version-Tag 0.52 2007-05-03 19:01:28 +00:00
zicodxx f496f380e2 updated docs 2007-05-03 15:44:52 +00:00
zicodxx 49eaa12468 removed deprecated Makefile stuff 2007-05-03 15:16:27 +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 392f0209ad resolved some overlapping HUD elements 2007-05-01 22:57:31 +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
kreatordxx 8067b11be7 add Mac OS X support to SConstruct 2007-04-25 02:39:10 +00:00
zicodxx 8541d2d403 prevent string placeholders in HUD Messages which may crash the game 2007-04-21 08:27:21 +00:00
zicodxx d568b27777 increased offset to detect movement on Joystick axis for mapping function 2007-04-20 07:25:23 +00:00
zicodxx 082950e742 made smart blobs easier to dodge 2007-04-19 22:17:46 +00:00
zicodxx 9a7a7932ef forbid % to read into multi messages to not mess up the string 2007-04-15 16:33:04 +00:00
zicodxx f1d191f665 removed -nocdrom argument, only use Redbook audio if specified with -redbook 2007-04-15 11:02:55 +00:00
zicodxx 5ba9f82e76 only draw copyright stuff if there is really the menu background (not being changed by draw_stars()) 2007-04-15 06:51:35 +00:00
zicodxx c8c866dddf removed use of VR_render_buffer (almost completly) 2007-04-14 20:57:48 +00:00
zicodxx a4077fd291 fixing D1 Secret Level routines (thanks to xatmes) 2007-04-14 20:44:09 +00:00
zicodxx 1eab13eb7b 2007-04-14 20:18:57 +00:00
zicodxx 6353ec121a making GuideBot Text color palette independent 2007-04-14 08:55:04 +00:00
zicodxx 898ad2913d introducing kconfig_sub_draw_table() making it possible to redraw configuration tables with OGL swapping and clearing; increased timer_delay for menus and briefings to save more CPU usage 2007-04-14 08:43:49 +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
kreatordxx e89311954f move determination of WORDS_BIG_ENDIAN to pstypes.h as SCons can't do it (as far as I know). SCons doesn't make conf.h 2007-04-09 01:16:31 +00:00
zicodxx 71c9c5d87a hide cursor after newmenu_get_filename() 2007-04-07 13:57:17 +00:00
zicodxx 75422883b3 some help correction 2007-04-06 19:54:31 +00:00
zicodxx 625187c4da BINARY_SUBDIR should be bin/, not games/ 2007-04-05 14:48:37 +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 dc5aabc757 close menu with boxed message; improved palette reloading; fixed selected item for restore game dialog 2007-04-04 17:18:17 +00:00
zicodxx a274051958 improved Autodemo-feature - less code, activate AFTER pilot is selected to make sure resolution and player-file operations do not mess up 2007-04-04 10:24:03 +00:00
zicodxx 1f64ffb15b set enhaced-flag a bit earlier so D1 missions do not get messed up after an enhanced mission had been played 2007-04-04 07:40:13 +00:00
zicodxx bfc966693a extend show_help() with some netgame commands 2007-04-03 22:22:03 +00:00
zicodxx 3d2063153f fixed typo in default broadcast 2007-04-03 22:16:19 +00:00
zicodxx 6145aaa2c9 clear HUD-Messages if a Demo starts so old messages do not appear; also set gr_palette_load() in nm_draw_background1 so palette resets if Demo-playback is cancelled 2007-04-03 22:12:54 +00:00
zicodxx 7433cfb44c fixing Alt-HUD Y-Offset for Multi-Games 2007-04-03 21:57:54 +00:00
zicodxx 9393e7ebe7 fixed seek errors and data types in newdemo_goto_end() 2007-04-03 20:53:45 +00:00
zicodxx 6f8fb1e1ed palette reloading sets at every newmenu_close() 2007-04-02 05:42:59 +00:00
kreatordxx 1504b538f3 merge and move automap border drawing code to draw_automap, so it could be used to draw the automap again just before showing a dialog box 2007-04-01 05:06:35 +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 708371c331 moved gr_palette_load() in nm_draw_background so it always does apply and resets step-ups properly 2007-03-31 21:40:38 +00:00
zicodxx 0afa45ab41 a switch to disable timer_delay in calc_frame_time - may be used if game runs a bit choppy 2007-03-31 21:06:15 +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
zicodxx d38a3d1362 improved HAM support with enhanced-flag detection and fixed Extra-Movie init in load_mission(); close Extra-Movies according to movielib_files 2007-03-31 20:21:32 +00:00
kreatordxx a50d211aa4 move variable declarations to the top for non-gcc compilers (like MrC for MPW) 2007-03-31 00:37:58 +00:00