Commit graph

4259 commits

Author SHA1 Message Date
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 d55054d82e Always play a sound when a player escapes the mine 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 6e88008677 Use unaligned-safe copy of powerup position 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 91928c2afc Rename 'new' to 'n' for C++ compatibility 2013-08-11 20:43:08 +00:00
Kp afd2f5aea1 Remove unused GET/PUT_INTEL_INT64 2013-08-11 20:40:24 +00:00
Kp 85dc42189b Add extent to RankStrings to match D2X 2013-08-11 15:11:45 +00:00
Kp 7042815795 Remove OLDPOWCAP code 2013-08-10 23:01:28 +00:00
Kp 4e6142d779 Move similar/arch/ogl/gr.c -> similar/arch/ogl/gr.cpp 2013-08-10 03:56:14 +00:00
Kp e750c90b00 Mark more math as const correct 2013-08-10 03:55:50 +00:00
Kp bca0dacc98 Merge branch d2x-rebirth/master into unification/master
Conflicts:
	SConstruct
2013-08-09 22:53:45 +00:00
Kp 33aa8937d9 Merge branch d1x-rebirth/master into unification/master
Conflicts:
	SConstruct
	common/main/multi.h
	similar/main/gamerend.c
2013-08-09 22:49:04 +00:00
Kp f062506f91 Remove duplicate % in demo playback
Ryusei117 reports that changes to the HUD renderer caused the demo
progress indicator to show two % instead of one.
2013-08-09 21:16:17 +00:00
zico 27a4a62b19 To compensate the change between D2's to D1's tracking code base, increased HOMING_MAX_TRACKABLE_DOT, making homing projectiles track a bit more agressivly than D1 to pose more of a challenge while not making them useless when having Afterburner 2013-08-09 17:50:11 +02:00
zico 01f155382e Removed chaff ability from D1X-Rebirth's proxys as they were never intended to do that 2013-08-09 17:29:10 +02: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 9ba729ca3a Print function and line when calling Error 2013-08-09 02:10:51 +00:00
Kp 2cd7748e93 Convert vsprintf to vsnprintf 2013-08-09 01:58:17 +00:00
Kp a01dbc59d6 Make ui_messagebox_n static 2013-08-09 01:56:34 +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 5ec78f320b Always use 64-bit math in vm_vec_dot3 2013-08-08 03:01:48 +00:00
Kp 4c87504b91 Always use 64-bit math in vm_vec_dotprod 2013-08-08 03:01:48 +00:00
Kp 6b48994596 Avoid unnecessary lookups in fix_sincos 2013-08-08 03:01:47 +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
Kp dac15b2eaa Add -Werror=format-security to build 2013-08-08 03:01:47 +00:00
Kp 400b18b78a Mark gauges variables const 2013-08-08 03:01:47 +00:00
Kp 9cb88f4db6 Store weapon_name as const char* 2013-08-08 03:01:47 +00:00
Kp e23a06fb4f Drop worthless font zeroing
BSS is initialized to zero.  Explicitly zeroing it again wastes time and
space.
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 b64d29c602 Remove duplicate % in demo playback
Ryusei117 reports that changes to the HUD renderer caused the demo
progress indicator to show two % instead of one.
2013-08-07 22:01:01 +00:00
Kp 528d2e3ee7 Mark must_clip_tmap_face static 2013-08-07 03:04:11 +00:00
Kp 2c8aa517bc Mark must_clip_flat_face static 2013-08-07 03:03:55 +00:00
Kp c02a249263 Make gr_bitmap_scale_to static 2013-08-07 02:42:25 +00:00
Kp f31f74c2e6 Add realloc cast to gr_set_mode 2013-08-07 02:39:43 +00:00
Kp b81100d54d Make OGL_VIEWPORT static inline 2013-08-07 02:39:43 +00:00
Kp 1b7c9734ad Pass unsigned dimensions to write_bmp 2013-08-07 02:39:43 +00:00