Commit graph

173 commits

Author SHA1 Message Date
Kp ad6a7820cf Make PowerupAdjustMapping static const 2013-08-11 22:42:51 +00:00
Kp 82dc40c891 Remove unused prototypes 2013-08-11 20:46:53 +00:00
Kp 69b3618961 Make vm_angvec_zero a static inline function 2013-08-11 20:46:53 +00:00
Kp 6b4ca09376 Split out anarchy object deletion predicate to simplify merge 2013-08-11 20:46:52 +00:00
Kp 743dd2f964 Rearrange code to simplify merge with D1X 2013-08-11 20:46:52 +00:00
Kp 836aa10f8c Use macro PUT_WEAPON_FLAGS to hide differences in D1X vs D2X
D2X uses a bigger field due to added weapons, but the idea is the same
in both games.
2013-08-11 20:46:52 +00:00
Kp 431282fd7b Remove redundant Game_mode guard on multi_strip_robots 2013-08-11 20:46:52 +00:00
Kp 8d13642c9f Hide GM_CAPTURE tests behind static inline 2013-08-11 20:46:52 +00:00
Kp 0c3adc48df Hide GM_HOARD tests behind static inline 2013-08-11 20:46:52 +00:00
Kp 202755e8e3 Use macro GET_WEAPON_FLAGS to hide differences in D1X vs D2X
D2X uses a bigger field due to added weapons, but the idea is the same
in both games.
2013-08-11 20:46:52 +00:00
Kp 5ef0358a4b Remove unnecessary int casts in multi buffer parsing 2013-08-11 20:46:52 +00:00
Kp 3226a57848 Remove unused MULTI_ACTIVE_DOOR 2013-08-11 20:43:08 +00:00
Kp de6422d58f Remove unused multi_send_audio_taunt 2013-08-11 20:43:08 +00:00
Kp 760667eb60 Remove unused multi_set_robot_ai 2013-08-11 20:43:08 +00:00
Kp 7042815795 Remove OLDPOWCAP code 2013-08-10 23:01:28 +00:00
Kp bca0dacc98 Merge branch d2x-rebirth/master into unification/master
Conflicts:
	SConstruct
2013-08-09 22:53:45 +00:00
zico 830bcd7845 merge with ccea6b3547 2013-08-09 17:25:42 +02:00
zico a527348681 Added MULTI_FIRE_BOMB as alteration of MULTI_FIRE to keep bombs mapped in a Multiplayer match for later Host authority and to make their chaff ability work correctly. Additionally added MULTI_FIRE_TRACK to only send Network_laser_track if > -1. On the way I made laser.c a bit more similar between D1X and D2X 2013-08-09 17:21:03 +02:00
Kp 2cc0068fa9 Move */main/fvi.c -> similar/main/fvi.c 2013-08-09 03:13:33 +00:00
Kp 275883ab4f Remove unnecessary Error calls in FVI code 2013-08-09 03:04:18 +00:00
Kp 319b3ec5fd Mark more math as const correct 2013-08-09 03:04:18 +00:00
Kp ccea6b3547 Remove unused multi functions 2013-08-09 02:10:51 +00:00
Kp 2cd7748e93 Convert vsprintf to vsnprintf 2013-08-09 01:58:17 +00:00
zico 40c5f10e20 Added definition of DESIGNATED_GAME_FPS as 30 and DESIGNATED_GAME_FRAMETIME based on the former. We use those for d_tick_count intervals and to scale other parts that have never been properly aligned to FrameTime before. In that regard, Release builds will take DESIGNATED_GAME_FPS as MINIMUM_FPS for -maxfps argument 2013-08-08 22:07:29 +02:00
Kp a881ee455e Remove fix.h 2013-08-08 03:01:48 +00:00
Kp f11d7f6423 Simplify setup of thief/buddy messages 2013-08-08 03:01:47 +00:00
Kp b624684ba5 Switch gr_printf(x,y,"%s",s) to gr_string(x,y,s) 2013-08-08 03:01:47 +00:00
zico bbaa3c21f3 HAMERS! Wait 33ms between each turn of a homing missile projectile, only scale turns if FPS are below 30 2013-08-08 00:29:56 +02:00
Kp 9c982bbbc5 Remove unused function door_is_wall_switched 2013-08-07 02:33:20 +00:00
Kp b35fceee21 Remove unused function net_udp_get_player_name 2013-08-07 02:33:20 +00:00
Kp 8c5bd1e301 Remove unused function flag_wall_switched_doors 2013-08-07 02:33:20 +00:00
Kp 1867248670 Remove unused function copy_pigfile_from_cd 2013-08-07 02:33:20 +00:00
Kp 95da90797f Remove unused function newdemo_record_cockpit_change 2013-08-07 02:33:19 +00:00
Kp 26c001b804 Remove unused function GetKeyValue 2013-08-07 02:33:19 +00:00
Kp f1a4253595 Remove unused function load_all_levels 2013-08-07 02:33:19 +00:00
Kp aac818fc3d Remove unused function save_all_compiled_levels 2013-08-07 02:33:19 +00:00
Kp 8ddd0d97c7 Remove unused function say_unused_walls 2013-08-07 02:33:19 +00:00
Kp 1d5a80cf3a Remove unused function say_used_once_tmaps 2013-08-07 02:33:19 +00:00
Kp 5d80dfb562 Remove unused function tmap_info_read_n_d1 2013-08-07 02:33:19 +00:00
Kp ef99951af6 Remove unused function move_object_to_legal_spot 2013-08-07 02:33:19 +00:00
Kp 40c0677cbf Remove unused function set_rotvel_and_saturate 2013-08-07 02:33:19 +00:00
Kp f26ede54ec Remove unused function move_object_to_goal 2013-08-07 02:33:19 +00:00
Kp 5dfd9535ec Remove unused function turn_off_ai_dump 2013-08-07 02:33:19 +00:00
Kp 04949b1f75 Move */main/object.c -> similar/main/object.c 2013-08-07 02:33:18 +00:00
Kp 2c362aae80 Move */main/polyobj.c -> similar/main/polyobj.c 2013-08-07 02:33:18 +00:00
Kp a63d9fd1a7 Remove write-only array gun_used 2013-08-07 02:33:18 +00:00
Kp e8abb8b3f0 Remove write-only variable anim_flag 2013-08-07 02:33:18 +00:00
zico 2b632008b2 Cleaned code for homing projectiles a bit and reverted to state of Descent 1 source release; Added ticks to rule target aquisition and adjusted turn rate scaling accordingly 2013-08-06 21:04:44 +02:00
Kp 07d6e2c994 Fix format mismatch on Win32 newdemo
Win32 makes sizeof(object) an unsigned int instead of unsigned long.
2013-08-03 20:32:48 +00:00
Kp ff90315978 Use SConscript configure support to probe for format(printf) attribute 2013-07-27 22:17:13 +00:00