zicodxx
|
e6841439b0
|
allow PAUSE key during death sequence to pause or view multiplayer game stats; Also reset hostages_on_board when ship blows up so pause menu during death sequence will show 0 hostages soon as the ship explodes; fixed crash for slew_init by removing old numlock hack
|
2012-05-16 14:39:31 +02:00 |
|
zicodxx
|
d472f592a0
|
Do not send endlevel packets to disconnected (but still saved) clients
|
2012-05-15 23:39:24 +02:00 |
|
zicodxx
|
2bed74b056
|
During kmatrix bring up Game_wind againso the host can still follow the game - becomes necessary later with host-authority functions
|
2012-05-14 19:20:18 +02:00 |
|
zicodxx
|
d3fb313fd9
|
Renamed FixedStepCalc() to cald_d_tick() and FixedStep became d_tick_step; Also ther eonly is a 50ms-timer used to d_tick_step as it was the only one used so far; Replaced FrameCount with d_tick_count which only increments by 50ms-timer used in calc_d_tick() - that now scales timed actions for certain functions properly and makes AI work FPS-independent without any hacks in that regard
|
2012-05-14 19:06:28 +02:00 |
|
Chris Taylor
|
8b8e5d2635
|
Call new obj_relink_all after playing a demo, so the editor is (hopefully) never faced with poorly linked objects and hence crashes
|
2012-04-17 17:15:09 +08:00 |
|
zicodxx
|
2802ea7f08
|
Consistency check for segment number in find_vector_intersection() and obj_create(); Added more debug output for invalid segment numberin get_seg_masks()
|
2011-09-24 11:15:31 +02:00 |
|
zicodxx
|
7ae49da7cf
|
Execute set_dynamic_light 60 times per second max since more would just be a waste of CPU time; When executing set_dynamic_light, process ALL lights; Instead of storing light color in objects, do it on-thy-fly but store bitmap-based color in grs_bitmap - vastly speeds up colored dynamic lights; Improved saturation for vertex lighting to make light color a bit more subtile
|
2011-04-12 03:02:51 +02:00 |
|
zicodxx
|
c56a87b2de
|
Reworked Omega cannon: Instead of firing every frame, fire in 33.33ms intervals instead which will improve performance, decrease network traffic and make damage in Multiplayer not a totally random factor; To compensate inaccuracy due high velocity of leading omega blob, check for it's distance from parent and delete if distance > MAX
|
2011-04-10 01:48:15 +02:00 |
|
zicodxx
|
eb7e001c2f
|
Made lighting code work with actual RGB values and added feature to let certain objects emit colored dynamic light as well as let mine flash red when control center destroyed (OpenGL-only at the moment)
|
2011-04-07 22:32:51 +02:00 |
|
zicodxx
|
050197c3fb
|
removed debugging output accidentially left in ...
|
2011-03-29 00:39:31 +02:00 |
|
zicodxx
|
5986b38a80
|
Dead_controlcen_object_num should be set when a new level starts in debug build, too; Setting Total_countdown_time when loading a savestate so SEF-DESTRUCT SEQUENCE ACTIVATED sample will not play soon as timer reaches 0
|
2011-03-29 00:35:41 +02:00 |
|
zicodxx
|
c960d5505a
|
Added cv_fade_level to canvas structure to replace Gr_scanline_darkening_level; Added cv_blend_func to canvas structure to set blending; Introduced gr_settransblend to set cv_fade_level and cv_blend_func; Added function to set normal blending, additive alpha blending and additive color blending; Moved Special transparency effects from g3_draw_bitmap to render_object to set individual transparency and/or blending for each object outside of OpenGL-specific code; Added special blending for fuelcenter and force field effects as well; Removed unused LASER_HACK code; Renamed OglAlphaEffects variable of PalyerCfg to AlphaEffects as I plan to implement this kind of effects for Software renderer, too
|
2011-02-23 17:46:39 +01:00 |
|
zicodxx
|
d020a3136e
|
Draw laser effects with special blending instead of disabled DepthMask; Added special blending for transparency effects as well to let them kick more ass; Corrections while rendering outside part of endlevel sequence with disabled depth testing and dynamically changing Render_depth to make the mine exit visible again while not rendering the exit tunnel tru the planet terrain
|
2011-02-18 00:17:51 +01:00 |
|
zicodxx
|
eeecf4016e
|
Fixing code used for capping powerups in multiplayer - it was not correctly conting 4pack powerups; Cleaned up this code a bit and added more consistent naming convention for functions to maybe make it more understandable; Removed MULTI_PROTO_D2X_VER define as it's not needed
|
2011-01-14 14:29:08 +01:00 |
|
zicodxx
|
449a5dffb1
|
Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
|
2011-01-06 12:43:58 +01:00 |
|
zicodxx
|
ce0930184d
|
added hitobj_list to struct laser_info to get a bit cleaner code
|
2010-12-22 10:41:25 +01:00 |
|
zicodxx
|
fe84fa3a9a
|
Made GameTime to GameTime64 using fix64; Changed all structures saving GameTime64 for internal timer purposes to store fix64 and added converting functions to save such times in fix; For Savegames/Demos always reset GameTime64 to 0 while saving and putting all timer values to safe limits, Multiplayer objects are sent in similar fashion
|
2010-12-22 01:17:59 +01:00 |
|
zicodxx
|
8c19958db8
|
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
|
0ce37b89bb
|
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
|
6ecba78025
|
Introduced hitobj_list for persistent weapon objects to keep track of multiple objects the weapon is in contect with to prevent it from doing FPS-based damage; Made persistent weapon objects not die on debris but just decrease their shields like when an ordinary player/robot is hit - makes more sense
|
2010-02-08 13:24:42 +00:00 |
|
zicodxx
|
61e67d9fe9
|
Improved Object signature assignment and made sure there will be no duplicates; Also used short-ranged values only so Demo system won't screw up
|
2010-01-28 15:26:27 +00:00 |
|
zicodxx
|
3d9791ca69
|
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
|
febe5d124d
|
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 |
|
kreatordxx
|
4a00fdf805
|
Read big endian savegames on little endian computers and vice versa
|
2009-10-05 02:51:37 +00:00 |
|
kreatordxx
|
bf512bb9ec
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
zicodxx
|
8da36f8873
|
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
|
03db82be7d
|
Made Max_used_objects an absolute defined value; Made num_objects globally available; Restricted Weapon drops to MAX_USED_OBJECTS; When dropping Secondary weapon, drop 4-pack if possible
|
2009-02-17 11:34:16 +00:00 |
|
zicodxx
|
996748bdba
|
Small transparency fix for robot weapons; Some timer-Failsafe in robot/boss dying frames; Fixed logical flaw in create_small_fireball_on_object() closing out sound effects on robots
|
2008-11-20 18:02:42 +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
|
44682b4d8a
|
Fixing collision bugs; Cleaning hudmsg.h; Solving death sequence timer without GameTime and removed another global
|
2008-04-13 13:14:19 +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
|
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
|
62f6f40ab3
|
Code cleanup - old/unused/obsolete multiplayer code and more
|
2007-12-29 14:18:49 +00:00 |
|
zicodxx
|
cab3ce124f
|
Fixed cockpit_mode_save usage for Death sequence
|
2007-10-29 13:16:29 +00:00 |
|
zicodxx
|
13631bd2c6
|
Improvements for Cockpit mode save; Fixed -pilot switch
|
2007-10-08 10:40:21 +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
|
928a542b88
|
Removed old Tactile-code since ForceFeedback is currently out of question
|
2007-07-22 02:01:02 +00:00 |
|
zicodxx
|
ee7448eeac
|
using size_t when it comes to integer to pointer conversions
|
2007-06-14 12:32:18 +00:00 |
|
zicodxx
|
e22e079b56
|
fixed a bunch of compiler warnings
|
2007-06-11 09:06:14 +00:00 |
|
zicodxx
|
89ec716e75
|
improved DepthTest, fixing Clipping bugs
|
2007-02-26 13:32:00 +00:00 |
|
zicodxx
|
83e332acf6
|
improved debris random stuff, added -persistentdebris feature
|
2007-02-10 23:19:21 +00:00 |
|
zicodxx
|
f6ffb1d784
|
If bright ships are enabled cast F1_0*2 light instead of F1_0 which is too dark
|
2007-01-31 12:21:38 +00:00 |
|
zicodxx
|
f9788e5b5f
|
added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency
|
2007-01-29 23:31:20 +00:00 |
|
zicodxx
|
1724fff7ce
|
removing the dead statement (leftover from WraithX Deathcam) from object_move_one() so the function will return correctly if player dies instead running further and creating invalid code and crashes
|
2007-01-13 13:18:42 +00:00 |
|
zicodxx
|
117af93ffc
|
fix crash when a robot's guided missile explodes (d2x-cvs takeover)
|
2006-10-02 13:16:09 +00:00 |
|
zicodxx
|
ce7a413236
|
orig. D2X-CVS takeover 20060305: allow the editor to be built with NDEBUG
|
2006-04-03 04:10:55 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|