Commit graph

3739 commits

Author SHA1 Message Date
Randy Heit
afabf7e018 - Force node building for garrison.wad from The Master Levels so that the teleporter to the
red key won't leave you in the ground.

SVN r4071 (trunk)
2013-02-07 21:32:06 +00:00
Randy Heit
6e3d784c50 - Fixed: G_CheckSpot() should not use the player start's z position unless LEVEL_USEPLAYERSTARTZ is set.
SVN r4070 (trunk)
2013-02-07 21:09:55 +00:00
Randy Heit
c116453158 - When doing kickback in P_DamageMobj(), choose a random direction if the target and origin are in the exact same spot.
SVN r4069 (trunk)
2013-02-07 21:02:26 +00:00
Randy Heit
cdfd671dff - P_MovePsprites() should now always call P_CheckWeaponSwitch(), because the latter function
now has its own WF_WEAPONSWITCHOK check in the correct place.

SVN r4068 (trunk)
2013-02-07 20:42:24 +00:00
Randy Heit
2cf141e914 - In A_ReFire, allow refiring when a weapon is pending, but weapon switching is not okay at this time.
SVN r4067 (trunk)
2013-02-07 20:38:41 +00:00
Randy Heit
522a940ccf - In P_SetSafeFlash(), check the requested state against every actor when Dehacked moves the
flash to some other class's states instead of just assuming it's good.

SVN r4066 (trunk)
2013-02-07 20:29:48 +00:00
Randy Heit
8874cb140b - Don't use the global numsectors variable when testing if a map is a Build map in P_IsBuildMap()
and P_LoadBuildMap().

SVN r4065 (trunk)
2013-02-07 20:17:50 +00:00
Randy Heit
995d6f52e7 - Allow terrain definitions to work with overrides and non-flats.
SVN r4064 (trunk)
2013-02-05 02:39:47 +00:00
Randy Heit
2f3dd8d959 - Moved MF4_BOSSSPAWNED flag copying from A_PainShootSkull to AActor::CopyFriendliness().
SVN r4063 (trunk)
2013-02-05 02:33:11 +00:00
Randy Heit
87b8b6201c - Added WRF_DISABLESWITCH flag for A_WeaponReady to indicate that any attempts to switch the weapon
should be discarded.

SVN r4062 (trunk)
2013-02-05 02:27:35 +00:00
Randy Heit
f0bc2fdc53 - Fixed CF_DOUBLEFIRINGSPEED is in player->cheats, not player->WeaponState.
SVN r4061 (trunk)
2013-02-05 01:45:23 +00:00
Randy Heit
f68d5a4845 - More options for acsprofile command:
* acsprofile clear - Resets all profiling statistics to 0.
  * acsprofile [<sort-function>] [<limit>]:
    * <sort-function> is an optional argument that specifies which column to sort on (total, min, max, avg, or runs). The default is total.
    * <limit> is an optional argument that specifies how many rows to limit the output to. The default is 10. 0 or less will print every script or function that has at least one run.

SVN r4060 (trunk)
2013-02-03 04:30:20 +00:00
Randy Heit
b971714e7f - Do not print imported functions in the profile list.
SVN r4059 (trunk)
2013-02-03 03:54:31 +00:00
Randy Heit
b2f09b2dc6 - Added ACS profiling information.
SVN r4058 (trunk)
2013-02-02 05:54:15 +00:00
Braden Obrzut
5965c45932 - Fixed: Using interpolation on drawbar would sometimes result in the last pixel hanging longer than it should.
- Improved draw bar clipping fix from last commit.

SVN r4057 (trunk)
2013-02-01 02:16:02 +00:00
Braden Obrzut
b958215b50 - Fixed: DrawBar's clipping didn't take the texture offset into account.
SVN r4056 (trunk)
2013-01-30 00:56:24 +00:00
Randy Heit
61322cc33b - Fixed: A_Lower needs to check player->cheats for WF_INSTANTWEAPSWITCH, not player->WeaponState.
SVN r4055 (trunk)
2013-01-27 04:08:00 +00:00
Randy Heit
a2f55c8067 - Well, poo. WRF_NoFire is two bits, not just one.
SVN r4054 (trunk)
2013-01-27 03:02:00 +00:00
Randy Heit
15497b4a24 - Fixed: Floor_RaiseAndCrush is not Floor_RaiseToLowestCeilingAndCrush.
SVN r4053 (trunk)
2013-01-27 02:57:17 +00:00
Randy Heit
c4a4b9821d - Fixed: The menu treated netdemos as actual netgames.
SVN r4052 (trunk)
2013-01-26 03:41:06 +00:00
Randy Heit
5b97bf47de - Fixed: The string displayed when attempting to start a new game during a netgame is "NEWGAME", not "NETGAME".
SVN r4051 (trunk)
2013-01-26 03:39:43 +00:00
Randy Heit
e0a137b725 - Removed the netdemo flag, because it's redundant with (netgame && demoplayback).
SVN r4050 (trunk)
2013-01-26 03:28:54 +00:00
Randy Heit
83320626e5 - Use "Map time color" for single maps, whether in a hub or not. Only use "Hub time color" for hub times.
SVN r4049 (trunk)
2013-01-26 03:21:09 +00:00
Randy Heit
931357358d - Reorder the althud level time map entries to match their displayed order.
SVN r4048 (trunk)
2013-01-26 03:19:27 +00:00
Randy Heit
9cca4ff71d - Fixed: Lost Souls spawned by Pain Elementals were not killed by DF2_KILLBOSSMONST.
SVN r4047 (trunk)
2013-01-26 02:54:09 +00:00
Christoph Oelckers
6a1f28e400 - fixed some issues in the alternate HUD menu.
SVN r4046 (trunk)
2013-01-25 14:50:09 +00:00
Randy Heit
ed8a33aeaf - Use P_DropWeapon() everywhere it makes sense.
SVN r4045 (trunk)
2013-01-25 03:32:49 +00:00
Randy Heit
5dca935305 - If this was a git repository, I wouldn't have needed to just make three broken commits in a row.
SVN r4044 (trunk)
2013-01-25 03:32:20 +00:00
Randy Heit
1c999d9d55 - Be more concise for WRF_NoFire in A_WeaponReady.
SVN r4043 (trunk)
2013-01-25 03:25:32 +00:00
Randy Heit
9d43ba39fc - Using the proper container for weapon state flags would be good.
SVN r4042 (trunk)
2013-01-25 03:18:45 +00:00
Randy Heit
281ac3a49a - Separate the player weapon state flags from the other player "cheat" flags.
SVN r4041 (trunk)
2013-01-25 03:09:17 +00:00
Randy Heit
47cb2ad6bc - In P_PoisonPlayer(), keep track of the source as the poisoner, so you can get accurate kill
accounting. Also, if the poisoner is a missile, remembering it is pretty pointless, since it's
  likely to be gone before the player ever dies from the poison.

