zicodxx
|
2cb3bac259
|
Cleaned the variables used for newdemo code; Instead of giving both old and new values to special recording functions, added new variables to demo code serving this purpose and also checking for redundant record calls which only would waste bytes; Removed duplicated-object-id-hack which did not work as expected and caused jittering on playback; In that process, found a bug where Num_open_doors might nor be set correctly - cleaned that up a little and got also rid of one aweful goto; Made sure cloaked walls are recorded FPS-independent but rather fade-value-dependent
|
2010-07-15 05:40:25 +00:00 |
|
zicodxx
|
9933bb81ce
|
Added expandable classes for HUD messages (like D1X but slacked) to better handle Multi messages or redundant messages; Rewrote HUD code completely; Changes -playermessages to -multimessages since this is more appropriate; Removed remnants of -mprofile
|
2010-07-13 06:35:25 +00:00 |
|
zicodxx
|
e4a0c20f76
|
Introducing gr_bitblt_find_transparent_area to dynamically detect boundaries of sub cancas used for CM_REAR_VIEW; On the way also allowing to create weapon box sub bitmaps from uncompressed cockpit bitmaps
|
2010-06-18 07:31:06 +00:00 |
|
zicodxx
|
8a3aeb01e8
|
Fixing regression from rev1038 which broke showing laser level or quadness in cockpit and statusbar
|
2010-06-17 09:46:45 +00:00 |
|
kreatordxx
|
c4f86ebfc8
|
Call game_flush_inputs for all windows' EVENT_WINDOW_ACTIVATED, so clicking on a pilot doesn't bring up the multiplayer screen for example
|
2010-02-25 08:00:15 +00:00 |
|
zicodxx
|
19c82e97e3
|
The little light bulb showing homing warning in Cockpit was broken and I replaced it; Rewritten code to show weapon text in Cockpit and Statusbar slightly; Instead of using hardcoded weapon strings, use from descent.txb and fixed too long spreadfire string properly
|
2010-02-19 00:24:32 +00:00 |
|
zicodxx
|
51c28cc8a6
|
Made PlayerCfg.CockpitMode an array to hold two values: 0 to store the actual cockpit, 1 to also store Letterbox, Rear, etc. Greatly helps to switch and restore views - especially in Demo playback which now properly selects modes
|
2010-01-28 00:04:29 +00:00 |
|
zicodxx
|
8c2a404085
|
Rewrote code for showing Cloak-effect on Cockpit and Statusbar, because it became bugged with changed order of function calls do_cloaked_stuff() and render_gauges(); Fixed cockpit switches for Guided missile when Player is in Rear-View - the original code never considered that
|
2010-01-24 17:38:13 +00:00 |
|
zicodxx
|
37b4803493
|
Squishing string-related bugs in Bomb display and Weapon reordering
|
2009-12-01 14:50:09 +00:00 |
|
zicodxx
|
127af323e0
|
Reintroduced Newdemo_game_mode to prevent demo playback from entering code parts it should not and fixing a bug with Multiplayer demos along the way, introduced in rev. 953
|
2009-11-30 14:59:37 +00:00 |
|
zicodxx
|
dbf4d55839
|
Abstracting networking protocols - Step 4: Implemented new UDP layer with Client/Server communication, Packet Loss Prevention and strict Version checking. Netgames list will follow later.
|
2009-11-24 09:48:53 +00:00 |
|
zicodxx
|
0fc0fff7f1
|
Abstracting networking protocols - Step 1: Renaming network-related files; Removing net_ipx.h (former network.h) includes from as much files as possible to make isolation of IPX-related functions easier in Step 2; Version defines Cleanup - needed later for good Version-Checking
|
2009-03-04 21:04:43 +00:00 |
|
zicodxx
|
abf43c66f8
|
Small positional correction for homing-warning bitmap
|
2009-02-23 10:21:25 +00:00 |
|
zicodxx
|
80debdb4d5
|
Made our Cockpit-Transparency decoding function a bit safer for current and possibly new code flow
|
2009-02-23 10:15:23 +00:00 |
|
zicodxx
|
aee0198f2e
|
Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup
|
2008-11-14 16:56:40 +00:00 |
|
zicodxx
|
15d25cc54a
|
Always keep aspect scaling (lowest scalar of width and height) for fonts, lines, dots, spheres, reticle and non-Cockpit-/Statusbar-related HUD-elements; Moved the Cockpit alpha decoding to gauges.c and created a seperate bitmap for the alpha fields and create subbitmaps from this one - more memory but this way we do not modify the cockpit bitmap itself
|
2008-11-09 14:31:30 +00:00 |
|
zicodxx
|
92cec5ced3
|
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
|
26502298d9
|
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
|
24d1cf52f6
|
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
|
a172315d4a
|
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 |
|
kreatordxx
|
032018ccc4
|
add support for Mac pigfile (which doesn't include sounds yet)
|
2008-03-16 08:11:08 +00:00 |
|
zicodxx
|
2196bdae0d
|
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
|
02cb47e7c1
|
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
|
8eb5c965d2
|
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
|
9d1a374447
|
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
|
60e30cb40a
|
Small fixes; Code cleanup; Implemented PR-Screenshot feature
|
2007-10-18 14:44:02 +00:00 |
|
zicodxx
|
debc7d71b5
|
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 |
|
zicodxx
|
636b244f53
|
Small fixes for new netgame info screen; Doing PING routines D2X-way while trying to keep compability to other D1X versions
|
2007-09-26 18:30:48 +00:00 |
|
md2211
|
d393f32eed
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
5f78602f1b
|
Added complex netgame information screen (key PAUSE), Removed ping commands because ping handled in new screen
|
2007-09-08 11:11:41 +00:00 |
|
zicodxx
|
44551b2a60
|
HUD alignment improvements
|
2007-08-31 00:10:43 +00:00 |
|
zicodxx
|
1e74aac248
|
Added command-line option to disable reticle
|
2007-08-29 23:21:13 +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
|
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
|
31aa39fefa
|
resolved some overlapping HUD elements
|
2007-05-01 22:57:31 +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 |
|
kreatordxx
|
29110d4726
|
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
|
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
|
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
|
e0a95ebd6a
|
cleaned up hud_show_weapons_mode()
|
2007-03-04 14:22:53 +00:00 |
|
zicodxx
|
6657906849
|
created offset for LOCK message string if demo record or playback
|
2007-02-08 17:34:34 +00:00 |
|
zicodxx
|
60ba7257f9
|
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
|
c5984ec045
|
fixing small cockpit glitch in SDL mode
|
2006-11-22 04:55:41 +00:00 |
|
zicodxx
|
8a173d3454
|
command-line to set glScissor off if needed
|
2006-11-02 01:23:47 +00:00 |
|
zicodxx
|
5548fc7fc4
|
introducing draw_wbu_border to draw rounded weapon boxes with glScissor
|
2006-10-20 16:37:47 +00:00 |
|
zicodxx
|
e264b4029c
|
corrected position of shield/energy numbers if 200
|
2006-10-10 23:34:38 +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 |
|