Commit Graph

2836 Commits

Author SHA1 Message Date
Randy Heit 0d302269bb - Fix GCC errors in fb_d3d9.cpp.
SVN r3492 (trunk)
2012-03-30 04:03:46 +00:00
Randy Heit 7783aec8a9 - Fixed: Missiles with MF6_STEPMISSILE set would be allowed to cross lines they could step over,
but their Z position would not actually be moved up, so the subsequent call to P_ZMovement()
  would destroy it because it was in the floor.

SVN r3491 (trunk)
2012-03-29 05:23:04 +00:00
Randy Heit c445f684fc - Fixed: In P_LineOpening_3dMidtex(), set the floorpic or ceilingpic to the 3D midtex if it
alters the opening. This fixes things such as removing a projectile when it hits a 3D midtex
  instead of exploding it because the real floor or ceiling is sky.

SVN r3490 (trunk)
2012-03-29 05:09:56 +00:00
Randy Heit 60e0eca047 - Add compatibility settings for Reverie map18 and Artica 3.
SVN r3489 (trunk)
2012-03-29 04:40:41 +00:00
Randy Heit 386c2e93ab - Restore randomization of monster respawn times accidentally taken out in r3485.
SVN r3488 (trunk)
2012-03-29 04:33:37 +00:00
Randy Heit b2abe9d11e - Use 64-bit coordinates for a few spots in the FPathTraverse constructor and P_SightPathTraverse().
- Allow FTraceInfo::TrlaceTraverse to pass the endpoints to FPathTraverse as deltas instead of
  as absolute coordinates.

SVN r3487 (trunk)
2012-03-28 04:20:23 +00:00
Randy Heit cfd5b84535 - Replace >>MAPBLOCKSHIFT with GetSafeBlockX/GetSafeBlockY from Mocha Doom.
SVN r3486 (trunk)
2012-03-28 03:49:38 +00:00
Randy Heit 13869d2173 - Fixed: Use buggy PointOnSide for respawning monsters too.
SVN r3485 (trunk)
2012-03-28 02:23:54 +00:00
Randy Heit c2b320d408 - Fixed: Item respawning needs to use the same buggy PointOnSide function as P_SpawnMapThing does.
SVN r3484 (trunk)
2012-03-25 03:25:59 +00:00
Randy Heit 510838c3c1 - Undo accidental commit of win32video.cpp with test resolution in place.
SVN r3483 (trunk)
2012-03-25 03:08:13 +00:00
Randy Heit 23e88c88c9 - Add 17:10 aspect ratio, for 1024x600 screens.
SVN r3482 (trunk)
2012-03-25 02:57:28 +00:00
Randy Heit cc34f973e2 - Fixed: Using -playdemo in conjunction with -loadgame did not work.
SVN r3481 (trunk)
2012-03-25 01:54:36 +00:00
Randy Heit 308f6cab9d - Fixed: Sprites drawn with the shaded render style were always fullbright.
SVN r3480 (trunk)
2012-03-24 00:52:15 +00:00
Randy Heit 45294cd3d3 - Remove unused FRICTION definition.
SVN r3479 (trunk)
2012-03-23 23:27:19 +00:00
Randy Heit 0a03676796 - Fixed: Switching maps using the ResetHealth flag while dead would prevent proper
reinitialization of the player on the new map.

SVN r3478 (trunk)
2012-03-23 23:24:30 +00:00
Randy Heit ac0c1eb64b - Fixed: If the znodes were based on a map with more vertexes than the one it is being loaded
for, reject them.

SVN r3477 (trunk)
2012-03-23 23:04:32 +00:00
Randy Heit f82024efbf - Fixed: Prematurely closing a Door_Raise-type door now properly examines the actual sound
sequence to determine if it should start the closing sequence.

SVN r3476 (trunk)
2012-03-23 22:21:33 +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
Randy Heit 3e4ac58f7c - Fixed: CopyPlayer must recheck the skin, since the value stored in the savegame is only used
for bots. Mainly, what this means is that if the player is using the "Base" skin, they will
  get their class-appropriate skin instead of skin 0 if this save is loaded before any other
  game has started.