SVN r4040 (trunk)
2013-01-25 02:35:11 +00:00
Randy Heit
ea81d3638d - Revert WRF_NOSWITCH changes from r4024.
SVN r4039 (trunk)
2013-01-25 02:05:48 +00:00
Randy Heit
9b5232a410 - Fixed: The health bonuses atop the pillars in the starting room of Void could not be picked
up because they no longer physically clip through the floor.

SVN r4038 (trunk)
2013-01-23 04:48:33 +00:00
Randy Heit
10e185a6e3 - Retain the Scroll_Texture_(Left|Right|Up|Down) specials on lines for the sake of
compat_useblocking. This is not going to be extended to all specials that spawn a thinker at
  load time, because some of them can be placed on a line later using SetLineSpecial and used
  directly.

SVN r4037 (trunk)
2013-01-23 04:11:19 +00:00
Randy Heit
11862ac06b - Sync A_LookEx with A_Look, with regards to COMPATF_SOUNDTARGET.
SVN r4036 (trunk)
2013-01-23 04:04:21 +00:00
Randy Heit
7291a56335 - Shorten text of the longest lines in the gameplay options menu.
SVN r4035 (trunk)
2013-01-23 03:54:14 +00:00
Randy Heit
8b6b55ce40 - P_DaggerAlert() now puts the emitter into its Pain.Dagger state if it has one, but will still
use the regular Pain state if not.

SVN r4034 (trunk)
2013-01-23 03:46:12 +00:00
Randy Heit
5f4bcaac3d - Added A_UnSetInvulnerable() to the FireDemon (aka Afrit)'s Pain state, in case it gets pained
before entering its Chase state.

SVN r4033 (trunk)
2013-01-23 03:38:13 +00:00
Braden Obrzut
7f81d881f8 - Fixed: DBaseStatusBar::Draw shouldn't run for the AltHud.
SVN r4032 (trunk)
2013-01-23 01:47:06 +00:00
Braden Obrzut
dcb1a3c8bd - GCC warning cleanup
SVN r4031 (trunk)
2013-01-21 22:30:30 +00:00
Braden Obrzut
e86f27a7a6 - Fixed: Popups weren't shown on the alt hud.
SVN r4030 (trunk)
2013-01-21 21:02:14 +00:00
Braden Obrzut
76b5757dab - Fixed: 0 duration A_Lower loops could cause an infinite loop since A_Lower checked if the player was dead in two different ways and returned before the second one.
SVN r4029 (trunk)
2013-01-18 18:19:05 +00:00
Braden Obrzut
3e1aa40461 - Fixed: If AInventory::SpecialDropAction returns true the item should be destroyed.
- Fixed: Building with SSE disabled triggered an error.

SVN r4028 (trunk)
2013-01-17 19:42:52 +00:00
Braden Obrzut
de65ae809f - Fixed: BobStyle was assigned as if they were flags.
SVN r4027 (trunk)
2013-01-17 19:25:22 +00:00
Braden Obrzut
c7a008f99d - Updated USDF spec to version 2.1
SVN r4026 (trunk)
2013-01-17 16:28:02 +00:00
Randy Heit
6a3b07c441 - Removed the BuildString() override that took a char** argv, because it was used nowhere.
- Fixed: BuildString() failed to properly generate command lines for arguments with embedded "
  characters.

SVN r4025 (trunk)
2013-01-11 03:21:46 +00:00
Randy Heit
3111b6e7b0 - Do not clear the CF_WEAPONSWITCHOK flag each tic, so that the last setting from A_WeaponReady
will carry over until the next A_WeaponReady. Changed P_CheckWeaponSwitch() to clear any
  pending weapon requests while weapon switching is disabled.

SVN r4024 (trunk)
2013-01-11 02:53:11 +00:00
Randy Heit
5cbdc3382d - Slow down the scripted marines' rocket attack and speed up the plasma attack to better reflect
the speeds of the equivalent player weapons.

SVN r4023 (trunk)
2013-01-06 04:32:27 +00:00
Randy Heit
7f74d28638 - Do not use the muzzle flash player sprites for the scripted marines' melee attacks.
SVN r4022 (trunk)
2013-01-06 04:20:37 +00:00