Christoph Oelckers
b613db4ae5
Revert "Merge pull request #359 from Leonard2/master"
...
This reverts commit 364ca11b43
, reversing
changes made to dae0e217d1
.
Conflicts:
src/r_data/r_interpolate.cpp
2015-09-18 17:41:16 +02:00
Leonard
86e9504d04
Added weapon interpolation.
2015-08-19 15:59:54 +02:00
Randy Heit
3463b87876
Fixed: MUSINFO was not multiplayer-aware
...
- Move MUSINFO change request out of FLevelLocals and into player_t. This
allows the MusicChanger actors to change music for each player
independantly. This is similar to PrBoom+, which switches depending on
the displayplayer. The difference being, we don't actually track the
music other players are listening to. (Which might not be a bad idea to
implement at some point.)
- Moved a few fields in player_t for better packing.
2015-03-26 23:19:05 -05:00
MajorCooke
b980069367
- Added GOD2 and BUDDHA2 cheats.
...
- Ensures that not even telefrag damage can kill the player.
- Fixed: Players with NODAMAGE could still hurt and kill themselves via
voodoo dolls.
2014-10-25 09:38:40 +02:00
ChillyDoom
db323643f8
- Renamed FBot to DBot and made it inherit from DThinker.
...
- Fixed: Bots added by players other than the net arbitrator did not have their skill set.
2014-10-14 19:57:11 +01:00
ChillyDoom
83d84eaae9
- Moved bot related variables from player_t into a new FBot class.
2014-10-13 18:40:25 +01:00
Christoph Oelckers
952d03da7c
Merge branch 'multi' of https://github.com/Edward850/zdoom
2014-10-13 10:37:51 +02:00
ChillyDoom
5de6b535ae
- Removed unnecessary 'id' variable from AActor.
...
- Removed unused 'backpack' variable from player_t.
- Removed duplicate code from b_move.cpp.
- General cleanup.
2014-10-13 08:45:36 +01:00
Edward Richardson
ae71f94ed2
Remove disconnecting players safely
...
Players who were disconnecting would be removed outside of the playsims
control, causing problems with sector lists.
2014-10-05 18:04:11 +13:00
Edward Richardson
79abe2d4e9
Made onground a player property
...
"onground" was a global, despite being treated as a player property and
crossed with instances from other players or prediction.
2014-03-03 01:00:47 +13:00
Randy Heit
e7f427aa60
Merge branch 'maint'
2014-02-24 19:26:50 -06:00
Randy Heit
db4763b14a
Delay skin setting on save load until player class is known.
...
- Fixed: Loading players from savegames set the skin before their current
class was retrieved, so they could not validate their skins with the
correct class.
2014-02-24 16:27:57 -06:00
Randy Heit
7052d4e14e
Fixed: userinfo_t::SkinChanged() was unaware of player classes
2014-02-24 16:18:10 -06:00
Randy Heit
1f723c10ae
Add CF_INTERPVIEW for players.
...
- Added CF_INTERPVIEW flag for players. A_SetPitch/A_SetAngle and the
similar ACS APROPs set this when changing an angle. This forces the
renderer to interpolate the view angles instead of updating with the
latest mouse positions. The effect lasts one tick.
2013-10-09 21:50:24 -05:00
Randy Heit
0cf68af7d2
Overload operator = for player_t
...
- This fixes crashes when quitting multiplayer games because the default
byte-for-byte copy caused PredictionPlayerBackup and the console player
to point to the exact same userinfo data and to both try and free it
when they are deleted.
2013-09-18 21:14:44 -05:00
Randy Heit
285be8db92
Fixed: wi_noautostartmap was not sync safe
...
- Make wi_noautostartmap a userinfo cvar. This allows it to be
communicated across the network and saved in demos. If any player has it
set, then the intermission screen will not automatically advance to the
next level.
2013-09-18 20:45:39 -05:00
Christoph Oelckers
34b71baad1
- added Player.Aircapacity property which is used as a multiplier for the level's air supply.
2013-08-09 11:57:14 +02:00
Christoph Oelckers
f3d8790995
Merge branch 'maint' of https://github.com/rheit/zdoom into maint
2013-07-22 22:54:45 +02:00
Christoph Oelckers
83bd8ba1b8
- added NeuralStunner's player.userange submission, but changed it to use the value directly from the PlayerPawn data.
...
- bumped savegame version for addition of APlayerPawn::userange.
2013-07-22 22:37:50 +02:00
Christoph Oelckers
2d2498d1e2
- fixed: userinfo_t needs a destructor to delete its CVARs when it is destroyed.
2013-07-14 10:58:53 +02:00
Randy Heit
78437d917c
- Added edward850's patch to cope with stalled network games.
...
SVN r4285 (trunk)
2013-05-25 22:01:26 +00:00
Randy Heit
2668988870
- Switched to a genericly extensible representation for userinfo.
...
- Fixed: The playerinfo CCMD did not range check the player number.
SVN r4253 (trunk)
2013-05-12 18:27:03 +00:00
Randy Heit
b845fdb5d5
- Fixed: There's more than one place where the CROUCHABLEMORPH flag needs to be checked.
...
SVN r4228 (trunk)
2013-04-28 02:31:34 +00:00
Randy Heit
cb64014494
- Added CROUCHABLEMORPH flag for the PlayerPawn class. Use this to indicate that a morphed
...
player class can crouch. (Regular players can always crouch, hence the name CROUCHABLEMORPH
and not CANMORPH or ALLOWMORPH.)
SVN r4221 (trunk)
2013-04-19 02:24:20 +00:00
Randy Heit
445bc148b7
- Fixed: r4067 completely disabled weapon switching via A_ReFire.
...
SVN r4157 (trunk)
2013-02-22 02:42:42 +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
281ac3a49a
- Separate the player weapon state flags from the other player "cheat" flags.
...
SVN r4041 (trunk)
2013-01-25 03:09:17 +00:00
Braden Obrzut
dcb1a3c8bd
- GCC warning cleanup
...
SVN r4031 (trunk)
2013-01-21 22:30:30 +00:00
Randy Heit
67eda6b1ad
- Changed P_CheckPlayerSprites() so that it does not alter any actor data. It is now called by
...
R_ProjectSprite() to modify the appropriate data right before it is needed for rendering.
SVN r4004 (trunk)
2013-01-02 02:10:26 +00:00
Randy Heit
0ac94c5265
- Precache player sounds at level load.
...
SVN r3841 (trunk)
2012-08-22 23:46:47 +00:00
Randy Heit
a505352da3
- Added noclip2 cheat. This is similar to noclip, except it also adds nogravity and the ability to fly through 3D floors.
...
SVN r3832 (trunk)
2012-08-22 21:31:48 +00:00
Randy Heit
100391507e
- Added two new PlayerPawn properties:
...
* GruntSpeed: The minimum speed a player must be falling at the time of landing to play *grunt.
* FallingScreamSpeed: When a player is falling within this range of speeds, they will play *falling.
SVN r3829 (trunk)
2012-08-14 03:24:59 +00:00
Randy Heit
a26cd841ae
- Fixed: Getting remorphed into a chicken should give you a Tome of Power so that you become a
...
super chicken. Rawr! The PlayerPawn flag CANSUPERMORPH now enables this.
SVN r3763 (trunk)
2012-07-15 03:10:00 +00:00
Randy Heit
086d0a797e
- Added AActor::SetFriendPlayer() to make setting FriendPlayer cleaner to read when doing it with
...
a player_t pointer.
SVN r3681 (trunk)
2012-06-09 04:15:56 +00:00
Christoph Oelckers
3a24790056
- fixed: The newly added checks for printing weapon obituaries failed if the weapon used a puff with a special damage type. To handle this, P_DamageMobj will now pass the damage flags to AActor::Die and from there to ClientObituary so that P_LineAttack - which is a better place to decide this - can flag an attack as coming from a player weapon.
...
- fixed: The same rules that are used for deciding if a weapon attack took place should be used when checking the PIERCEARMOR flag in P_LineAttack: It should be ignored if the attack doesn't originate from the weapon.
SVN r3649 (trunk)
2012-05-13 07:54:44 +00:00
Randy Heit
da08b14895
- Moved the regeneration powerup's effect out of P_PlayerThink() and into APowerRegeneration::DoEffect().
...
SVN r3640 (trunk)
2012-05-11 04:05:55 +00:00
Randy Heit
fc6d55c508
- Fixed: PowerTimeFreezer needs to use different bits to mark timefreezing initiated by different
...
players, or overlapping uses of PowerTimeFreezer will malfunction.
SVN r3599 (trunk)
2012-04-27 01:40:50 +00:00
Christoph Oelckers
235a09d92a
- Added Xaser's weapon patch to check +reload and +zoom in A_WeaponReady.
...
SVN r3530 (trunk)
2012-04-07 13:07:25 +00:00
Randy Heit
49ea87f8bc
- Fixed: Poison damage lost damage type information if the poisoner was destroyed before poisoncount
...
reached 0.
- Fixed: Poisoners without a PainType should use their own DamageType to pick the Pain state
to make the target enter, not the target's DamageType.
SVN r3475 (trunk)
2012-03-23 20:57:10 +00:00
Christoph Oelckers
e4880d162f
- added Xaser's submission for accessing accuracy and stamina from DECORATE and ACS.
...
- added DECORATE properties for accuracy and stamina.
- Since these changes move properties from player_t to AActor all savegame compatibility code was removed and the min. savegame version bumped.
SVN r3427 (trunk)
2012-03-11 09:08:35 +00:00
Randy Heit
d9713669f1
- Fixed: Totally freezing a player did not ignore crouch toggling.
...
SVN r3341 (trunk)
2012-01-22 00:31:42 +00:00
Randy Heit
7279e2ad62
- Fixed: Player pitch limits were reset to 0 when changing levels and loading
...
saved games.
SVN r3332 (trunk)
2011-12-14 00:16:19 +00:00
Randy Heit
b41dbf8a52
- A_SetPitch now clamps the player's pitch within the valid range. It can
...
be made to clamp other actors' pitches to within the range (-90,+90)
degrees with the SPF_FORCECLAMP flag.
- Transmit the local viewpitch limits to the other players.
SVN r3323 (trunk)
2011-12-06 01:25:37 +00:00
Christoph Oelckers
163301dcd5
- took all includes of farchive.h out of headers. This file will have to be included explicitly in each source file that needs it.
...
SVN r3259 (trunk)
2011-07-06 14:20:54 +00:00
Christoph Oelckers
e90b86acce
- added 'player.flechettetype' property so that the appropriate flechette type can be set per player class.
...
- bumped savegame version for flechette type changes.
SVN r3085 (trunk)
2011-01-01 11:16:46 +00:00
Christoph Oelckers
583cbd49a6
- try to encapsulate access to the player class's display name for printing purposes.
...
SVN r2839 (trunk)
2010-09-21 09:43:54 +00:00
Christoph Oelckers
579502ab74
- merged menu branch back into trunk.
...
SVN r2768 (trunk)
2010-09-14 17:28:18 +00:00
Randy Heit
87a7ff7b6d
- Add blzut3's morphed status bar patch.
...
SVN r2283 (trunk)
2010-04-17 02:06:26 +00:00
Christoph Oelckers
0569d948df
- added a 'player.clearcolorset' property so that inherited color sets can be removed.
...
- fixed: Player color sets were not inheritable.
SVN r2202 (trunk)
2010-03-07 09:13:41 +00:00
Randy Heit
e78fd195d8
- Added support for the original games' player translations, including Hexen's table-based ones.
...
SVN r2193 (trunk)
2010-03-06 02:51:23 +00:00