SVN r3474 (trunk)
2012-03-23 03:49:54 +00:00
Randy Heit d3a2a40a3a - Fixed: Do not "Give player back the skin" when loading a savegame if they have MF4_NOSKIN set.
SVN r3473 (trunk)
2012-03-23 03:37:55 +00:00
Randy Heit 43033df455 - Fixed: G_DeathMatchSpawnPlayer() would fail to spawn a player when using "spawn furthest" and
all the deathmatch spots are filled and there is no coop start for the specific player to
  fallback on.

SVN r3472 (trunk)
2012-03-23 02:53:52 +00:00
Randy Heit 0c9f6d2e83 - Fixed: DCanvas::FillSimplePoly() did not account for the texture's built-in scaling.
SVN r3471 (trunk)
2012-03-23 02:00:01 +00:00
Randy Heit 5f23a972f3 - Fixed: Keys bound to "screenshot" did not work during the finale (aka intermission) sequences.
SVN r3470 (trunk)
2012-03-23 01:33:26 +00:00
Randy Heit 9fcc6ebc89 - Fixed: Armor did not use damagefactor "Normal" as a fallback factor.
SVN r3469 (trunk)
2012-03-23 01:20:45 +00:00
Randy Heit bff5a9b8d8 - Fixed: Trying to init FMOD with profiling enabled when the network socket was in use would fail.
We now fallback to no profiling when this happens.

SVN r3468 (trunk)
2012-03-22 22:40:30 +00:00
Randy Heit dd21e7d2b8 - Forgot to save this before last commit.
SVN r3467 (trunk)
2012-03-22 22:39:42 +00:00
Randy Heit 096725503c - Fixed: Bots did not process KEYCONF weapons. As far as I know, this is only relevant for the
owned-weapons display on the status bar.

SVN r3466 (trunk)
2012-03-22 22:29:25 +00:00
Randy Heit 287a814a18 - Fixed: Deus Vult II uses fullscreen level name patches (which are mostly blank) for the
intermission. This caused the net scoreboard to be drawn off the bottom of the screen.

SVN r3465 (trunk)
2012-03-22 22:07:47 +00:00
Randy Heit 49aaf9b451 - Added A_ClearLastHeard action function.
SVN r3464 (trunk)
2012-03-22 21:40:26 +00:00
Randy Heit cd122f944b - Similar fix to the previous: The child TiMidity++ process quitting would not necessarily be
detected, so S_ChangeMusic() would not restart one-shot songs that had finished if it was
  the MIDI device.

SVN r3463 (trunk)
2012-03-22 21:23:18 +00:00
Randy Heit 78d28dedda - Fixed: S_ChangeMusic() would not necessarily restart non-looping songs that had finished playing.
SVN r3462 (trunk)
2012-03-22 21:09:20 +00:00
Randy Heit c53c8f29e7 - Fixed: Just walking onto a 3D floor would not send SECSPAC_HitFloor or SECSPAC_HitCeiling events as it does with the real floor and ceiling. You needed some Z movement to make it happen.
SVN r3461 (trunk)
2012-03-20 03:15:23 +00:00
Randy Heit f9aae72dc4 - Fixed: P_CheckFor3DFloorHit() needs to use the actor's floorz instead of its z, and
P_CheckFor3DCeilingHit() needs to use the actor's ceilingz instead of its z. These functions
  are called from P_ZMovement() when a collision with the floor or ceiling has been detected
  but before the z has been clamped. e.g. A hard fall will leave the actor's z beneath the floor
  even though it will be set to the floor after P_CheckFor3DFloorHit() returns.

SVN r3460 (trunk)
2012-03-20 03:05:33 +00:00
Randy Heit ab60c1afcc - Changed CheckActorFloor/CeilingTexture to only check 3D floors that exist and are solid.
SVN r3459 (trunk)
2012-03-20 03:00:33 +00:00
Randy Heit 7045bfd19f - Fix another signed/unsigned warning from GCC.
SVN r3458 (trunk)
2012-03-20 02:22:17 +00:00
Randy Heit 0552f04e4c - Fixed: DCanvas::Dim() and DCanvas::Clear() did not clamp their coordinates to the screen.
SVN r3457 (trunk)
2012-03-20 02:20:06 +00:00
Randy Heit 2e9abe7408 - Fixed: When checking the REJECT contents one byte at a time, P_LoadReject() used rejectsize
instead of i as an index into rejectmatrix.

