Commit graph

47 commits

Author SHA1 Message Date
zicodxx 820961c99a Removed hack for Cockpit-window transparencies and added function to decode and add alpha to the bitmap directly (now works in non-OGL as well); Using sub-bitmaps for Cockpit-windows and menu backgrounds; Cleaned old bkg stuff from menu GUI 2008-10-28 13:28:10 +00:00
zicodxx f108f30ffd Added new function to calculate common timesteps; Increased MAXIMUM_FPS to 200 for release and 1000 for debug; Used fixed sim_time for do_physics_sim and Interpolating to ensure collisions stay accurate at high FPS; New code and faster code for dot products by The_Lion; Disabled Nice-FPS and common Frame-Loop if VSync is active; More accurate delta timer for mouse (consider overhead); Added SDL_(Un)LockAudio for old SDL Audio interface; General support for up to 16 mouse buttons; Code cleanup; Made some AI movement and Player shaking FPS-independent 2008-09-30 00:07:07 +00:00
zicodxx c61b18b576 Generally increasing Menu rendering from 20 to 50 FPS; Allowed Fullscreen toggle in Pause menu and correctly releasing mouse; Fixed broken Death sequence timer; Fixed incorrect data offset for UDP player relay; Fixed crash in Multiplayer summary; Reworked player loading a little bit, making sure kconfig controls are all set; Some small Status bar correction; Implemented real Pause/Reume for Jukebox via SDL_mixer 2008-06-04 19:30:43 +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 10f39559bf Fixed wrong font width spacing, -gl_prshot, mission loading, null-terminatinon in several menus, cockpit glitch; Improved gl_reticle, -noredundancy; Some code cleanup 2008-02-27 22:05:58 +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 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 9577e61339 Small fixes; Code cleanup; Implemented PR-Screenshot feature 2007-10-18 14:44:02 +00:00
zicodxx b371d65a19 Moved show_bomb_count() to work with new transparency cockpit layer; Fixed nm_draw_background() for scores and show_game_rules() 2007-10-09 10:15:58 +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 4c5a908268 HUD alignment improvements 2007-08-31 00:10:43 +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 29ef28bef3 Cleaned up more FindArg's - (most important) OpenGL Options 2007-07-15 21:22:07 +00:00
zicodxx a2a6959d39 Cleaned up more FindArg's - Graphics Options 2007-07-15 15:23:45 +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 392f0209ad resolved some overlapping HUD elements 2007-05-01 22:57:31 +00:00
zicodxx c8c866dddf removed use of VR_render_buffer (almost completly) 2007-04-14 20:57:48 +00:00
zicodxx 7433cfb44c fixing Alt-HUD Y-Offset for Multi-Games 2007-04-03 21:57:54 +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
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
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 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 a8d491f130 created offset for LOCK message string if demo record or playback 2007-02-08 17:34:34 +00:00
zicodxx b9e25ca7e5 position alignment for alt-hud2 to prevent overlay with extra views 2007-02-08 17:09:42 +00:00
zicodxx 4edc974310 corrected Y alignment of hud_show_homing_warning 2007-02-02 10:17:34 +00:00
zicodxx 87c42e791f don't display lives and score if hud message is longer than 40 chars. preventing overlay of message and lives/score 2007-01-25 13:49:17 +00:00
zicodxx 6195a1bb18 draw bomb count correctly in CM_FULL_SCREEN ... finally 2007-01-18 14:43:42 +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 8cc35e82c7 command-line to set glScissor off if needed 2006-11-02 01:24:10 +00:00
zicodxx 44bdbbb6e9 introducing draw_wbu_border to draw rounded weapon boxes with glScissor 2006-10-20 16:38:04 +00:00
zicodxx a3c30f28d1 don't show alt hud while guilded missile view; removed unnbecessary delay in show_char_delay to make robo movies smoother 2006-10-13 10:00:15 +00:00
zicodxx f218c61513 fixes for alt huds 2006-10-12 23:08:33 +00:00
zicodxx 844c1cf845 corrected position of shield/energy numbers if 200 2006-10-10 23:35:14 +00:00
zicodxx fb5445e09a print joystick dialog to stdout; print time with hud messages; fixing some graphical glitches; repaired brightness slider (oops); code cleanup 2006-10-08 23:19:46 +00:00
zicodxx 09ae63542c corrected demo-related font positions; fixed window view glitch in demo playback; merged ogl_ubitmapm_cs and ogl_ubitmapm_cf 2006-10-08 15:57:11 +00:00
zicodxx 349de39d89 don't show bombcount in CM_STATUS_BAR if weapon box shows a cam-view 2006-10-07 14:21:12 +00:00
zicodxx a9fc885ce4 only free the gauge canvases when they exist 2006-10-02 13:10:20 +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 1efc38b725 not apply weapon box fadings if Gauge_hud_mode; no call for hud_show_weapons_mode1 and hud_show_weapons_mode2 in secondardy if Missile_view 2006-03-27 18:49:09 +00:00
zicodxx b94413b91b initial import 2006-03-20 17:12:09 +00:00