Christoph Oelckers
7da0badf3c
- fixed: The thing id in Hexen map things needs to be treated as a signed short. This is how Hexen defined it and
...
how older ZDooms before the implementation of UDMF used them internally.
SVN r2263 (trunk)
2010-04-02 07:24:57 +00:00
Randy Heit
69c777df4c
- Allow defaultenvironment to take names as well as numeric IDs.
...
SVN r2262 (trunk)
2010-03-31 23:33:18 +00:00
Randy Heit
aa86e62693
- Added DefaultEnvironment MAPINFO option to set the default sound environment for the whole map.
...
SVN r2261 (trunk)
2010-03-31 03:48:16 +00:00
Christoph Oelckers
ba29ffd405
- GCC fixes.
...
SVN r2257 (trunk)
2010-03-29 20:25:08 +00:00
Christoph Oelckers
18d58ef1c5
- fixed: APowerup::EndEffect could crash if the item was not owned by a valid player actor.
...
SVN r2256 (trunk)
2010-03-29 06:08:22 +00:00
Christoph Oelckers
1436f0a4fa
- Fixed: It was no longer possible to talk to non-shootable NPCs. Also took
...
the opportunity to merge the various boolean parameters to P_AimLineAttack into one flag parameter.
SVN r2254 (trunk)
2010-03-28 10:51:35 +00:00
Randy Heit
7f96531dc0
- Use I_FPSTime() instead of I_MSTime() to drive R_UpdateAnimations().
...
SVN r2253 (trunk)
2010-03-28 04:04:44 +00:00
Randy Heit
b3005ab16c
- Fixed: APowerup::EndEffect() needs to cancel any special colormaps applied by the powerup.
...
This means all subclasses also need to call their superclass's EndEffect(), which they were
not doing. For consistency, all the subclasses now do the same for InitEffect(), though
APowerup::InitEffect() is still a no-op.
SVN r2252 (trunk)
2010-03-28 04:02:57 +00:00
Randy Heit
70c21c8314
- Changed FTextureManager::CheckForTexture() search algorithm so that inexact matches on
...
textures of type TEX_MiscPatch will return the first such texture, as it does with all
the other types. (It will still prefer to return a texture of a different type.
Why are these treated differently, anyway?)
SVN r2251 (trunk)
2010-03-28 03:46:46 +00:00
Christoph Oelckers
72e9a870c2
- added Gez's patch to move Hexen's startup notches out of the EXE.
...
SVN r2250 (trunk)
2010-03-27 21:12:08 +00:00
Christoph Oelckers
a357a70f82
- fixed: Explosions directly under a water surface would not hurt any actor directly above this surface.
...
- cleaned up P_CheckSight flag handling.
SVN r2249 (trunk)
2010-03-27 07:42:31 +00:00
Randy Heit
e83a9a2a00
- Use normal texture animation for the main menu cursors. This required updating animations
...
all the time and not just when inside a level.
SVN r2248 (trunk)
2010-03-27 03:30:02 +00:00
Christoph Oelckers
7f2ab00abe
- fixed: IDBEHOLD altered the item counter.
...
SVN r2247 (trunk)
2010-03-26 22:26:50 +00:00
Christoph Oelckers
0529ffa043
- fixed: P_SpawnMapThing always reduced the angular precision to 45 degrees.
...
- removed AngleIncrements because it's not really useful.
SVN r2246 (trunk)
2010-03-26 16:57:00 +00:00
Christoph Oelckers
a6a303f438
- fix division by 0.
...
SVN r2243 (trunk)
2010-03-25 23:29:41 +00:00
Christoph Oelckers
0f0c02f9d6
- fixed: Level redirection checked the wrong level.
...
SVN r2241 (trunk)
2010-03-25 17:07:07 +00:00
Randy Heit
039b64899d
- Fixed: ClearActorInventory used the wrong stack index to get its parameter.
...
SVN r2239 (trunk)
2010-03-22 22:15:56 +00:00
Randy Heit
4c5edf00b0
- P_ZMovement() temporarily disables jumping after a landing. Don't do this if the jump
...
timer is already running or for short falls (e.g. along the edges of slopes, since the
slope floorz calculation is pretty crappy.)
SVN r2238 (trunk)
2010-03-22 22:02:31 +00:00
Randy Heit
0ca693771b
- Keep all damage factors in the table, even those that are 1.0.
...
- 256 is a valid pain chance, so clamp to that, not 255.
SVN r2237 (trunk)
2010-03-22 21:18:54 +00:00
Randy Heit
d1f9b94743
- Fixed: TMap::DelKey failed if the key's main position was nil, because it tried checking
...
for it at the "next" position, which is an invalid pointer in that case.
SVN r2236 (trunk)
2010-03-22 21:09:33 +00:00
Randy Heit
41df8242c1
- Changed A_SetUserVar and A_SetUserArray so they affect the actor that called it, which
...
is not necessarily "self". The only visible change from this should be that inventory items
now set their own variables and not their owners'.
SVN r2235 (trunk)
2010-03-21 21:05:27 +00:00
Christoph Oelckers
a2cfbec3cf
- added a CrushPainSound actor property for Strife.
...
- fixed memory leaks in SBARINFO and WAD loading code.
- added GetBloodColor and GetBloodType inline functions to AActor to wrap the GetMeta calls used for this.
SVN r2234 (trunk)
2010-03-21 08:09:45 +00:00
Randy Heit
1eed01244c
- Comment fix.
...
SVN r2232 (trunk)
2010-03-18 21:59:45 +00:00
Randy Heit
6c63ce51e4
- Fixed: The listener used a different coordinate system than sounds, which meant that sounds
...
were never made head-relative, so stereo effects would disappear if they were played by
the listener.
SVN r2231 (trunk)
2010-03-18 21:54:24 +00:00
Randy Heit
5ec5d74267
- Probably shouldn't allow negative range scalars for ambient sound things...
...
SVN r2230 (trunk)
2010-03-18 21:10:15 +00:00
Randy Heit
d012165f57
- Changed ambient sound things so that 100 volume is normal.
...
- The fifth argument for the ambient sound things is now a scalar for the min and max distances.
SVN r2229 (trunk)
2010-03-18 21:09:23 +00:00
Randy Heit
226a513e6e
- Fixed: Blood's sprite rotations were broken.
...
SVN r2228 (trunk)
2010-03-18 21:03:58 +00:00
Randy Heit
9d8a9bc981
- Reverted the part of r2226 than reverted r2205 (accidentally, I assume).
...
SVN r2227 (trunk)
2010-03-18 17:50:00 +00:00
Christoph Oelckers
d69eb3acd1
- fixed: True color texture generation for DDS was broken.
...
SVN r2226 (trunk)
2010-03-18 07:54:16 +00:00
Randy Heit
44e877a243
- After experimenting with Blood, I think ROLLOFF_Linear is a better choice for ambient
...
sounds than ROLLOFF_Doom.
SVN r2225 (trunk)
2010-03-18 05:27:36 +00:00
Randy Heit
f712d128a3
- Oops. Accidentally removed Blood loop point support.
...
SVN r2224 (trunk)
2010-03-18 05:22:47 +00:00
Randy Heit
b53baf5f46
- Added support for Blood's ambient sounds, because I thought it would be an easy way to
...
test the new ambient sound range parameters. (Hahaha! If I hadn't had to fix all the
Build/Blood stuff first, it would have been.)
SVN r2223 (trunk)
2010-03-18 05:01:10 +00:00
Randy Heit
2649508393
- Changed the ambient sounds list into a map so that it can handle more than 256 entries.
...
SVN r2222 (trunk)
2010-03-18 04:34:14 +00:00
Randy Heit
740d52cf5b
- Added support for Blood's SFX loop start markers.
...
SVN r2221 (trunk)
2010-03-18 04:26:22 +00:00
Randy Heit
aedb646a52
- Fixed: Blood sound effect namespacing was broken.
...
SVN r2220 (trunk)
2010-03-18 03:55:51 +00:00
Randy Heit
8b98a3510e
- Fixed: The Build loader did not set the wall texture scaling properly, either.
...
SVN r2219 (trunk)
2010-03-18 02:21:01 +00:00
Randy Heit
92890066b6
- Fixed: The BUILD map loader did not create extsector information, and it also did not
...
set valid sidedef references for the backs of one-sided lines.
SVN r2218 (trunk)
2010-03-18 02:09:08 +00:00
Randy Heit
8e104d0a28
- Fixed: RFF files constructed incorrect full names for the files they contained.
...
SVN r2217 (trunk)
2010-03-18 01:48:48 +00:00
Randy Heit
054e5411bd
- Fixed: Checking for BUILD maps only worked if they came from unencrypted and
...
uncompressed sources.
SVN r2216 (trunk)
2010-03-18 01:07:50 +00:00
Randy Heit
970cf6f71b
- Fixed endianness assumption when loading external map files.
...
SVN r2215 (trunk)
2010-03-18 00:48:56 +00:00
Randy Heit
c079a3ea5b
- Add more parameters to the ambient sound things:
...
* Second argument: Volume scalar. 0 and 128 are normal volume. (Where "normal" is whatever
it was defined with in SNDINFO.) Other values scale it accordingly.
* Third argument: Minimum distance before volume fading starts.
* Fourth argument: Maximum distance at which the sound is audible. Setting either of these to 0
will use whatever they were defined with in SNDINFO.
SVN r2214 (trunk)
2010-03-18 00:32:35 +00:00
Randy Heit
c8b8f40356
- Fix some GCC warnings.
...
SVN r2213 (trunk)
2010-03-18 00:30:45 +00:00
Christoph Oelckers
635759ee2c
- fixed: UpdateSegBBox only used the first seg of a linedef to calculate the linedef's bounding box.
...
SVN r2210 (trunk)
2010-03-14 15:17:36 +00:00
Randy Heit
f24c0cf292
- Merge scanner changes from the scripting branch, since I'm pretty sure the
...
token names were out of sync here, too.
SVN r2209 (trunk)
2010-03-14 04:03:07 +00:00
Christoph Oelckers
c191d95110
- Fixed: Hexen's fighter's skull has a different animation than Heretic's so it needs to be a separate class.
...
- Added an option to parse lumps named ZMAPINFO in place of MAPINFO. Any MAPINFO lumps in files containing
a ZMAPINFO lump will be completely ignored. This is to allow ZDoom specific definitions which are incompatible
with other engines capable of reading MAPINFO. Any ZMAPINFO lump must be in the new MAPINFO format.
SVN r2208 (trunk)
2010-03-13 08:28:13 +00:00
Randy Heit
cf06cd68bc
- Changed FileExists() to use stat instead of fopen/fclose, which ought to be lower
...
overhead for files that are present.
SVN r2206 (trunk)
2010-03-13 00:08:33 +00:00
Randy Heit
1f12c3dd8e
- Whoops. DXT5 decompression got the alpha values wrong. That's "wrong" as in "garbage", since
...
yalphaslice was never initialized to anything. (I should probably test this to make sure I
actually got it right now...)
SVN r2205 (trunk)
2010-03-09 03:18:31 +00:00
Christoph Oelckers
593a050778
- fixed: Items spawned internally by ADehackedPickup::TryPickup must not count towards item statistics.
...
SVN r2204 (trunk)
2010-03-07 11:13:57 +00:00
Christoph Oelckers
88269d5d60
- fixed: The color sliders on the player setup menu were not disabled when a predefined colorset was selected.
...
SVN r2203 (trunk)
2010-03-07 11:05:52 +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
Christoph Oelckers
e4be782e14
- check player translations for identity maps during creation.
...
- fixed: When creating the initial identity translation for player translations the
global palette remapping was not taken into account.
SVN r2200 (trunk)
2010-03-06 16:24:09 +00:00
Christoph Oelckers
d773dcb6fb
- fixed: The 'any key' lock always returned success when checking for keys, even if the player had none.
...
SVN r2199 (trunk)
2010-03-06 14:58:15 +00:00
Christoph Oelckers
d2a4c19955
- let players check MF2_NOTRANSLATE so that mods can create player classes which are not subject to
...
default player color handling.
SVN r2198 (trunk)
2010-03-06 09:30:38 +00:00
Randy Heit
47a835698a
- Final Doom needs its finale flats changed, too.
...
- It's "BGCASTCALL", not "BOSSBACK".
SVN r2196 (trunk)
2010-03-06 04:01:32 +00:00
Randy Heit
d19878efcb
- Added BOOM/MBF BEX-style narrative background text substitution. There are two changes because
...
of this:
* A cluster's flat definition can now be preceded by a $ to do a string table lookup.
* Since the standard flat names are now in the LANGUAGE lump, the normal Dehacked substitution
for these is no longer handled specially and so will not be automatically disabled merely
by providing your own MAPINFO.
SVN r2195 (trunk)
2010-03-06 03:28:22 +00:00
Randy Heit
38c9bb1900
- Setting a Player.ColorRange now completely disables the translation rather than just
...
making it an identity map.
SVN r2194 (trunk)
2010-03-06 03:02:24 +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
Randy Heit
dfd963ba1a
- Revert r2173.
...
SVN r2192 (trunk)
2010-03-05 23:09:31 +00:00
Randy Heit
5c4af020d9
- Fixed: CheckActorClass needed a NULL check.
...
SVN r2191 (trunk)
2010-03-05 03:43:51 +00:00
Randy Heit
f014b8f98b
- Fixed: FFont::StringWidth() counted the ']' character of a named color escape sequence in
...
its width calculation.
SVN r2190 (trunk)
2010-03-05 03:41:48 +00:00
Randy Heit
fad9f251ec
- Fixed: FSinglePicFont should set the character size by the scaled size of the texture.
...
SVN r2189 (trunk)
2010-03-05 03:31:20 +00:00
Randy Heit
758327f4b3
- Fixed: snd_musicvolume needs to check GSnd for NULL, since somebody might have set an
...
atexit for it, which gets executed after the sound system shuts down.
- Fixed: FPlayList::Backup() failed to wrap around below entry 0 because Position is
unsigned now.
SVN r2188 (trunk)
2010-03-05 03:11:10 +00:00
Christoph Oelckers
61865b30be
- Yet another piece of essentially broken code that has to go back in because some people had to abuse it:
...
Reinstated Doom's original code that made projectiles with the MF_NOCLIP flag set continue to exist even
though the movement itself was never properly handled.
Fortunately the game mode check formerly associated with this can be removed because none of the other games have
any projectiles using MF_NOCLIP so at least it's no longer restricted to Doom...
SVN r2187 (trunk)
2010-03-04 08:24:49 +00:00
Randy Heit
ac042a7e93
- The console separator bars now get converted to something printable in Unicode for the log.
...
- Fixed: Only the last line of multi-line log output received Unicode treatment.
SVN r2186 (trunk)
2010-03-04 04:45:48 +00:00
Randy Heit
0ebace4883
- Add the game log to the crash report. I don't know why I didn't think to do this sooner.
...
Since we're already sending everything to a rich edit control hidden in the background,
we can just grab its contents for the report.
- Use code page 1252 when previewing text files in the crash dialog.
SVN r2185 (trunk)
2010-03-04 02:17:34 +00:00
Randy Heit
dfde55d249
- Everything on the command line before the first switch with an unrecognized switch is
...
now added to -file. This was previously restricted to only .wad, .zip, .pk3, and .txt.
- You can now pass -file/-deh/-bex more than once on the command line, and they will all
have effect.
SVN r2184 (trunk)
2010-03-03 04:29:40 +00:00
Randy Heit
5da2885d88
- Changed DArgs to use a TArray of FStrings instead of doing its own string vector management
...
in preparation for doing GatherFiles the "right" way.
SVN r2183 (trunk)
2010-03-02 04:51:16 +00:00
Randy Heit
4e2ca33ea9
- Fixed: DrawHudText() needs to verify that the character glyph is valid before accessing
...
its fields.
SVN r2182 (trunk)
2010-03-02 01:59:16 +00:00
Randy Heit
54b792a97f
- V_GetFont() needs to check the font header.
...
SVN r2181 (trunk)
2010-02-26 20:19:43 +00:00
Randy Heit
d530fd7f90
- Added BMF (ByteMap Font) support. This was complicated somewhat by the fact that BMF can
...
specify a character advance separately from the glyph width. GetChar and GetCharWidth now
return this value in place of the glyph width. (For non-BMF fonts, these should still
return the same values as before.)
SVN r2180 (trunk)
2010-02-26 05:34:30 +00:00
Randy Heit
8ecafcc15a
- Added A_CheckSightOrRange, with changes.
...
SVN r2179 (trunk)
2010-02-26 00:08:25 +00:00
Randy Heit
5523140890
- Explicitly setting the charset for the EM_SETCHARFORMAT message seems to do what I want.
...
SVN r2178 (trunk)
2010-02-24 04:23:01 +00:00
Randy Heit
0b2c2e1cb3
- Use the Unicode RichEdit control instead of the MBCS version, so as to enforce the use
...
of code page 1252 for output text. This is noticeable, for example, with the FMOD copyright
notice where the copyright symbol appears as ゥ (halfwidth katakana small U) with code page 932.
SVN r2177 (trunk)
2010-02-24 04:17:14 +00:00
Randy Heit
ad54cfcf94
- Change the log window to use DejaVu Sans instead of Bitstream Vera Sans, because
...
Silverex's X-Chat comes with the former now. Unfortunately, I can't seem to actually
set the font when my system default code page is 932, since it wants to use some Kanji-
compatible font instead. I wonder if I can still use the Unicode RichEdit control with
Windows 9x. (Does it even matter? Windows 9x users make up less than 0.1% of all visitors
to zdoom.org these days.)
SVN r2176 (trunk)
2010-02-24 03:36:42 +00:00
Randy Heit
a1255c059d
- Added -nostartup switch to disable the more graphical startup screens of Heretic, Hexen,
...
and Strife.
SVN r2175 (trunk)
2010-02-24 02:58:48 +00:00
Christoph Oelckers
350e72fb3e
- added an option to disable player translations in single player games.
...
SVN r2173 (trunk)
2010-02-23 23:03:43 +00:00
Christoph Oelckers
a5c3c95b2f
- added 2 DECORATE keywords from Skulltag as dummies.
...
SVN r2169 (trunk)
2010-02-19 08:10:04 +00:00
Christoph Oelckers
68194d13c8
- fixed some Chex Quest cheat codes.
...
SVN r2168 (trunk)
2010-02-17 22:38:17 +00:00
Christoph Oelckers
f02303d33c
- added a lock parameter to Door_Animated.
...
SVN r2167 (trunk)
2010-02-17 22:25:48 +00:00
Christoph Oelckers
4b04b94414
- fixed: The monster pack's Afrit no longer worked.
...
SVN r2165 (trunk)
2010-02-14 23:59:17 +00:00
Christoph Oelckers
ea11eb9e3d
- fixed: The Boom stair fix was done for Hexen stairs but must only be in the code for Doom stairs.
...
SVN r2162 (trunk)
2010-02-14 08:24:00 +00:00
Christoph Oelckers
6ec30761c6
- Added Boom's stairbuilding fix when one step couldn't be built due to an active thinker in the sector.
...
This is compatibility optioned with COMPAT_STAIRINDEX. Also added a compatibility setting for
Eternal Doom MAP25 which relies on Doom's original broken behavior.
- added a few sanity checks for duplicate actor names in DECORATE. ZDoom will now print more warnings
and all crash cases should be properly handled but since this is still an error this will not work
properly in all circumstances. For example, if you have a duplicate name all classes that inherit
from the original definition will not survive a savegame if they reference a state belonging to that
class at the point of saving.
- Print 'tried to register class more than once' in red to highlight it.
- fixed: actors may not replace themselves.
SVN r2158 (trunk)
2010-02-13 08:56:08 +00:00
Randy Heit
784aef8928
- Added checks for open and closed scripts sharing the same number to ensure that
...
FBehavior::FindScript() will always return the closed version. See Hexen MAP30 and MAP33.
SVN r2157 (trunk)
2010-02-13 05:15:32 +00:00
Christoph Oelckers
1df19e6375
- last fix was incomplete.
...
SVN r2156 (trunk)
2010-02-12 23:18:41 +00:00
Christoph Oelckers
33460a315a
- fixed: DefHexenBindings still referred to some of Heretic's items that once were merged with the Hexen variants.
...
SVN r2155 (trunk)
2010-02-12 22:44:54 +00:00
Christoph Oelckers
113a438b01
- Fixed: Voodoo dolls must not check reactiontime in P_SlideMove.
...
SVN r2153 (trunk)
2010-02-11 17:10:01 +00:00
Christoph Oelckers
12a819cf7c
- fixed GCC compile error in A_Mushroom.
...
SVN r2152 (trunk)
2010-02-07 08:22:23 +00:00
Christoph Oelckers
4310b239f4
- Added Gez's submission for Eternity-style skybox definitions.
...
SVN r2151 (trunk)
2010-02-06 15:31:26 +00:00
Randy Heit
ecb9d2f24b
- Fixed: Closing doors early would never restart the sound sequence if it was manually placed.
...
SVN r2150 (trunk)
2010-02-02 05:19:43 +00:00
Randy Heit
1aa39baa4a
- Fixed: "Animation <X> in ANIMATED has only one frame" message was missing a newline.
...
SVN r2149 (trunk)
2010-02-02 04:38:15 +00:00
Christoph Oelckers
3e8435e22c
- added Gez's Plane_Copy submission with some extensions and improvements.
...
This line special is the last of the slope creation methods being processed so it can copy any other type of slope.
SVN r2147 (trunk)
2010-01-30 22:53:37 +00:00
Christoph Oelckers
fc2f95da0e
- revert accidental commit.
...
SVN r2146 (trunk)
2010-01-30 19:28:41 +00:00
Christoph Oelckers
8a22712180
- fixed: Rocket trail particle positioning only worked when the rocket was moving.
...
SVN r2145 (trunk)
2010-01-30 14:49:15 +00:00
Christoph Oelckers
a5e1fe6906
- fixed: Sector_SetWind and Sector_SetCurrent were not usable in scripts called from a line.
...
- added Gez's A_Mushroom extension.
SVN r2144 (trunk)
2010-01-30 14:35:52 +00:00
Christoph Oelckers
24a12a04b4
- added a minimum threshold for damage thrust to avoid micro-velocities being set for actors.
...
- fixed: Strife's Oracle is not a living thing and needs the NOBLOOD flag.
- fixed: Chex Quest's finale pic was wrong.
SVN r2143 (trunk)
2010-01-30 13:48:44 +00:00
Christoph Oelckers
0246f2bf4d
- fixed: Being resurrected by an Arch Vile did not restore flags5 and flags6 to the defaults.
...
SVN r2142 (trunk)
2010-01-30 13:08:52 +00:00
Christoph Oelckers
0997c608f2
- added a secret sector color to automap overlay.
...
- added a score display to both alt HUD and sbarinfo.
- simplified code for AltHud status values display.
SVN r2141 (trunk)
2010-01-30 09:17:44 +00:00
Christoph Oelckers
787c16301c
- Fixed SBarInfo problem with hexenarmor.
...
SVN r2140 (trunk)
2010-01-28 23:51:56 +00:00
Christoph Oelckers
1f6c915abf
- Fixed: ZDoom no longer reversed the clipping area on drawbar calls with a
...
border.
- Fixed: SBarInfo Interpolated aross a new Game.
SVN r2139 (trunk)
2010-01-28 23:50:20 +00:00
Christoph Oelckers
3f140c0549
- fixed: The line ID arg of Plane_Align was not handled in the wrong place. It was also missing from actionspecials.h and the UDMF spec.
...
SVN r2138 (trunk)
2010-01-28 23:46:38 +00:00