SVN r3456 (trunk)
2012-03-20 02:09:48 +00:00
Randy Heit 37a322e46b - Fixed: Teleports that were not initiated by walking would not trigger sector actions.
SVN r3455 (trunk)
2012-03-18 03:52:18 +00:00
Randy Heit e93029a42a - Make CheckActorFloorTexture and CheckActorCeilingTexture aware of 3D-floors.
SVN r3454 (trunk)
2012-03-18 02:44:46 +00:00
Randy Heit b4d3870ce6 - When morphing, transfer the score to the new actor, and when unmorphing, transfer the morphed
actor's score back to the old actor.

SVN r3453 (trunk)
2012-03-18 01:56:48 +00:00
Randy Heit fc6d3738bb - Fixed: D_WriteUserInfoStrings() mixed the colorset with the color for the verbose form.
SVN r3452 (trunk)
2012-03-18 01:45:57 +00:00
Randy Heit 8fb20a98d1 - Fixed bug accidentally introduced in r3448.
SVN r3451 (trunk)
2012-03-18 01:34:53 +00:00
Randy Heit 6f12a6e8bb - Fix signed/unsigned mismatch warned by GCC.
SVN r3450 (trunk)
2012-03-17 03:10:19 +00:00
Randy Heit 849d6724d8 - Moved "Go away!" text into language.enu.
SVN r3449 (trunk)
2012-03-17 01:27:12 +00:00
Randy Heit 77c663a9b8 - In conjunction with all the below changes, attempt to fix A_CheckSightOrRange and A_CheckSight
for multiplayer: They now always check through the eyes of every player. For players whose
  cameras are not players, they also check through the eyes of those cameras.
- Using spynext/spyprev to switch from a non-player to a player now writes a command to the
  network stream and lets Net_DoCommand() take care of it later. The logic here is that if
  a player is viewing from something that isn't another player, then every player needs to know
  about it for sync purposes. Consequently, when they stop viewing from a non-player and switch
  to a player, everybody needs to know about that too. But if they are viewing from a
  player, it doesn't matter which player it is, so they can spynext/spyprev all they want
  without letting the other players know about it (and without potentially breaking demos--due
  to the above-mentioned two codepointers--while doing it during demo playback).
- Replaced the instances of checking players[consoleplayer].camera for a valid pointer to
  ones that do it for every player.
- Fixed: Upon changing levels, all players but the consoleplayer would have their cameras NULLed.
- Fixed: player_t::FixPointers() needs to bypass the read barriers, or it won't be able to
  do substitutions of old objects that are pending deletion.

SVN r3448 (trunk)
2012-03-17 00:52:33 +00:00
Randy Heit 07118147d8 - Revised the fix from r3442: Make the line a nonrepeatable Door_Open instead of completely
clearing the line's special.

SVN r3447 (trunk)
2012-03-16 23:42:11 +00:00
Randy Heit 73a78caa5c - Added support for a few extra color ranges to Player.Colorset so that the Strife player's
predefined colors can properly define the standard Strife translation ranges.

SVN r3446 (trunk)
2012-03-16 02:23:31 +00:00
Randy Heit e6a0fbe4db - Fixed: Missiles that exploded on a wall because they exhausted their bounce count did not leave decals.
SVN r3445 (trunk)
2012-03-16 01:17:12 +00:00
Randy Heit 73c55b52f9 - Fixed: The check for CHANGELEVEL_KEEPFACING in G_FinishTravel() needed parentheses.
SVN r3444 (trunk)
2012-03-16 00:59:10 +00:00
Randy Heit 5a076c1f32 - Fixed: The distance parameter for A_RadiusThrust was defined as fixed, when the parameter
passed to P_RadiusAttack is just a regular int.

SVN r3443 (trunk)
2012-03-16 00:41:11 +00:00