Commit graph

362 commits

Author SHA1 Message Date
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
zicodxx c6d15d70e7 Addition/Fix for rev454: unbind Minus/Equal from Shrink/Grow window 2007-03-29 22:19:31 +00:00
zicodxx 02212354b1 palette-related fixes for Doublebuffered menus; fixes for SDL-build 2007-03-29 00:13:08 +00:00
zicodxx c6e19652a6 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 febaa9f672 allow Quick-Exit with SHIFT+ESC; blocking 'SUPER LASER MAXED OUT' redundancy in stdout 2007-03-25 21:14:02 +00:00
zicodxx 0656621186 do not close movies for now to prevent leaks (PhysFS should do that); fixed crash with malformed N_players if Netgame start is forced in DEBUG; improved briefing screen loading and delay; made wall warning-message not show up in NDEBUG (non-critical) 2007-03-25 09:18:22 +00:00
kreatordxx 1919c79022 remove add_alternate_hogfile because it couldn't close the main hog file (it's normally in use) 2007-03-25 02:51:04 +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 443d2d67b8 must not allow single-buffering for OGL 2007-03-22 14:25:27 +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 c0643d8b23 implemented expanded Joystick configuration panel (Thanks xatmes); corrected draw functions for kconfig_sub() and Scoreboard to show them correct in non 4/3 aspects; corrected Close-boxes for Mouse Menu control 2007-03-06 10:36:37 +00:00
zicodxx 558977d846 make Joystick Deadzone save in PLX file (Thanks xatmes) 2007-03-04 15:41:11 +00:00
zicodxx 28f3d619c2 removed WANT_AWE32 flag - too buggy; scaled space between Hud-messages; block Hudlog output messages beginning with you (your ... maxed out, you already have ...) 2007-03-04 15:01:17 +00:00
zicodxx d5edbc0b2f improved create_name_canv(); cleaned up hud_show_weapons_mode(); fixed palette loading in RegisterPlayer(); only show newline in network_get_game_params() if MenuHires 2007-03-04 14:23:19 +00:00
zicodxx ee6a516c94 improved Error-handling for starting a mission, making the game not crash if Level file is not found 2007-03-04 11:54:32 +00:00
zicodxx 8756f8f065 some menu fixes 2007-03-03 18:27:55 +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 89ec716e75 improved DepthTest, fixing Clipping bugs 2007-02-26 13:32:00 +00:00
zicodxx 0e78f2d4f0 reset GameTime properly if needed 2007-02-20 02:16:42 +00:00
zicodxx ddb6fd331c removed unreliable gr_fade_table check in c_tmap_scanline_per() 2007-02-19 23:44:21 +00:00
zicodxx effde7d236 Added ENTER as Game key 2007-02-19 23:28:43 +00:00
zicodxx 2adab0807e amd64 fix - last revision was wrong, using hack now to prevent Ai_last_missile_camera goes wild in do_ai_frame_all() 2007-02-19 23:15:55 +00:00
zicodxx aaaa7cb92f amd64 fix 2007-02-19 22:38:59 +00:00
zicodxx 97e1f497ed make 'Press any key ...'- and 'Demo recording' messages not overlap 2007-02-19 21:18:04 +00:00
zicodxx d773518061 block 'You already have'-messages in HudLog output 2007-02-19 15:21:53 +00:00