Gaerzi
c54f5571ea
Typo.
2014-04-15 17:24:01 +02:00
Gaerzi
6f2fd8edbf
Hexen also needs to init 0 fields.
2014-04-15 17:22:56 +02:00
Gaerzi
8e3360453f
Hexen too.
2014-04-15 17:18:55 +02:00
Gaerzi
e5578934ad
Init new non-0 fields for non-UDMF maps.
2014-04-15 17:16:33 +02:00
Christoph Oelckers
4e683d360d
Merge branch 'master' of https://github.com/Edward850/zdoom
2014-04-15 09:22:50 +02:00
Edward Richardson
4270838613
CANRAISE state definition
...
CANRAISE state for allowing a monster to be resurrected without an
infinite frame
2014-04-12 22:02:19 +12:00
Gaerzi
101107b1e5
Updated documentation
2014-04-12 10:55:10 +02:00
Gaerzi
4cac599b88
Less flags, more generic properties
2014-04-11 00:58:59 +02:00
Gaerzi
580094a792
More editing flags
...
PSX-inspired flags to change the render styles of monsters (and other
things).
2014-04-10 12:32:23 +02:00
Christoph Oelckers
bbb41e869c
Merge branch 'master' of https://github.com/Edward850/zdoom
2014-04-07 19:54:30 +02:00
Edward Richardson
ca93e04de3
Added GetActorPowerupTics ACS function
2014-04-07 23:23:55 +12:00
alexey.lysiuk
878dcdc0a4
Fix loading of lumps from directory on OS X
...
Use POSIX-compliant opendir() / readdir() functions instead fts_open() / fts_read()
Unlike Linux version, on OS X fts_read() inserts extra slash character between source directory and traversed entry paths
2014-04-06 12:56:51 +03:00
Randy Heit
940794929c
Remove more VC++ warnings
2014-04-03 17:51:15 -05:00
Randy Heit
fc97584c69
Disable warning C4200 on VC++
...
- This warning is about using zero-sized arrays in structs (aka flexible
member arrays). It's standard-enough for our purposes, so don't warn
about it, since neither GCC nor Clang do.
2014-04-03 16:50:20 -05:00
Randy Heit
43fe317dbe
Use flexible array members for structs that end with var-sized arrays
...
- Since Clang++, G++, and VC++ all support this extension (even though it's
technically officially only part of C99), use it. It lets Clang's array-
bounds checker know that these are meant to be accessed out of their so-called
"bounds".
2014-04-03 16:33:33 -05:00
Edward Richardson
546ae759fd
Cleanup old prediction fix development code
2014-04-02 21:25:45 +13:00
Edward Richardson
be33d2894a
Fixed prediction thinglist order restoration
...
Prediction didn't take sector_thinglist and thinglist order into
account.
This notably broke the order in which things were damaged.
2014-04-02 21:25:12 +13:00
Christoph Oelckers
a9bea7d774
Merge branch 'getsectorz_take2' of https://github.com/crimsondusk/zdoom
2014-03-31 19:12:47 +02:00
Christoph Oelckers
edcc257667
fixed: APROP_StencilColor was not implemented for CheckActorProperty.
2014-03-31 16:39:34 +02:00
Christoph Oelckers
bd3bd0ed22
Merge branch 'upstream' of https://github.com/Edward850/zdoom
2014-03-31 16:36:54 +02:00
Edward Richardson
016cc7ba96
Missed space in flags7 line.
2014-03-31 23:57:43 +13:00
Edward Richardson
79f6e77e2b
Remove garbage characters from info CCMD
2014-03-31 23:51:18 +13:00
crimsondusk
d7a2435703
- the ACS functions GetSectorFloorZ and GetSectorCeilingZ now interpret tag=0 as 'any sector' and return the z height of whatever sector is at those coordinates.
2014-03-27 16:34:32 +02:00
Edward Richardson
697ef02871
Added StencilColor to Set/GetActorProperty
2014-03-28 00:23:12 +13:00
Edoardo Prezioso
5789ac6245
- Fixed new[]/delete mismatch in FNodeBuilder
...
Found with address sanitizer.
2014-03-16 13:21:08 +01:00
alexey.lysiuk
6aa56202b6
Fix two issues with GL nodes handling
...
Fix inability to load GL nodes for maps with names longer than 5 characters.
Fix inability to load GL nodes from external GWA files.
2014-03-15 13:17:22 +02:00
Edward Richardson
40771d22a5
Player prediction fixes in PIT_CheckThing
...
Player prediction could end up executing functions for TOUCHY things or
modify velocities when BLASTED, among other things.
2014-03-15 04:15:30 +13:00
Edward Richardson
55362d2296
Merge remote-tracking branch 'upstream/master'
2014-03-14 20:59:24 +13:00
Edward Richardson
9dad8bdbbe
Clear old camera from previous level
...
The sound code could accidentally reference an old invalid camera during
level spawn
2014-03-13 18:27:39 +13:00
Christoph Oelckers
f44dc926e6
- fixed uniqueTid logic - patch by Edward-San.
2014-03-09 10:02:07 +01: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
Edoardo Prezioso
1fb757f6f1
- Fixed useless 'array != NULL' check.
...
- 'notranslate != NULL' is completely useless, because 'notranslate' is an array, hence removed.
- I interpreted 'SbarInfoScript != NULL' as a typo, since 1)in the next expression inside the condition there's a dereference to 'SBarInfoScript[SCRIPT_CUSTOM]' and 2)'SBarInfoScript[SCRIPT_CUSTOM]' is checked against 'NULL', in line 352, and then dereferenced when introducing 'cstype'.
2014-03-01 22:27:40 +01:00
Randy Heit
e7f427aa60
Merge branch 'maint'
2014-02-24 19:26:50 -06:00
Randy Heit
1d4f4b25d7
Don't free replaced textures that are used as patches.
...
- Fixed: If a part of a multipatch texture is replaced by a HIRESTEX
version, the original patch must not be deleted, since the multipatch
texture still needs it for compositing.
2014-02-24 19:01:36 -06:00
Randy Heit
5a5fb9b3d1
Clamp xy angle range in P_SetSlope()
...
- This function just assumed that every xy angle passed to it was within
the range [0,360). This is obviously bad, since anything outside that
range can result in accessing data outside the range of the finecosine
and finesine tables.
2014-02-24 18:16:18 -06:00
Randy Heit
a60918f601
Add NoPushWindowCheck compatibility flag
...
- For maps like xtheateriii that expect non-blocking push lines to
activate when you are standing on them and run into a completely different
line, there is now this compatiblity.txt-only flag.
2014-02-24 17:43:28 -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
0f7ad00d9a
Ignore the minor version number when checking for DRO v1 files
...
- There exist files where the first word of the version number for DRO v1
files is not 0 but something else completely. (Maybe it's not actually a
version number?) Assume they are valid v1 files as long as the second
word is a 1.
2014-02-24 15:48:41 -06:00
Gaerzi
d430c18574
The wrong value was used here.
...
This caused crashes on some files (notably MBELLS from Cosmo and NUBC
from Body Count) in my port of this code to SLADE 3.
2014-02-24 15:37:59 -06:00
Gaerzi
c7301a0fbb
Some DOSBox Raw OPL v2 indices were off by one.
...
This caused access violation errors on perfectly fine DRO files. For
reference, scoredata[20] is the hardware type (OPL2, dual OPL2, or
OPL3).
2014-02-24 15:37:42 -06:00
rheit
3437b08c1a
Merge pull request #27 from Gaerzi/master
...
Some DOSBox Raw OPL v2 indices were off by one.
2014-02-24 15:22:20 -06:00
rheit
d0782d779d
Merge pull request #22 from edward-san/cmake_uninitialized_fix
...
- Fixed some cmake --warn-uninitialized messages
2014-02-24 15:20:56 -06:00
rheit
78f85340d8
Merge pull request #20 from edward-san/cmake_clang_flags_fix
...
- Remove clang check from GCC-related workaround
2014-02-24 15:19:35 -06:00
rheit
3111f8f93d
Merge pull request #19 from edward-san/unix_no_gtk_iwadpicker_fix
...
- Fixed scanf in IWAD picker without GTK
2014-02-24 15:18:24 -06:00
Gaerzi
9dacc9cc8d
The wrong value was used here.
...
This caused crashes on some files (notably MBELLS from Cosmo and NUBC
from Body Count) in my port of this code to SLADE 3.
2014-02-24 05:07:37 +01:00
Gaerzi
732ee11da1
Some DOSBox Raw OPL v2 indices were off by one.
...
This caused access violation errors on perfectly fine DRO files. For
reference, scoredata[20] is the hardware type (OPL2, dual OPL2, or
OPL3).
2014-02-23 23:07:10 +01:00
Christoph Oelckers
861a0f0f09
Merge branch 'master' of https://github.com/Gaerzi/zdoom
2014-02-16 18:59:02 +01:00
Gaerzi
02cd6eebf4
A_Log formatted text
...
Make DECORATE version of Log consistent with ACS version.
2014-02-16 18:29:01 +01:00
Alex Qyoun-ae
dd5f273128
Added possibly missing brackets
2014-02-14 05:10:48 +04:00
Edward Richardson
0db82f02cf
P_HitWater ignore extra floors below real floor
...
P_HitWater incorrectly assumed extra floors were always above the real
floor.
2014-02-12 20:30:37 +13:00
Randy Heit
3cff307e77
Add Get/SetLineActivation ACS functions
2014-02-04 19:53:10 -06:00
Randy Heit
8b02bb55aa
Fix compiling with FMOD 4.36
...
- That stuff I thought that went poof in FMOD Ex 4.37 was apparently
already gone in 4.36.
2014-01-30 20:30:40 -06:00
Christoph Oelckers
4e53df8bca
- fixed: The 'load' command in GAMEINFO only worked if the filename contained a slash.
2014-01-26 14:32:44 +01:00
Braden Obrzut
efa9e0c3ee
Merge branch 'maint'
2014-01-18 18:10:48 -05:00
Braden Obrzut
811a75ebf6
- Minor adjustments to SDL joystick code so that all axes have at least a small deadzone so that button mapping works properly.
2014-01-18 17:54:46 -05:00
Braden Obrzut
27f6b3c9f3
Merge branch 'maint' of github.com:rheit/zdoom into maint
2014-01-18 16:23:06 -05:00
Braden Obrzut
75fd674d31
- If the player doesn't have ` bound to open the console, don't close it with that key.
2014-01-18 16:20:52 -05:00
Braden Obrzut
919b928300
- Fixed: Taking an item in a Strife dialog didn't account for items that have the keep depleted flag set.
2014-01-18 15:45:11 -05:00
Braden Obrzut
ebcd0e9c49
- Removed redundant expression in R_FindPlane.
2014-01-18 15:40:48 -05:00
Braden Obrzut
7af8b78b9f
- Applied Chilly's patch to fix excessive name change notifications.
2014-01-18 15:18:35 -05:00
Braden Obrzut
e5d7077d74
- Fixed: Shareware games couldn't bother with the actor has no frames errors since we don't load mods.
...
- Fixed: Heretic shareware used a different border for the statusbar.
2014-01-18 15:09:12 -05:00
Braden Obrzut
6f7885210b
- Fixed: Some setups require the dynamic linking library to be linked explicitly, so specify it when using DYN_FLUIDSYNTH
2014-01-18 14:58:39 -05:00
Edoardo Prezioso
70717cd2fa
- Cover the ASM_SOURCES fix for NO_ASM users too
2014-01-18 02:21:49 +01:00
Christoph Oelckers
6824e8c931
Merge branch 'maint'
2014-01-18 01:12:06 +01:00
Christoph Oelckers
1fd1ac9bab
Merge branch 'cmake_uninitialized_fix' of https://github.com/edward-san/zdoom into maint
2014-01-18 01:10:33 +01:00
Edoardo Prezioso
b329a34a58
- Fixed some cmake --warn-uninitialized messages
2014-01-17 23:36:59 +01:00
Christoph Oelckers
e126c3ec2f
Merge branch 'maint'
2014-01-17 20:45:20 +01:00
Christoph Oelckers
9a74f96702
Merge branch 'viewpitch_overflow_fix' of https://github.com/edward-san/zdoom into maint
2014-01-17 20:43:03 +01:00
Christoph Oelckers
2d3a80fbd9
Merge branch 'cmake_clang_flags_fix' of https://github.com/edward-san/zdoom into maint
2014-01-17 20:43:00 +01:00
Edoardo Prezioso
884928687d
- Fixed overflow checking in some viewpitch code
2014-01-17 19:27:12 +01:00
Edoardo Prezioso
aafea851f0
- Remove clang check from GCC-related workaround
...
It caused a clang warning/error regarding the non-existing flags '-fno-tree-dominator-opts' and '-fno-tree-fre'.
2014-01-17 19:11:29 +01:00
Edoardo Prezioso
f51fcd90b3
- Fixed scanf in IWAD picker without GTK
...
If you try to kill the program with Ctrl-C, it would run the first IWAD available in the list instead of closing it.
2014-01-17 18:57:52 +01:00
Christoph Oelckers
af3e619232
Merge branch 'uniquetid_overflow_fix' of https://github.com/edward-san/zdoom
2014-01-16 11:38:53 +01:00
Edoardo Prezioso
2501dc6df6
Fixed signed overflow issue, which caused a non-intended aggressive optimization by GCC 4.8. Also, negative values of the 'limit' parameter in both ACS UniqueTID() and in 'utid' CCMD are ignored and replaced by 0.
2014-01-13 01:48:31 +01:00
Christoph Oelckers
725d3e3f53
Merge branch 'master' of https://github.com/Edward850/zdoom
2014-01-12 10:53:34 +01:00
Edward Richardson
6db974918a
Treat packets from unknown nodes differently
...
Instead of trying to decompress packets from unknown connections (and
failing them anyway), they are now reported and discarded without doing
anything else.
2014-01-12 18:39:19 +13:00
Braden Obrzut
db4a23e3c4
Merge branch 'origin/maint'
2014-01-10 02:19:14 -05:00
Braden Obrzut
44c4736de3
- Ignore unknown properties in the GAMEINFO lump instead of throwing an error.
2014-01-10 02:16:41 -05:00
Braden Obrzut
fa516c5ee6
- For some reason __MAC_10_6 is defined in the 10.5 SDK so use MAC_OS_X_VERSION_MAX to check SDK version instead.
2014-01-07 00:55:32 -05:00
Braden Obrzut
bbd3106cbb
Merge commit 'b3f5de356f14e2026cc9e5738e8b58e22e7daa44'
2014-01-06 04:04:51 -05:00
Braden Obrzut
d8ff4ec281
- Fixed: All clang 5.0 warnings.
...
- Renamed autostart/autozend since Xcode’s build process links in strictly alphabetical order.
2014-01-05 19:50:09 -05:00
Braden Obrzut
b3f5de356f
- Fixed: SBarInfo's gamemode command used to ignore unknowns (for cross compatibility). On top of restoring the old behavior, generate a warning for only the first ignored instance.
2014-01-05 15:46:11 -05:00
Braden Obrzut
b0f40c0733
- So we did end up restoring the variable that the last commit was compensating for.
2014-01-04 00:37:15 -05:00
Braden Obrzut
4770b9b27b
- Fixed: Rampage timer should only reset when the weapon is ready to be fired.
2014-01-03 01:21:21 -05:00
Braden Obrzut
511bdc7208
- Work around GCC 4.8 bug 54570
2014-01-02 19:41:53 -05:00
Braden Obrzut
50cec119a0
- Work around GCC 4.8 bug 54570
2014-01-02 19:12:03 -05:00
Christoph Oelckers
853c1c4f1e
Merge branch 'master' of https://github.com/Edward850/zdoom
2014-01-01 16:51:27 +01:00
Edward Richardson
455145d611
Stall testing for interpolation
...
Uncapped framerate never triggered the stall detection code, as it never
tried to process a frame to start with.
2014-01-02 00:04:32 +13:00
Christoph Oelckers
6e0f885135
- fixed: The 3D floor setup code treated alphas larger than 255 as translucent. This was causing problems with ZDCMP2 in GZDoom
2013-12-25 22:30:47 +01:00
Christoph Oelckers
ae49044f96
- let 'showloadtimes' measure UDMF parsing.
2013-12-19 17:59:58 +01:00
Christoph Oelckers
3e0325c8b0
Merge branch 'master' of https://github.com/rheit/zdoom
2013-12-17 17:24:43 +01:00
Christoph Oelckers
9a927c2030
Merge branch 'master' of https://github.com/Edward850/zdoom
2013-12-16 11:56:58 +01:00
Edward Richardson
a993b0288a
Stop prediction from playing and stopping sounds
...
Player prediction would play *jump and stop falling sounds, creating odd
cases of sound repetition before the gametic caught up.
2013-12-16 23:02:27 +13:00
Braden Obrzut
5904df7f56
Merge branch 'maint'
2013-12-13 03:05:06 -05:00
Braden Obrzut
12d45bbc33
- Use setenv for LC_NUMERIC since setlocale gets reset by the libraries on some systems.
2013-12-13 03:00:35 -05:00
Braden Obrzut
10c312f55c
- Silence GCC PCD_PRINTBINARY warning since we've been able to since GCC 4.6.
2013-12-13 02:51:15 -05:00
Christoph Oelckers
74dee4cd63
- removed ddraw.lib from CMake files because that library is not used anymore.
2013-12-09 11:24:58 +01:00
Christoph Oelckers
31c9a0b0e8
- Subtract should respect alpha.
2013-12-05 15:36:20 +01:00
Christoph Oelckers
c959b3f250
- added 'subtract' render style to DECORATE parser. This is actually 'reverse subtract'
2013-12-05 15:28:09 +01:00
Christoph Oelckers
86d7a326be
- allowdecals logic was nonfunctional.
2013-12-01 21:11:33 +01:00
Christoph Oelckers
25f60779fd
- fixed: The 'allowdecals' check in animated doors was wrong.
2013-12-01 20:20:26 +01:00
Christoph Oelckers
8b92597508
Merge branch 'master' of https://github.com/Edward850/zdoom
2013-12-01 18:29:46 +01:00
Edward Richardson
7045f195f3
Removed excess value from stall debug output
...
The debug output for a stalled Arbitrator had an excess Net_Arbitrator
value, bumping the gametic+counts value off the output.
2013-12-02 06:23:22 +13:00
Christoph Oelckers
c5b2c95572
- fixed placement and handling of 'allowdecals' for animated doors.
2013-12-01 15:11:41 +01:00
Christoph Oelckers
a89ecdad50
Merge branch 'master' of https://github.com/Edward850/zdoom
2013-12-01 10:27:40 +01:00
Edward Richardson
662bc7a3ac
cl_bloodtype could break playsim sync
...
Corrected entries were blood would spawn inconsistently because of
cl_bloodtype. Blood now always spawns but is marked invisible according
to cl_bloodtype.
2013-12-01 22:06:48 +13:00
Christoph Oelckers
7e062f394b
- fixed: animated door textures defined by index were not added to the sequence.
...
- fixed: animated doors should set 'no decals' for the texture.
- added 'allowdecals' option to override the above.
2013-12-01 01:26:30 +01:00
Christoph Oelckers
698495efc5
- fixed: missing return in playerinfo CCMD added.
2013-12-01 01:21:43 +01:00
Christoph Oelckers
e7225bced6
- check negative XScale on sprites to allow mirroring.
2013-12-01 01:15:10 +01:00
Braden Obrzut
c04a800e2b
- When doing OLDSTYLE builds we can use the RUNTIME_OUTPUT_DIRECTORY_<CONFIG> properties to force the output location properly.
2013-11-29 17:10:29 -05:00
Christoph Oelckers
cbed4624fa
- added a user-settable factor for earthquake intensity. Value can be between 0 (no shaking) and 1 (normal shaking.)
2013-11-29 13:24:38 +01:00
Christoph Oelckers
b9c032461e
- add a CMake option to enable/disable SSE2 with Visual C++. This is necessary because since VC 2012 SSE2 is the default instruction set.
2013-11-29 12:35:45 +01:00
Braden Obrzut
a8090dc22c
- Remove a hardcoded "zdoom" so that the name passed into the copy operation should always match that passed to /MAP.
2013-11-29 02:09:27 -05:00
Braden Obrzut
c21beb0b6c
- Fixed: Some versions of Visual Studio put the map file in a different location.
2013-11-29 01:54:46 -05:00
Christoph Oelckers
7cb70f60b3
- removed duplicate #define warning in fmodsound.cpp.
...
- commented out output of Cr0NpxState for floating point state because this variable was renamed in most recent Windows headers.
- added CMAKE option to generate assembly output for release builds.
- added my CMake-based project directory to .gitignore.
2013-11-28 11:03:19 +01:00
Braden Obrzut
0c1d92834a
- Fixed: Some setups require the dynamic linking library to be linked explicitly, so specify it when using DYN_FLUIDSYNTH
2013-11-26 17:58:55 -05:00
Braden Obrzut
c7632174d8
- Fixed error in manifest embedding that stopped the binary from working on Windows XP.
...
- Tweaked PK3 copying commands so that it shouldn't be possible to end up with files named Debug/Release.
2013-11-26 12:49:23 -05:00
Christoph Oelckers
8bf5872fc0
- always add DelayImp.lib for MSVC.
2013-11-24 10:27:08 +01:00
Randy Heit
fe67ae5e54
Merge branch 'maint'
2013-11-19 21:01:15 -06:00
Randy Heit
f4e9edccb9
Don't display the cost in dialogues twice
...
- Fixed: Commit 75dd5503
, which was to enable the use of LANGUAGE
substitutions for conversation items with a cost attached, neglected to
remove the original code that attached the cost to the end of the item,
so the cost got added twice.
2013-11-19 19:55:57 -06:00
Randy Heit
d4304c3bde
Change tspeed += 2 to *= 2
...
- Fixed: The initial keyboard turn rate used the running initial rate whether
+speed was down or not.
2013-11-19 19:49:17 -06:00
Braden Obrzut
c7099744bd
- Minor changes to the CMake since it looks like VS2005 doesn't support a few things that were added.
2013-11-11 23:56:58 -05:00
Edward Richardson
a967b05290
Improvements to restoring stalled netgames
...
- The waiting message is now always cleared, regardless if it needed to
be in the first place. It's a rather simple for-loop so I doubt it
matters.
- Nodes are also cleared from the list if they catch up while other
nodes are still behind.
- "lastglobalrecvtime" is now bumped after the waiting loop if a tic was
successful, rather then bumping it every time a packet was received. It
appears that you can receive a packet before the game knows it stalled,
thus stalling it anyway.
- Instead of comparing the nettics to the local node, all nodes are
tested against gametic+counts (the real reason why the game has
stopped).
- More then one node can be marked as late at any one time.
- In a packet-server game, the arbitrator is now assumed slow, rather
then testing it. There is no point, seeing as we already know the game
has stalled because of it.
2013-11-11 20:42:54 +13:00
Braden Obrzut
34457ce737
- Applied VoidMage's patch to strip color codes from system console on SDL platforms.
2013-11-06 13:42:05 -05:00
Braden Obrzut
f0b946c3cf
- Allow use of system GME library. It defaults to forcing the use of the internal library at least for now though.
2013-11-06 13:37:34 -05:00
Braden Obrzut
2142e857a9
- Applied VoidMage's OpenAL patch.
2013-10-23 19:41:58 -04:00
Braden Obrzut
97d7b1e59e
Merge branch 'origin/maint'
...
Conflicts:
src/sound/fmodsound.cpp
2013-10-23 19:39:22 -04:00
Braden Obrzut
7dbf4ec38f
- Slight cleanup and I accidentally inverted the map generation flag.
2013-10-12 01:58:39 -04:00
Braden Obrzut
0759a4b438
- Actually, lets not use /Gm since it's incompatible with /MP which will be much faster on multi-core machines.
...
- Added ZDOOM_GENERATE_MAPFILE which enables linker map file generation.
2013-10-12 01:44:57 -04:00
Braden Obrzut
03b75ae7c1
- Fixed a few flags for Visual Studio compilation.
2013-10-12 00:56:49 -04:00
Braden Obrzut
b9a1528747
- DYN_FLUIDSYNTH now defaults to ON.
...
- Added ZDOOM_OUTPUT_OLDSTYLE (could probably use a more descriptive name) which causes CMake to vary the executable name by build type and place the exes and pk3s into the directory specified in ZDOOM_OUTPUT_DIR.
- ALL_BUILD will now launch ZDoom.
2013-10-10 17:40:15 -07:00
Randy Heit
d76dbcaa9d
Merge branch 'maint'
2013-10-09 22:33:58 -05:00
Randy Heit
02514dc9b2
- Fixed: AFSwordMissile::DoSpecialDamage had a unique prototype
...
so it would never actually be called.
2013-10-09 22:32:52 -05:00
Randy Heit
637798c1b5
Add handling for +warp at the command line.
...
- Command-line console commands are executed before a level is entered, so
trying to use +warp to position yourself at a specific location will not
work. We now specially handle this command so that it does work.
2013-10-09 22:15:11 -05: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
c2bac9d2df
Add WorldPanning flag for camera texture definitions.
...
- To make camera textures pan in world units instead of texture units, you
can now add "WorldPanning" at the end of the cameratexture definition in
ANIMDEFS, after the "fit" specification. e.g.
cameratexture CAMTEX 128 128 fit 64 64 worldpanning
2013-10-09 21:29:28 -05:00
Christoph Oelckers
03f19a12fa
Merge branch 'maint'
2013-10-09 12:52:33 +02:00
Christoph Oelckers
8170cfbf98
- added my own FMOD path to CMakeLists.txt so that I can use it to create VC++ 2010 files with it.
2013-10-09 12:52:07 +02:00
Randy Heit
242f2ab7b0
Merge branch 'maint'
2013-10-08 21:51:51 -05:00
Randy Heit
0c9c624e8c
Do not follow NextThinker links in DestroyThinkersInList
...
- Fixed: DThinker::Destroy(Most)ThinkersInList() were unreliable when
destroyed thinkers destroyed more thinkers in the same list.
Specifically, if the thinker it destroyed caused the very next thinker
in the list to also be destroyed, it would get lost in the thinker list
and end up with a NULL node. So just keep iterating through the first
thinker in the list until there are none left. Since destroying a
thinker causes it to remove itself from its list, the first thinker will
always be changing as long as there's something to destroy.
2013-10-08 21:32:26 -05:00
Randy Heit
3c376aa342
Move C_ExecCmdLineParams() call slightly later in the startup process.
...
- Fixed: You could not set any CVARINFO-defined cvars from the command line
because command line console commands were executed before wads were
even loaded. Off the top of my head, I can't think of anything that would\
break by having them get executed after wads are loaded.
2013-10-08 20:18:35 -05:00
Randy Heit
d558cf51a9
- Fixed: ABackpackItem::CreateTossable did not check for failure from the supermethod.
2013-10-08 19:59:46 -05:00
Braden Obrzut
4ced90756a
- Let CMake know about noncompiled cpp files so they can appear in project files.
...
- Fixed: Somehow when I added a way to disable generator expressions I inverted the meaning of NO_GENERATOR_EXPRESSIONS.
2013-10-08 15:35:50 -04:00
Christoph Oelckers
eb186a5b92
Merge branch 'maint'
2013-10-07 11:58:53 +02:00
Christoph Oelckers
c4d2a021b0
- fixed: AInventory::BecomePickup must not restore the MF_COUNTITEM flag when transforming the inventory item into a pickup again.
2013-10-07 11:53:58 +02:00
Braden Obrzut
f386d6b1e3
- Embed the proper manifest file and group soure files when building Visual Studio projects with CMake. (The groups probably also apply to other project types as well.)
2013-10-06 14:37:51 -04:00
Braden Obrzut
ffae34c5fd
- Changed the new default alignment keyword for drawimage from topleft to none in order to allow a potential topleft without image offsets.
2013-09-30 20:02:05 -04:00
Braden Obrzut
658b4f7e0f
- For some reason git decided not to include the actual changes for the last commit.
2013-09-21 15:30:32 -04:00
Braden Obrzut
e8bcbd14fb
- Added vid_asyncblit for Linux and OS X. It defaults to true and sets SDL_AYNCBLIT on the frame buffer. This allows for ZDoom to obtain ~100% CPU usage with an uncapped frame rate on Linux like it should. (Not sure if it does anything for OS X yet.) It also makes uncapped play smoothly for me (as long as the frame rate is >= 2*refresh rate), but I'm not sure if capped feels more jittery or not. I could use some feedback here. Do note that vid_asyncblit requires a restart after the value is changed.
2013-09-21 13:20:36 -04:00
Braden Obrzut
f73275ad88
- Applied Tesseract's patch for drawimage extensions. (Extended icon support and maximum width/height.)
2013-09-21 12:46:19 -04:00
Randy Heit
fc843c28ba
Merge branch 'maint'
2013-09-18 22:06:31 -05:00
Randy Heit
5850279090
- Fixed: Thing_SetGoal could put an actor's target and goal out of sync.
...
If an actor is already targeting a goal, and Thing_SetGoal is used on
it, it would still be left targeting the old goal instead of the new
one. This messed up checks in A_Chase for walking towards a goal vs a
real target.
2013-09-18 22:03:59 -05:00
Randy Heit
ad7aefff20
- Fixed: Do not apply AVOIDMELEE logic when moving toward a goal
2013-09-18 21:52:29 -05:00
Randy Heit
75535fba72
Do not enter testing mode if a valid mode is not selected.
...
- It doesn't make much sense to "test" the current mode if a non-video
mode is selected in the menu, so don't.
2013-09-18 21:32:46 -05:00
Randy Heit
e3741c8097
GetSelectedSize() needs to check for a valid selection.
...
- With mouse navigation, there's no guarantee that there even is a
selected item.
2013-09-18 21:29:19 -05:00
Randy Heit
a7a7d5d6b3
Add missing prantheses for A_CustomPunch's puffFlags calculation
...
- Fixed: Need parentheses for precedence when setting puffFlags in
A_CustomPunch. Otherwise, it's completely broken.
2013-09-18 21:25:00 -05:00
Randy Heit
d05cdb79ef
Switch true to LAF_ISMELEEATTACK inside A_Punch's call to P_LineAttack()
2013-09-18 21:22:21 -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
Randy Heit
e748c49dd0
- Fixed: m_specialpaths.cpp did not compile under Linux.
2013-09-18 17:29:42 -05:00
Christoph Oelckers
8ef130c376
Merge branch 'master' of https://github.com/rheit/zdoom
2013-09-18 09:40:48 +02:00
Christoph Oelckers
f591c5df5e
- fixed: saving the config to the user's known folders should use the GAME_DIR #define, not 'zdoom' so that child ports can have their own.
2013-09-18 09:40:40 +02:00
Randy Heit
e021fba5e1
Improve NoDelay reliability.
...
- Instead of tying NoDelay behavior to OF_JustSpawned, use a new actor
flag, MF7_HANDLENODELAY. This only gets cleared once it has actually
been checked by Tick(). This is necessary because freeze mode delays the
initial run of Tick() past the initial spawn, so OF_JustSpawned will no
longer be set when it does the initial tick.
- Delay NoDelay processing if an actor is spawned dormant. Actors spawned
dormant have Deactivate() called before they tick, so MF7_HANDLENODELAY
will remain set as long as an actor is dormant. This allows the NoDelay
handling to occur as expected once it is activated.
2013-09-17 20:44:13 -05:00
Randy Heit
a3e74bb39f
Merge branch 'master' of github.com:rheit/zdoom
2013-09-17 17:32:04 -05:00
Randy Heit
88b05fe2a1
Fixed: SHGetKnownFolderPath needs to be declared as WINAPI.
2013-09-17 17:31:29 -05:00
Christoph Oelckers
c1aac878b0
Merge branch 'maint'
2013-09-15 23:12:21 +02:00
Christoph Oelckers
8847d5649a
- fixed: Bridge needs to call Super::Destroy.
2013-09-15 23:11:55 +02:00
Christoph Oelckers
d36afb975c
- fixed the Linux portion of m_specialpaths.cpp which had a section of GetUserFile duplicated.
2013-09-15 08:57:22 +02:00
Randy Heit
0645053431
Add support for standard file paths on Windows.
...
- If the current user does not have write permissions for the directory
zdoom.exe is located in, use standard folder paths located in their home
directory instead. This is a common scenario when people put ZDoom into
Program Files. (Ironically, zdoom.ini used to be in AppData, buth then
people complained when it wasn't in the same directory as zdoom.exe, so
it got turned into zdoom-<user>.ini so at least it could retain some
multi-user support. I'm not sure when the AppData support was removed,
though, since it should have still been kept around for migrating
configs to the new name.)
2013-09-14 23:07:59 -05:00
Randy Heit
da02a44126
Consolidate special path functions into m_specialpaths.cpp
...
- Also remove CDROM_DIR while I'm at it.
2013-09-14 21:04:00 -05:00
Christoph Oelckers
e4e26e7aa7
Merge branch 'maint'
2013-09-13 10:17:38 +02:00
Christoph Oelckers
ea0e4ed344
- fixed: The Hexen bridge must make its balls disappear when it gets destroyed.
...
Hexen did this with a call to A_BridgeRemove in Thing_Destroy which merely set a flag in the bridge object, which cannot be done safely in ZDoom because it's not guaranteed that the ball object calls A_BridgeOrbit and the garbage collector may delete the bridge actor before it can be checked so now the Bridge's Destroy method deletes all balls attached to the bridge object itself.
2013-09-13 10:07:43 +02:00
Christoph Oelckers
18386e4b23
Merge branch 'maint'
2013-09-03 08:44:52 +02:00
Christoph Oelckers
11c026ee84
- fixed: displaying sprites on the automap ignored both the actor's scale and translation.
2013-09-03 08:34:55 +02:00
Christoph Oelckers
75dd5503cf
- fixed: Cost strings for dialogues must not be added in the dialogue parser but while displaying the message to properly handle stringtable entries.
2013-09-03 08:24:47 +02:00
Christoph Oelckers
4ed27c22fd
Merge branch 'master' of https://github.com/MazterQyou/zdoom
2013-09-03 07:59:37 +02:00
Alex Qyoun-ae
b6baeecd9a
Fixed compilation with LLVM compilers
2013-09-03 03:49:39 +04:00
Christoph Oelckers
ba2a07fb26
- removed all uses of single precision floats from FraggleScript code.
2013-09-02 09:08:47 +02:00
Randy Heit
267030c759
Merge branch 'maint'
2013-08-30 23:13:32 -05:00
Randy Heit
260ce62175
Don't abort for TEXTUREx lumps that define textures with no patches
...
- A texture defined in TEXTUREx without any patches isn't necessarily an
error, so accept. This also means they shouldn't be used for determining
if a TEXTURE directory belongs to Strife instead of Doom.
2013-08-30 23:10:20 -05:00
Randy Heit
b0371e1804
Don't abort when merely checking if a non-map is a map
...
- When P_OpenMapData() is called by P_CheckMapData(), we don't actually
care if any required lumps are missing. This just means it isn't a valid
map, so don't abort with I_Error().
2013-08-30 22:38:57 -05:00
Randy Heit
33ee8f9fef
Merge branch 'maint'
2013-08-29 22:27:49 -05:00
Randy Heit
0f0d9da839
Reset FirstFreeEntry in ACSStringPool::ReadStrings()
...
- Fixed: When an ACS string pool was read from a savegame, FirstFreeEntry
would not be updatedt, except by the Clear() function. This left FirstFreeEntry
at 0, which meant the next string added to the pool would always go in
slot 0, whether it was free or not.
2013-08-29 22:22:30 -05:00
Randy Heit
7143ae49e1
Fixed: CheckPlayerCamera not sync safe
...
- If a player is spying through another player, CheckPlayerCamera will
return the TID of the player you are "spying", but as coopspy isn't a
net command, this wont be reflected by all nodes. So to fix this,
CheckPlayerCamera now returns -1 if a player's camera is that of any
player at all. (thanks edward850)
2013-08-29 21:45:37 -05:00
Randy Heit
aac0de3e48
Fixed: Make A_SetTics work with weapons.
...
- When A_SetTics is called from a weapon, we need to set the tics for the
psprite instead of the actor itself.
2013-08-29 21:40:01 -05:00
Randy Heit
28e5cc536a
Add some awareness of short file names
...
- Added I_GetLongPathName(). It wraps the Win32 API's GetLongPathName().
DArgs::CollectFiles() now calls this for every argument it processes, so
any arguments passed using short file names will be converted to long
file names. This is mainly of interest so that savegames will never
record the short file name, which can change based on what else is in
the directory.
2013-08-29 21:24:05 -05:00
Christoph Oelckers
9c2454eacc
Merge branch 'maint'
2013-08-28 11:20:53 +02:00
Christoph Oelckers
26c381224c
- removed unused constants in p_map.cpp.
2013-08-28 11:16:30 +02:00
Christoph Oelckers
f8899f98fc
- fixed: The secret counter was not incremented for items that had the UDMF COUNTSECRET flag set.
2013-08-28 11:14:48 +02:00
Braden Obrzut
0a16e9a256
- Fixed uninitialized variable in A_AlertMonsters.
2013-08-27 20:42:35 -04:00
Braden Obrzut
0fb37ca5f1
Merge branch 'maint'
2013-08-27 20:41:10 -04:00
Braden Obrzut
5079d6c505
- Fixed: clang 32-bit compile (I hear it still doesn't run though).
...
- Applied edward's patch to remove boolean increment.
2013-08-27 20:28:38 -04:00
Christoph Oelckers
8e8f6cf5a6
- A_AlertMonsters flags submission by NeuralStunner.
2013-08-20 20:33:03 +02:00
Christoph Oelckers
116defbb35
- fixed: LookForEnemiesInBlock needs to check for MF7_NEVERTARGET.
2013-08-18 09:11:40 +02:00
Christoph Oelckers
62830f7927
- added separate automap color for non-counting monsters.
...
- fixed: using a nonexistent CVAR in a ColorPicker menu item caused a crash.
2013-08-14 00:32:05 +02:00
Christoph Oelckers
c8b4fb0d3d
- added a 'closemenu' CCMD so that menu options that close the menu can be added.
2013-08-13 21:09:46 +02:00
Christoph Oelckers
7a87e08107
- added MF7_ALWAYSTELEFRAG flag that causes an actor to be telefragged by everything that teleports into the same place.
2013-08-13 21:01:14 +02:00
Christoph Oelckers
9ebf345fec
Merge branch 'maint'
2013-08-13 08:53:23 +02:00
Christoph Oelckers
1b79f7d956
- fixed chance default for ACS's DropItem.
2013-08-13 08:52:53 +02:00
Christoph Oelckers
3518b4dd28
- allow menu's back button and the pause sign to be animated.
2013-08-12 22:46:45 +02:00
Christoph Oelckers
61c94648dc
- added ACS CheckFlag function.
2013-08-12 22:38:52 +02:00
Christoph Oelckers
ba3e57281a
Merge branch 'maint'
2013-08-12 21:12:20 +02:00
Christoph Oelckers
072b66fb9f
- fixed: The music that's defined in the Gameinfo section of MAPINFO could not set the order for multitrack music lumps.
2013-08-12 21:11:53 +02:00
Christoph Oelckers
aa03609b69
- added IF_TOSSED inventory flag.
2013-08-12 21:00:23 +02:00
Christoph Oelckers
be1a00c537
Merge branch 'maint'
2013-08-12 20:42:21 +02:00
Christoph Oelckers
e14590d8ce
- moved NOTELESTOMP to flags7. When committing I was accidentally on maint instead of master and in master flags6 was already full.
2013-08-12 20:41:33 +02:00
Christoph Oelckers
44a1b94ad9
- added MF6_NOTELESTOMP flag that prevents an actor from telefragging under all possible circumstances.
2013-08-12 20:23:54 +02:00
Christoph Oelckers
f2c250d35d
- flags7 variable added to AActor.
2013-08-12 20:09:21 +02:00
Christoph Oelckers
2bcc5cd7cc
Merge branch 'maint'
2013-08-12 09:14:18 +02:00
Christoph Oelckers
ecfe67dd78
- removed weirdness from Powerup.Strength property that was specifically tailored to its use on PowerInvisibility and made its use problematic elsewhere.
2013-08-12 09:13:55 +02:00
Christoph Oelckers
fabf8272e6
Merge branch 'maint'
2013-08-11 21:04:17 +02:00
Christoph Oelckers
1b2d8420bb
- DropItem for ACS.
2013-08-11 20:57:53 +02:00
Christoph Oelckers
c0174ea7cd
- Added A_DropItem for DECORATE.
2013-08-11 20:48:08 +02:00
Christoph Oelckers
35764ff3b2
- fixed: Powerup.Strength is a fixed point value, so using it as health amount for PowerRegeneration requires division by FRACUNIT.
2013-08-11 20:39:53 +02:00
Christoph Oelckers
5bb4b558a4
Merge branch 'maint'
2013-08-11 13:37:36 +02:00
Christoph Oelckers
c5cba70fc8
- removed obsolete quit message #defines.
2013-08-11 13:36:48 +02:00
Christoph Oelckers
c7a46492eb
- fixed bad index variable in R_RenderFakeWallRange.
2013-08-11 12:41:14 +02:00
Christoph Oelckers
3bcc4078b1
Merge branch 'maint'
2013-08-10 10:19:20 +02:00
Christoph Oelckers
1c889dc9fa
- let APowerRegeneration use the Strength property to define the amount of regeneration it gives.
2013-08-10 09:51:48 +02:00
Christoph Oelckers
c8f0df44f2
Merge branch 'maint'
...
Conflicts:
src/am_map.cpp
2013-08-10 09:41:50 +02:00
Christoph Oelckers
25ec3fb8fe
- added MF6_RELATIVETOFLOOR flag.
2013-08-10 09:32:55 +02:00
Christoph Oelckers
211d293002
- added MF6_NOTONAUTOMAP flag to exclude things from being shown with the scanner powerup. The IDDT cheat will not be affected by this.
2013-08-10 08:53:37 +02:00
Christoph Oelckers
55f637c906
- fixed: When creating colormaps for 3D floors the model sector's fade value must be used when defining a fog volume.
2013-08-09 23:40:34 +02:00
Christoph Oelckers
9c12c03684
Merge branch 'maint'
2013-08-09 20:36:08 +02:00
Christoph Oelckers
6a07118ea4
- added ML_BLOCKHITSCAN line flag.
2013-08-09 20:35:10 +02:00
Christoph Oelckers
a78ad3188b
- added MF5_NOFORWARDFALL flag to prevent attacks from making its victim fall forward randomly.
2013-08-09 20:20:23 +02:00
Christoph Oelckers
0a258f95ea
- added gravity property to UDMF things. Positive values are multiplied with the class's gravity property, negative values are used as their absolute.
2013-08-09 16:25:16 +02:00
Christoph Oelckers
21bce3b0c4
Merge branch 'maint'
2013-08-09 12:51:26 +02:00
Christoph Oelckers
5d0369d4ed
- Ability to set A_VileAttack's initial attack's damage type - by BlueShadow.
2013-08-09 12:18:58 +02:00
Christoph Oelckers
b187451a71
- added APROP_ViewHeight and APROP_AttackZOffset submission by TheFortuneTeller.
2013-08-09 12:06:51 +02: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
a0c214104d
Merge branch 'maint' of https://github.com/rheit/zdoom into maint
2013-08-09 11:47:33 +02:00
Christoph Oelckers
e6c880c93a
- fixed: The sector's 'hidden' UDMF property did not properly clear the corresponding flag if the value was 'false'.
...
- added UDMF 'waterzone' property for sectors.
2013-08-09 11:47:25 +02:00
Christoph Oelckers
151d54aaf5
- added 3 more modes for am_cheat: 4-6 are the same as 1-3 with the exception that lines not drawn on the regular automap won't be shown.
2013-08-09 11:32:46 +02:00
Christoph Oelckers
9f35788164
- added custom automap overlay colors.
...
- extended am_drawmapback so that map backgrounds can only be drawn if used with custom colorsets and Raven's, assuming that these sets were specifically made for the accompanying backgrounds.
2013-08-09 11:00:24 +02:00
Braden Obrzut
5b228ae5a7
Merge branch 'maint'
2013-08-09 00:25:51 -04:00
Braden Obrzut
7e76fb0078
- Fixed: Disable ifitem jumping if a link isn't specified since an invalid value can cause a crash.
2013-08-09 00:25:29 -04:00
Braden Obrzut
bb494292c6
- Fixed P_CheckMapData allowed non-map lump names to pass resulting in a crash when actually trying to load the map.
2013-08-08 23:47:58 -04:00
Christoph Oelckers
8f45e906d4
Merge branch 'automap_colors'
2013-08-02 18:16:05 +02:00
Christoph Oelckers
aa72857c72
- implemented automap color parser for MAPINFO (code not tested yet!)
2013-08-02 16:56:42 +02:00
alexey.lysiuk
5c05f1f3cd
- Ignored dehacked.exe from *.zip files to enable loading of *.deh files.
2013-08-02 10:17:06 +03:00
Christoph Oelckers
845020c617
- ovthingcolors were not properly set.
...
- added all the missing color CVARs for the overlays which previously duplicated use of one of the other CVARs.
2013-07-31 23:13:20 +02:00
Christoph Oelckers
d77673d681
- reorganization of automap color handling for easier maintenance
...
Mostly preparation to implement a per-mod automap option but also fixes a few minor issues with some colors that are not defined in the original game specific colorsets.
2013-07-31 22:59:35 +02:00
Edoardo Prezioso
0dc70f847c
- Be more compatible with C++11 narrowing conversions system.
2013-07-31 12:27:54 +02:00
Edoardo Prezioso
8cab8f180b
- Be clear about the safe 'memset/memcpy' operations on virtual classes.
...
Since I remember that 'memset/memcpy' is safe in this code, it should be okay to cast to the generic pointer all the 'virtual class' arguments before calling the above functions. Shuts up Clang warnings.
2013-07-31 12:23:31 +02:00
Christoph Oelckers
4eb6f74e36
Merge branch 'maint'
2013-07-30 16:53:00 +02:00
Christoph Oelckers
3480d40484
- fixed: AActor::Die may only randomize the death state's duration if it is positive. Otherwise -1 (infinite) gets clobbered.
2013-07-30 16:52:36 +02:00
Christoph Oelckers
9c08a029b1
Merge branch 'maint'
2013-07-30 15:14:10 +02:00
Christoph Oelckers
a13af5cc65
Merge branch 'maint' of https://github.com/edward-san/zdoom into maint
2013-07-30 15:08:44 +02:00
Edoardo Prezioso
7e21eafc2f
- Fixed mismatched alloc/dealloc in FTextureManager.
...
The 'TextureFrames', which is attached to all the 'mAnimatedDoors', were deleted with one-pointer 'delete' and they were allocated with 'new[]'.
2013-07-30 13:36:56 +02:00
Christoph Oelckers
e01c4e0201
Merge branch 'maint'
2013-07-30 13:18:08 +02:00
Christoph Oelckers
16456bec56
- added separate colors for the various types of 2-sided walls for the overlay automap. They previously all mapped to the same CVAR.
2013-07-30 13:17:20 +02:00
Edoardo Prezioso
4ce0574b3f
- Use a more conformant C++ preprocessor macro identifier for Unix systems.
...
The 'unix' identifier isn't defined when '-std' is passed to the compiler (tested with gcc and clang), so use '__unix__' which is well enough documented.
2013-07-30 11:46:14 +02:00
Christoph Oelckers
81334809c4
- changed autoloading of *.deh lumps: it is now controlled by a CVAR with 3 options: never load *.deh lumps, load all of them or only load the last one. *.deh loading is disabled by default.
2013-07-30 09:32:33 +02:00
Christoph Oelckers
27de9f45af
- commented out autoloading of .DEH lumps for maint branch.
2013-07-30 09:25:07 +02:00
Christoph Oelckers
805de60aa4
- fixed: ChangeSpy didn't check if a player's camera's player pointer was valid before using it to get an index into the players table.
2013-07-30 09:16:27 +02:00
Braden Obrzut
bc71d4537e
Merge branch 'maint'
2013-07-29 18:55:29 -04:00
Braden Obrzut
eb5d57be06
- Fixed: crash when closing ZDoom in the save menu and a memory leak.
2013-07-29 18:35:19 -04:00
Christoph Oelckers
c7d167d278
- used TEXTCOLOR_ #defines for colorizing CCMD list, remove use of strbin1.
2013-07-28 17:15:47 +02:00
Christoph Oelckers
6f4b09cc77
Merge branch 'master' of https://github.com/slatenails/zdoom
2013-07-28 16:42:36 +02:00
Christoph Oelckers
c253d40fbb
- externalize labels for automap statistics display to the string table.
2013-07-28 16:18:57 +02:00
slatenails
48a29b769f
Results for console tab-completion are now color-coded. CCMDs appear blue, CVars green and aliases red.
2013-07-28 14:58:30 +03:00
Christoph Oelckers
775ecdeebb
- fall back to drawing triangles on automap when encountering actors with non-displayable sprites
2013-07-28 10:14:46 +02:00
Christoph Oelckers
992ba0bbf4
- added handling of MF3_FOILINVUL for A_BFGSpray. This function needs special treatment because the shooting player is considered the inflictor of the spray damage.
2013-07-26 00:52:12 +02:00
Christoph Oelckers
7006df8d96
- fixed sprite rotation in automap submission
2013-07-25 17:19:36 +02:00
Christoph Oelckers
9ed829c3af
Merge branch 'map_sprites' of https://github.com/alexey-lysiuk/gzdoom
2013-07-25 16:39:53 +02:00
alexey.lysiuk
76e1e87456
+ things as sprites on map, controlled with am_showthingsprites CVAR
...
drawing of sprites instead of things/players markers with am_cheat >= 2
possible am_showthingsprites values are:
0 - sprites disabled
1 - static front sprites
2 - animated front sprites
3 - animated sprites with actual things angles
2013-07-25 17:01:07 +03:00
Christoph Oelckers
6dd956c0dc
- fixed: Speaker names in dialogues were not able to use the string table.
2013-07-25 15:58:47 +02:00
Christoph Oelckers
cbc0b70e7c
- TransferStencilColor A_SpawnItemEx patch / by Ryan Cordell.
2013-07-24 20:15:17 +02:00
Christoph Oelckers
af470b3d56
- fixed: The global variables holding the view's fixed colormap must be preserved when rendering to a camera texture.
2013-07-23 12:32:33 +02:00
Christoph Oelckers
181181a865
- removed player_t destructor call in CopyPlayer.
2013-07-23 12:31:44 +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
cb3275cb40
- added NORANDOMPUFFZ flag for LineAttack - by Blue Shadow.
2013-07-22 22:47:13 +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
db562142f0
- Fix c++11 literal suffix warnings / patch by Edward-san.
2013-07-22 22:25:44 +02:00
Braden Obrzut
7723613293
- Fixed: ACS function pointer instructions were not updated when library tag size changed.
...
- Fixed: undefined sequence compiler warning.
2013-07-22 02:09:46 -04:00
Christoph Oelckers
a90b49dc72
- added string table replacement for A_Print, A_PrintBold and A_Log.
2013-07-14 14:33:45 +02:00
Christoph Oelckers
0c86650db0
- fixed: The savegame code for player restoration did some undefined things with the userinfo that only worked due to previous memory leaks. It must ensure that the userinfos get properly transferred and not implicitly rely on the copy assignment being used to copy the actual player data.
2013-07-14 14:22:49 +02:00
Christoph Oelckers
a59a886f94
- fixed: The SectorDamage 3D-floor code didn't account for Vavoom-style 3D floors where floor and ceiling plane of the control sector are inverted.
2013-07-14 13:24:00 +02:00
Christoph Oelckers
3e8e587ac7
- fixed another leak with userinfos: Since they are no longer POD they may not be memset to 0 in the player_t constructor.
2013-07-14 12:37:25 +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
Christoph Oelckers
e9be49f37d
- fixed: R_DeinitPlanes did not free all visplanes because it called R_ClearPlanes with 'fullclear' set to false.
...
- removed some redundancy from R_ClearPlanes.
2013-07-14 09:47:39 +02:00
Christoph Oelckers
10dd75f902
- externalized "New save game" line for save screen.
2013-07-14 09:31:49 +02:00
Braden Obrzut
9dd3c4b2d5
- When erroring due to the lack of iwads, print instructions more relevent to the user's platform.
2013-07-05 00:45:45 -04:00
Braden Obrzut
8afece1b8a
Merge branch 'maint'
2013-07-03 01:58:51 -04:00
Braden Obrzut
80a3e4f902
- Fixed: Cocoa IWAD picker needed to be updated to handle git version strings.
2013-07-03 01:58:13 -04:00
Randy Heit
5b17c0779b
Version 2.7.1
2013-07-02 15:46:31 -05:00
Christoph Oelckers
44dd79953b
Merge branch 'master' of https://github.com/rheit/zdoom
2013-07-02 22:02:20 +02:00
Christoph Oelckers
f1dff6c9d3
- fixed: The new XDeath code forgot to move the assignment of the flags4 variable. Also renamed the variable to avoid conflicts.
2013-07-02 22:01:54 +02:00
Randy Heit
3d61365879
Merge branch 'maint'
2013-07-02 14:51:49 -05:00
Randy Heit
e845b292c2
- Always clear bEvilGrin after checking it in FMugShot::UpdateState(). If
...
it's not an appropriate time to show the grin when the flag is set, it
shouldn't be saved until later.
2013-07-02 14:48:03 -05:00
Randy Heit
5af1e6f734
- Added a compatibility option to fix Super Sonic Doom's first bonus
...
stage leaving you frozen when you finished it.
2013-07-02 14:15:08 -05:00
Randy Heit
d9848a8e26
Merge branch 'maint'
2013-07-01 22:21:37 -05:00
Randy Heit
23e21cc85e
- Fixed: S_IsChannelUsed() is declared as static, so it should be defined
...
as such, too.
2013-07-01 22:02:46 -05:00
Randy Heit
001ed91fd4
- Fixed: ACS's PlaySound should mask off the flag bits from the channel
...
before passing it to S_IsActorPlayingSomething().
2013-07-01 22:01:26 -05:00
Randy Heit
2717ed703d
Shuffle FActionMap for better 64-bit alignment.
2013-07-01 21:51:12 -05:00
Randy Heit
e9425b356b
- Fixed: Verbose user info strings were written with an extra backslash
...
character between the key and value.
2013-07-01 21:40:09 -05:00
Braden Obrzut
cc616a417d
Merge branch 'maint'
2013-07-01 16:58:14 -04:00
Braden Obrzut
02ff428d54
- Allow generator expressions to be turned off during pk3 building with CMake.
...
- On Mac OS X, ensure assembly code is disabled by default (since it won't work).
2013-07-01 16:57:46 -04:00
Christoph Oelckers
7e6a5c1448
- added damage type specific extreme death and extreme crash states. Order of labels is 'Death.extreme.damagetype' ('XDeath.damagetype') and 'Crash.extreme.damagetype'.
...
- fixed: Damage of type 'extreme' did not get recorded as an extreme death for the mugshot code.
- changed: extreme deaths now only get recorded when an extreme death state was actually used, to ensure that the crash state being used is the correct one associated with the death state.
2013-07-01 11:02:35 +02:00
Chris Robinson
665d685a44
Implement GetStats for OpenAL streams
2013-06-30 20:31:41 -07:00
Christoph Oelckers
f501983d1b
Merge branch 'maint'
2013-06-30 18:16:38 +02:00
Christoph Oelckers
310979e9e6
- fixed clang compile error "friend declaration specifying a default argument must be the only declaration".
2013-06-30 18:16:02 +02:00
Chris Robinson
68988ab93c
Handle S8 and U16 samples from SDL_sound
2013-06-30 08:16:49 -07:00
Chris Robinson
c4492f88ee
Make sure streams are "pumped"
2013-06-30 08:04:41 -07:00
Chris Robinson
ba3cc38d09
Support float stream callbacks with AL_EXT_FLOAT32
2013-06-30 08:04:08 -07:00
Chris Robinson
69af01d629
Use SDL_sound when available to decode files
2013-06-30 07:45:57 -07:00
Chris Robinson
99209c4a2a
Remove an unnecessary function
2013-06-30 04:47:10 -07:00
Chris Robinson
5d1cd7b7fe
Small fixups
...
find -> std::find
AL_EXT_loop_points -> AL_SOFT_loop_points
2013-06-30 01:32:48 -07:00
Chris Robinson
4f2e367ec6
Remove GStreamer support
2013-06-30 01:07:09 -07:00
Chris Robinson
b31a729ab8
Fix compilation with OpenAL
2013-06-29 22:44:46 -07:00
Chris Robinson
18597a93a7
Merge remote-tracking branch 'origin' into openal
...
Conflicts:
src/sound/fmodsound.cpp
2013-06-29 19:02:04 -07:00
Christoph Oelckers
f0feee3b4e
Merge branch 'maint'
2013-06-26 01:03:19 +02:00
Christoph Oelckers
fb1734ba50
- fix previous commit and add compat option for Cheogh's blue key.
2013-06-26 00:57:26 +02:00
Christoph Oelckers
72e91786e2
- added SetThingZ compatibility option for fixing problems resulting from the changes to spawn position handling.
2013-06-26 00:57:10 +02:00
Randy Heit
fb965c50a1
Merge branch 'maint'
2013-06-24 20:59:12 -05:00
Randy Heit
a5f5d8adcb
- Remove the first parameter from updaterevision, since it isn't needed with git.
2013-06-24 20:58:14 -05:00
Christoph Oelckers
4189092db8
- spycancel improvement by Edward-san.
2013-06-24 22:50:24 +02:00
Christoph Oelckers
94a3d92f93
Merge branch 'maint'
2013-06-24 16:49:51 +02:00
Christoph Oelckers
394f21f71e
- fixed: Draining health from a victim must check for damage reduction before awarding the health to the player. This affected Heretic's gauntlets, A_Saw and A_CustomPunch.
...
- added a DONTDRAIN flag that prevents the above attacks from draining any health at all.
2013-06-24 16:42:43 +02:00
Christoph Oelckers
c4ad09fe90
- added new MAPINFO/gameinfo keys for adding entries to some string arrays, most notably the player classes and the F1 info pages.
2013-06-24 15:50:30 +02:00
Christoph Oelckers
9f253ccae3
- fixed: Application of inflictor's death damage type was done too late and missed a few spots where it needed.
...
- fixed: DamageTypeReceived was not serialized.
- fixed: The check for unhandled damage type was rendered ineffective by the old code handling the DeathType.
2013-06-24 15:40:17 +02:00
Christoph Oelckers
1976f28df9
- merge cheat fix from maint.
2013-06-24 14:32:55 +02:00
Christoph Oelckers
baa82c396c
- disabled Heretic's 'joke' cheats and Chex's 'idmus' in 'allcheats' mode because their multiple occurence interfered with how the cheat parser works.
2013-06-24 14:25:48 +02:00
Randy Heit
7531191ffe
Get fixed SAVESIG from maint.
2013-06-23 18:14:39 -05:00
Randy Heit
03d2b79bfd
- Fixed: SAVEVERSTRINGIFY macros were wrong.
2013-06-23 18:14:29 -05:00
Christoph Oelckers
d1835b2db8
- DavidPH's patch for Linux compilation.
2013-06-23 17:38:51 -05:00
Christoph Oelckers
ef42955053
- added DavidPH's patch for compiling with FModEx 4.44.01.
2013-06-23 17:38:51 -05:00
Christoph Oelckers
054899ea53
- added Edward-san's patch for allowing 'clang' compiler to use the same 'gcc' cmake settings
2013-06-23 17:38:51 -05:00
Christoph Oelckers
099e365a23
- fixed typo in USDF spec.
...
- comment fixes taken from GZDoom.
- division by zero check in R_SetVisibility from GZDoom.
2013-06-23 17:38:51 -05:00
Christoph Oelckers
3a477f6903
- DavidPH's patch for Linux compilation.
2013-06-23 20:54:21 +02:00
Christoph Oelckers
4286bd68cd
- added Edward-san's spycancel submission.
2013-06-23 20:04:06 +02:00
Christoph Oelckers
a6ba2ce8b9
- added DavidPH's patch for compiling with FModEx 4.44.01.
2013-06-23 18:47:39 +02:00
Christoph Oelckers
7d56311152
- added Ryan Cordell's A_CheckRange submission.
2013-06-23 18:45:17 +02:00
Christoph Oelckers
7c81c2f1ee
- added Edward-san's patch for allowing 'clang' compiler to use the same 'gcc' cmake settings
2013-06-23 18:37:13 +02:00
Christoph Oelckers
aa5f223051
- added _mental_'s patch for loading .deh/.bex files if no Dehacked lump can be found.
2013-06-23 18:34:57 +02:00
Christoph Oelckers
50c5dc62aa
- fixed typo in USDF spec.
...
- comment fixes taken from GZDoom.
- division by zero check in R_SetVisibility from GZDoom.
2013-06-23 10:28:12 +02:00
Randy Heit
54f06739d0
Set master banch up as 2.8pre and maint branch for 2.7.x
2013-06-22 22:44:48 -05:00
Randy Heit
eb3f243fc8
- Make a copy of the polyobject mirror number instead of relying on being able to read it from the initial linedef.
2013-06-22 22:40:17 -05:00
Randy Heit
98ac224e53
- Use gitinfo.h instead of svnrevision.h for versioning.
...
- Use functions in gitinfo.cpp to retrieve the strings from gitinfo.h so
that changes to gitinfo.h only require recompiling one file instead of
several.
2013-06-22 21:49:51 -05:00
Randy Heit
5916ce087b
- Revert r4244. It seems to be working well enough like this, since there have been no complaints.
...
SVN r4341 (trunk)
2013-06-08 03:24:41 +00:00
Randy Heit
9510525fdf
- Bump up to 2.7.0.
...
SVN r4339 (trunk)
2013-06-08 02:20:37 +00:00
Randy Heit
5b65b3ebdf
- Bumped NETGAMEVERSION, which should have been done when I changed the order uservars were sent
...
during netgame initialization.
SVN r4338 (trunk)
2013-06-08 02:18:23 +00:00
Randy Heit
902f6647b6
- Added ACS function CheckFont.
...
SVN r4335 (trunk)
2013-06-06 20:48:57 +00:00
Randy Heit
bac66d5b0e
- Moved the status bar Tick call after the players have been ticked by P_Ticker(), because
...
P_PlayerThink() is where the check for unspawned players happens. If the player attached to the
status bar is one of them, it will crash while ticking.
SVN r4334 (trunk)
2013-06-06 20:34:39 +00:00
Randy Heit
b9e771576f
- Fixed: The time freezer power should do nothing while predicting.
...
SVN r4333 (trunk)
2013-06-06 20:15:04 +00:00
Randy Heit
c6dd658aa8
- Fixed: Polyobjs that rotated faster than their distance would overshoot on their first tic and
...
continue spinning until the next time around because the check for moving too fast was only
done after the polyobject had been rotated once.
- Reduced the potential for overflow when setting up the speed of a rotating polyobj.
SVN r4332 (trunk)
2013-06-06 20:08:56 +00:00
Randy Heit
e32e44209e
- Added SpawnDecal ACS function:
...
int SpawnDecal(int tid, str decalname, int flags, fixed angle, int zoffset, int distance)
Traces a line from tid's actor until hitting a wall, then creates a decal there. Returns the
number of decals spawned.
* tid = Which actor(s) to start the trace at.
* decalname = Which decal to spawn.
* flags =
* SDF_ABSANGLE = Angle parameter is an absolute angle. Otherwise, it's relative to the origin actor's angle.
* SDF_PERMANENT = Decal ignores cl_maxdecals. Otherwise, it will eventually disappear.
* angle = Direction in which to search for a wall. Defaults to 0.0.
* zoffset = Offset from the middle of the origin actor for the Z height of the decal. Defaults to 0.
* distance = Maximum distance to search for a wall. Defaults to 64.
SVN r4330 (trunk)
2013-06-05 02:15:21 +00:00
Randy Heit
5a00f4b59a
- Reduce ACS LineAttack's default range to the standard MISSILERANGE, because making it INT_MAX
...
seems pretty iffy.
SVN r4329 (trunk)
2013-06-04 02:54:57 +00:00
Randy Heit
e2be8b9e7e
- When purging ACS strings, free the strings themselves as well as marking them as free.
...
- Fixed: ACSStringPool::InsertString()'s overflow check was far too low.
- Fixed: When ACSStringPool::InsertString() triggered a garbage collection, it ignored the
newly freed space and expanded the array anyway.
SVN r4328 (trunk)
2013-06-04 02:49:07 +00:00
Randy Heit
5e7ee8f33e
- Addded support for multi-line values in INI files, so you can't maliciously inject stray
...
newline characters into the config file using ACS's SetCVarString.
SVN r4326 (trunk)
2013-06-04 02:06:40 +00:00
Christoph Oelckers
c4b7335312
- fixed: UDMF's Doom namespace needs to retain Boom's sector special flags.
...
- fixed: UDMF's ZDoomTranslated namespace needs to set the DUMMYSWITCHES flag so that it remains compatible with Doom-format ZDoom maps.
SVN r4325 (trunk)
2013-06-03 07:14:42 +00:00
Randy Heit
44a9c75b6b
- Added ACS function PlayActorSound. It's functionally equivalent to PlaySound, except instead
...
of taking an actual sound name as its second parameter, it selects the sound to play based on
the actor playing the sound and the selector passed as the second parameter.
SVN r4323 (trunk)
2013-06-03 00:09:46 +00:00
Randy Heit
aa40801015
- Fixed: When garbage collecting ACS strings, the active values on the ACS stack also need
...
to be included in the mark phase.
SVN r4322 (trunk)
2013-06-02 23:58:29 +00:00
Randy Heit
45c1787203
- Fixed: Don't transform map variable string initializers into global string table entries if
...
they don't really exist in the source string table.
SVN r4321 (trunk)
2013-06-02 23:17:46 +00:00
Randy Heit
1b9c71b252
- Added S_ChangeSoundVolume() to change the volume of an already playing sound, accessible
...
through the new ACS function SoundVolume.
SVN r4318 (trunk)
2013-06-01 17:46:50 +00:00
Randy Heit
19eb09f9f7
- Added GetActorClass and GetWeapon functions to ACS.
...
SVN r4316 (trunk)
2013-06-01 17:17:15 +00:00
Randy Heit
e9702fc43d
- Clean up excess code around a few calls to SingleActorFromTID(), since that function is already
...
designed specifically to handle the case where tid is 0.
SVN r4315 (trunk)
2013-06-01 17:13:15 +00:00
Randy Heit
037477a20b
- Added more string functions to ACS:
...
* The standard C functions strcmp and stricmp (aka strcasecmp), which double up as strncmp and strnicmp if you pass a third argument.
* The BASIC-like functions strleft, strright, and strmid, which extract parts of a string to
create a new string.
SVN r4313 (trunk)
2013-06-01 17:07:24 +00:00
Christoph Oelckers
d40d7f2e77
- fixed signed-ness issue with FloatBobPhase.
...
SVN r4310 (trunk)
2013-06-01 12:03:15 +00:00
Randy Heit
26d2d74024
- GetActorProperty now works with the string properties that were formerly restricted to
...
CheckActorProperty.
SVN r4307 (trunk)
2013-06-01 02:51:14 +00:00
Randy Heit
1a67e6fa5d
- Added PlaySound and StopSound functions for ACS. They are mostly analogous to their DECORATE
...
counterparts except that (1) PlaySound requires you to specify a sound instead of defaulting
to "weapons/pistol", and (2) StopSound defaults to CHAN_BODY instead of CHAN_VOICE.
SVN r4306 (trunk)
2013-06-01 02:43:36 +00:00
Randy Heit
2d13a45773
- Added read access to an actor's melee range from DECORATE and ACS, via Blue Shadow.
...
SVN r4305 (trunk)
2013-06-01 02:23:27 +00:00
Randy Heit
2191b4bfa6
- Added ACS function LineAttack via Ryan Cordell.
...
SVN r4304 (trunk)
2013-06-01 02:19:18 +00:00
Randy Heit
53b284fb5d
- Added Gez's OverridePalette VOXELDEF flag.
...
SVN r4303 (trunk)
2013-06-01 02:09:09 +00:00
Randy Heit
8565484e29
- Heretic and Hexen can now have their big fonts overridden by a font named "HBIGFONT". In
...
addition, a font named "BIGFONT" will override the big font for every game.
SVN r4302 (trunk)
2013-06-01 02:04:44 +00:00
Christoph Oelckers
890dc71e0d
. added AFADoomer's patch to set a text highlight color for the list menu.
...
SVN r4301 (trunk)
2013-05-31 22:10:12 +00:00
Christoph Oelckers
9e3c6a3cc7
- fixed parameter type for Floatbobphase property.
...
SVN r4300 (trunk)
2013-05-31 18:10:41 +00:00
Christoph Oelckers
ad12be4877
- fixed inappropriate type for FloatBobPhase property.
...
SVN r4299 (trunk)
2013-05-30 21:10:54 +00:00
Christoph Oelckers
0bca41c202
- replaced unused RNGs with pr_damagemobj for consistency checksum.
...
SVN r4297 (trunk)
2013-05-30 10:18:46 +00:00
Christoph Oelckers
a7c2346b32
- added a FloatBobPhase property for DECORATE. Now, if FloatBobPhase is anything but -1 it will be used directly as the initial phase, allowing to define actors that bob in sync. The allowed range of phases is 0 - 63. The main reason for this is that each actor spawn called the pr_spawnmobj RNG just to randomize this value which causes problems with non-interactive actors, in particular GZDoom's dynamic lights.
...
SVN r4296 (trunk)
2013-05-30 08:52:29 +00:00
Randy Heit
0eb72156ed
I hope I don't regret doing this so close before I want to do a release, since it's a pretty
...
major change to ACS's workings. However, I had an epiphany yesterday and just had to do this, since it seems like too big a deal to hold off until a later release:
- Dynamically generated strings returned via strparam and get(user)cvar now last as long as they
need to. They do not disappear at the end of each tic. You can now safely store them in
variables and hold on to them indefinitely. In addition, strings from libraries no longer
require you to load the exact same libraries in the exact same order. You can even store a
library's string in a world variable and retrieve it on another map that doesn't load the
library at all, and it will still be the correct string.
- ACS library IDs now only get 12 bits instead of 16 so that each string table can hold up
to about a million strings instead of just 65536. This shouldn't be a problem, although it
means that save games that had strings with the larger IDs stored in variables are no
longer compatible. Since many saves don't involve libraries at all, and even many that do
are not actually affected, I'm not bumping the min save version. The worst that can happen
is that you get no text at all where some was expected.
SVN r4295 (trunk)
2013-05-30 02:22:47 +00:00
Randy Heit
493edd2df0
- Added ACS functions GetCVarString and GetUserCVarString. These act like their non-string
...
counterparts, except that they return strings. Like strparam, the strings they return are
only guaranteed to be valid for the tick they are called during. (Note that these work with any
cvar, not just string ones.)
SVN r4293 (trunk)
2013-05-27 02:41:50 +00:00
Randy Heit
587f1e83ba
- Added ACS functions SetCVarString and SetUserCVarString. These work just like their non-string
...
counterparts except that their value argument is an ACS string. (Note that they work with any
type of cvar, not just string cvars.)
- Make UCVarValue::String point to a constant string.
SVN r4292 (trunk)
2013-05-27 02:20:32 +00:00
Randy Heit
4a8037d66e
- Move bitdepth check outside the loop for grayscale unpacking. Also, don't use a multiply for
...
1-bit pixels. Use a lookup table for 2-bit pixels, because it's probably faster than a bunch
of shifts and register juggling.
SVN r4291 (trunk)
2013-05-27 02:04:54 +00:00
Braden Obrzut
f436c02a43
- Fixed more possible NULL derefs from r4264
...
SVN r4290 (trunk)
2013-05-26 20:56:20 +00:00
Braden Obrzut
b493d8e823
- Just remembered that the true color stuff generates textures differently. Changed the previous commit to expand 1, 2, and 4 bit grayscale images while reading the PNG instead of changing the palette.
...
SVN r4289 (trunk)
2013-05-26 04:56:52 +00:00
Braden Obrzut
dabd48ab81
- Fixed: 4, 2, and 1 bit grayscale images weren't properly supported.
...
- Fixed: Valgrind uninitialized memory error and a signed/unsigned warning.
SVN r4288 (trunk)
2013-05-26 04:03:47 +00:00
Randy Heit
17c7c32a58
- Fixed potential uninitialized access in FMapInfoParser::ParseEndGame().
...
SVN r4287 (trunk)
2013-05-26 02:56:25 +00:00
Randy Heit
ce28c9c991
- Added parentheses for clarity.
...
SVN r4286 (trunk)
2013-05-26 00:53:48 +00: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
167ee9e7fb
- Added three new ACS functions:
...
* int GetUserCVar(int playernum, "cvarname")
* bool SetCVar("cvarname", newvalue)
* bool SetUserCVar(int playernum, "cvarname", newvalue)
GetUserCVar is analogous to GetCVar, except it returns the value of a user cvar for a
specific player. (All user cvars can be examined using the playerinfo console command.)
SetCVar sets a cvar to a new value. If the cvar is floating point, then newvalue is treated
as a fixed point number, otherwise it's treated as an integer. SetUserCVar is the same, but
for a specific player's user cvar.
SetCVar and SetUserCVar can only change cvars created via CVARINFO. They cannot alter built-in cvars.
If you use GetCVar or SetCVar with a user cvar, they will act on the copy of the user cvar
for the player who activated the script. e.g.
GetCVar("gender")
is the same as
GetUserCVar(PlayerNumber(), "gender")
If you get the value of a floating point cvar, it will be returned as a fixed point number.
Otherwise, it will be returned as an integer.
SVN r4283 (trunk)
2013-05-25 19:08:05 +00:00
Randy Heit
4fa198244c
- Renamed CVAR_NOSEND to CVAR_IGNORE to better reflect its intent.
...
- Separated CVAR_MODARCHIVE into CVAR_MOD|CVAR_ARCHIVE so that mod-defined cvars can still be
identified when they aren't meant to be archived.
SVN r4281 (trunk)
2013-05-25 17:08:59 +00:00
Randy Heit
787b84ef91
- Added CVARINFO lump support. This is a lump for defining mod-specific cvars and takes entries
...
of the form:
<scope> [noarchive] <type> <name> [= <defaultvalue>];
Where <scope> is one of:
* server: This cvar is shared by all players, and in network games, only select players can
change it.
* user: Each player has their own copy of this cvar, which they can change independently.
To prevent the cvar from being written to the config file, add noarchive to its definition.
<Type> is one of:
* int: An integral value. Defaults to 0.
* float: A value that can include a fraction. Defaults to 0.0.
* color: A color value. Default to black ("00 00 00").
* bool: A boolean value that can hold either true or false. Defaults to false.
* string: A string value. It's not too useful for mods but is included for completeness. Defaults to "".
<Name> is the cvar's name and must begin with a letter and may only include alphanumeric
characters and the underscore character.
If you wish a non-standard default add an = character after the cvar's name followed by the
default value you want to use. Example:
server int mymod_coolness = 10;
- Fixed: FStringCVar::SetGenericRepDefault() did not make a copy of the input string.
SVN r4280 (trunk)
2013-05-25 16:34:23 +00:00
Randy Heit
e271692dbb
- Changed C_ArchiveCVars()'s type parameter to a filter parameter, because using an arbitrary
...
number to represent a flag combination is stupid unreadable now that there's more than just
the two possibilities it had when it was first written.
SVN r4278 (trunk)
2013-05-25 03:23:44 +00:00
Randy Heit
20b48b7c65
- Remove now-unused lumpname variable.
...
SVN r4277 (trunk)
2013-05-25 02:06:34 +00:00
Braden Obrzut
7fd0950ab9
- Changed the way DrawSelectedInventory is casted so that clang doesn't warn about it.
...
SVN r4275 (trunk)
2013-05-20 21:27:50 +00:00
Braden Obrzut
5007571732
- Fixed: Possible NULL deref in P_RailAttack.
...
SVN r4274 (trunk)
2013-05-20 20:47:55 +00:00
Braden Obrzut
1d4fbc05a5
- Fixed: glbsp nodes in a wad file inside a pk3 would not be loaded.
...
- Fixed: Typo from r4270.
SVN r4273 (trunk)
2013-05-20 20:39:34 +00:00
Randy Heit
8af465189a
- Fix broken loading of pre-r4253 savegames.
...
SVN r4272 (trunk)
2013-05-18 15:38:10 +00:00
Randy Heit
6ada6158ef
- Added a fallback for accented characters to use unaccented ones.
...
- Updated Portuguese strings with the version here: http://forum.zdoom.org/viewtopic.php?p=672839#p672839
SVN r4271 (trunk)
2013-05-17 02:35:35 +00:00
Randy Heit
5b74e1acba
- Fixed: A_Face() should use other instead of self->target when calculating pitch.
...
SVN r4267 (trunk)
2013-05-17 00:49:45 +00:00
Randy Heit
504496278b
- Fixed: FxBinaryInts that needed to cast the right-side parameter to an int resolved the left
...
side instead.
SVN r4265 (trunk)
2013-05-13 02:55:48 +00:00
Randy Heit
b418f7de8d
- Fixed possible NULL pointer derefs in P_LineAttack()
...
SVN r4264 (trunk)
2013-05-13 02:30:55 +00:00
Randy Heit
894c4198b0
- Fixed possible NULL pointer deref in A_FireBullets
...
SVN r4263 (trunk)
2013-05-13 02:27:39 +00:00
Randy Heit
20d0cc717b
- Fix previous fix: Don't zero the velocity when a missile steps up and bounces.
...
SVN r4262 (trunk)
2013-05-12 19:05:00 +00:00
Randy Heit
0ef00cdf6e
- Fixed: Missiles with STEPMISSILE set should probably be able to bounce off the floor they step up onto.
...
SVN r4261 (trunk)
2013-05-12 19:02:15 +00:00
Randy Heit
363ca592b0
- Fixed possible memory leak in the non-Windows version of CreatePath().
...
SVN r4258 (trunk)
2013-05-12 18:37:31 +00:00
Randy Heit
e8d8e67b56
- Fixed possible NULL pointer deref in P_SpawnPlayerMissile().
...
SVN r4257 (trunk)
2013-05-12 18:36:03 +00:00
Randy Heit
e935cf9e62
- Fixed possible NULL pointer deref in PrintDLS().
...
SVN r4256 (trunk)
2013-05-12 18:34:01 +00:00
Randy Heit
c63273348a
- Fixed possible NULL pointer deref in A_CustomPunch
...
SVN r4255 (trunk)
2013-05-12 18:31:36 +00:00
Randy Heit
e130150af0
- Fixed possible NULL pointer deref in AActor::Grind().
...
SVN r4254 (trunk)
2013-05-12 18:29:28 +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
9072c25e65
- Added a big-endian fix for actor flag fields that aren't four bytes wide.
...
SVN r4251 (trunk)
2013-05-05 00:01:51 +00:00
Randy Heit
40f7abb8e9
- Added bounce states. Set the BOUNCE_UseBounceState flag to use them (+USEBOUNCESTATE via
...
DECORATE). Then you can use:
* Bounce
* Bounce.Floor
* Bounce.Ceiling
* Bounce.Wall
* Bounce.Actor
* Bounce.Actor.Creature
Partial matches work just like Pain states, so if an actor bounces off a floor and you don't
have a Bounce.Floor state, but you do have a Bounce state, it will use the Bounce state.
Conversely, if you only have a Bounce.Floor state but no Bounce state, then the actor will
only enter the Bounce.Floor state when it bounces on a floor; bouncing off anything else will
not cause it to change state.
SVN r4250 (trunk)
2013-05-04 22:52:37 +00:00
Randy Heit
a5b5172449
- Remove now-unused dropammofactor variable from AWeaponGiver::TryPickup().
...
SVN r4248 (trunk)
2013-05-04 19:24:24 +00:00
Randy Heit
63704a8b69
- Fixed: r4225 accidentally removed the sky texture check for markceiling disabling.
...
SVN r4247 (trunk)
2013-05-04 19:08:17 +00:00
Randy Heit
d86b16d540
- Added a DropAmmoFactor field to WeaponGiver so that ModifyDropAmount() can record the drop
...
amount modifier into it without fiddling with the actual AmmoGiveX fields.
SVN r4246 (trunk)
2013-05-02 00:24:53 +00:00
Randy Heit
163d8ba3e6
- Fixed crash when an actor's spawn state ends by destroying the actor and the first state has
...
NoDelay set and it only consists of 0-tic states.
SVN r4245 (trunk)
2013-05-02 00:07:56 +00:00
Randy Heit
6d6fcbe246
- For the sake of better testing, use 2D sprite sorting unconditionally and not just when a
...
voxel is in view. Hopefully I'm just being paranoid, but I don't trust it to go well with
clipping sprites to walls.
SVN r4244 (trunk)
2013-05-01 02:27:07 +00:00
Randy Heit
cadc16293e
- Fixed: r4234 moved tic decrementing to the wrong spot.
...
SVN r4243 (trunk)
2013-05-01 02:21:43 +00:00
Christoph Oelckers
bed47c6eff
- A_KIllSiblings and A_DamageSiblings didn't check for a valid master.
...
SVN r4242 (trunk)
2013-04-30 06:48:53 +00:00
Randy Heit
0e19a0e330
- Added a NODELAY state flag. This is only valid for a state immediately following a Spawn label.
...
When set, the actor will run this state during its first tick. This means Spawn
states may now run an action function if you set this flag. Note that this action function
is executed during the actor's first tick, which is not the same as when it is spawned.
SVN r4240 (trunk)
2013-04-30 04:20:09 +00:00
Randy Heit
cc5110575f
- Fixed: The constructor for single-lump fonts did not initialize the Cursor field.
...
SVN r4239 (trunk)
2013-04-30 03:14:49 +00:00
Randy Heit
ecdde24bda
- Fixed: WeaponGiver did not give half ammo when dropped.
...
SVN r4238 (trunk)
2013-04-30 03:07:39 +00:00
Randy Heit
5dc034c2ed
- Fixed: A_RemoveSiblings and A_KillSiblings did not check that the caller had a master to deduce siblings from.
...
SVN r4237 (trunk)
2013-04-30 02:46:47 +00:00
Randy Heit
f7aa019f85
- Stylistic changes.
...
SVN r4236 (trunk)
2013-04-30 02:45:15 +00:00
Randy Heit
e92560b4da
- Be consistent with whitespace tabs.
...
SVN r4235 (trunk)
2013-04-30 02:41:59 +00:00
Braden Obrzut
10934f4d70
- Lets try fixing the extra tic issue by evaluating the zero delay states at PostBeginPlay. This requires delaying the state cycling until the next tick.
...
SVN r4234 (trunk)
2013-04-29 21:12:57 +00:00
Braden Obrzut
90b4480bcd
- Try that last fix again. This time check to see if we enter an infinite duration state and break out of the loop.
...
SVN r4233 (trunk)
2013-04-28 18:55:55 +00:00
Braden Obrzut
81487f4a69
- Fixed: noextratic fix skipped over infinite duration states.
...
SVN r4232 (trunk)
2013-04-28 18:00:41 +00:00
Randy Heit
4bc60ec900
- Added Blzut3's noextratic fix.
...
SVN r4231 (trunk)
2013-04-28 03:55:31 +00:00
Randy Heit
d2ef6d81da
- P_RailAttack() now checks the puff's MF3_FOILINVUL flag.
...
SVN r4230 (trunk)
2013-04-28 03:45:19 +00:00
Randy Heit
2dfb1dd92f
- Added an alternate 2D sprite sorting comparison function which seems to work better with
...
large voxels than the standard 1D sprite sort.
SVN r4229 (trunk)
2013-04-28 03:31:13 +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
3bbd255b73
- Fixed: A_MinotaurChase should switch to the Idle state, not the Spawn state.
...
SVN r4227 (trunk)
2013-04-28 02:04:53 +00:00
Randy Heit
6921a3edc2
- Fixed: r4220 broke 3D floor rendering, because 3D floors have the floor and ceiling orientations
...
reversed compared to normal conventions.
SVN r4225 (trunk)
2013-04-23 03:51:51 +00:00
Randy Heit
92d54ca0fc
- Instead of setting the default skybox in every sector without an explicit skybox set, set it
...
once in the level struct and then use that for sectors with a NULL skybox. This fixes zpack's
E2M3 so that when it removes its sector stacks, you will get the default skybox in their
place, since stacked sectors and skyboxes use the same pointers in a sector.
SVN r4224 (trunk)
2013-04-21 02:22:37 +00:00
Christoph Oelckers
9f71c7cb4e
- added Xaser's reactiontime for ACS and DECORATE expression patch.
...
SVN r4222 (trunk)
2013-04-20 21:32:03 +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
a50e670c0c
- Use tests less prone to overflow on very steep slopes when detecting which side of a plane
...
the camera is on. Mostly, this means testing the distance of the camera to the plane rather
than computing the plane's Z at the camera and comparing that with the camera's Z.
SVN r4220 (trunk)
2013-04-17 01:32:40 +00:00
Randy Heit
c069295f19
- Fixed: When trying to unmorph a monster, make sure the morphed version doesn't have the
...
TOUCHY flag set, or checking the position of the unmorphed version will kill the morphed
version, since they will both exist in the same place at the same time, and TOUCHY is
really touchy about that.
SVN r4219 (trunk)
2013-04-16 20:39:54 +00:00
Randy Heit
865a535af2
- Force all voxel mip levels so use the same pivot point as the first level.
...
SVN r4217 (trunk)
2013-04-16 20:22:01 +00:00
Randy Heit
6dc21f9a8b
- Fixed: Voxel rendering completely fell apart when a mirror came into view.
...
SVN r4216 (trunk)
2013-04-16 20:17:34 +00:00
Randy Heit
a5d770b433
- Dropped items with the DONTGIB flag set will no longer be destroyed by crushers.
...
SVN r4215 (trunk)
2013-04-16 17:55:17 +00:00
Randy Heit
cbe11657f0
- Fixed: A_Face should take into account the target's height when aiming pitch.
...
SVN r4214 (trunk)
2013-04-10 00:13:55 +00:00
Randy Heit
2fb64108a7
- Fixed: Monsters with STAYMORPHED set would still unmorph.
...
SVN r4213 (trunk)
2013-04-09 22:45:20 +00:00
Randy Heit
f7c55c0936
- Do copy a monster's special to its morphed version so that it can be properly restored when
...
it unmorphs.
SVN r4212 (trunk)
2013-04-09 22:40:27 +00:00
Randy Heit
85d4350190
- Fixed: AInventory::Touch() should check for a local player view before trying the pickup,
...
because if it's a morph powerup, after being picked up, the toucher this function received will
no longer be the active player.
SVN r4211 (trunk)
2013-04-09 22:24:18 +00:00
Randy Heit
ec6d522a29
- Remove the requirement that only action function default parameters can accept a constant
...
expression that evaluates to the class 'None'. (I don't know why that was there to begin with.)
SVN r4210 (trunk)
2013-04-09 22:15:41 +00:00
Randy Heit
0a9a54fca8
- Multiply the resulting velocity by the player's speed when "jumping" underwater.
...
SVN r4209 (trunk)
2013-04-09 21:57:48 +00:00
Randy Heit
147da94e2f
- Added FDARI's CLOFF_JUMP_ON_MISS and CLOFF_AIM_VERT_NOOFFSET flags.
...
SVN r4207 (trunk)
2013-03-28 01:29:23 +00:00
Randy Heit
4cf3a4a1cf
- Always spawn RocketSmokeTrail and GrenadeSmokeTrail actors, and make them invisible for players
...
who don't want to see them. This is needed for multiplayer sync between players with different
settings for cl_rockettrails.
SVN r4206 (trunk)
2013-03-28 01:01:19 +00:00
Braden Obrzut
316faf59b4
- Fixed: Skin mugshots didn't load. (This adds a texture usetype for skin graphics.)
...
SVN r4205 (trunk)
2013-03-25 18:20:39 +00:00
Randy Heit
332b1091b4
- Make FName::NameManager::Inited a static member variable.
...
SVN r4204 (trunk)
2013-03-24 02:35:29 +00:00
Randy Heit
324b13c89b
- Added Weapon.MinSelectionAmmo1 and Weapon.MinSelectionAmmo2 to exclude weapons from autoselection
...
even if they have enough ammo to be used.
SVN r4203 (trunk)
2013-03-24 02:25:12 +00:00
Randy Heit
449bf216fa
- Stop storing rail hits in a global variable, and consolidate the two railgun callbacks into a single function.
...
SVN r4202 (trunk)
2013-03-23 03:05:01 +00:00
Randy Heit
f9915d7cf2
- Added FDARI's A_CheckLOF, modified to use a Trace callback function.
...
SVN r4201 (trunk)
2013-03-23 02:55:59 +00:00
Randy Heit
dcf50ab6cb
- Added an enum for the values a Trace callback function can return.
...
- Added a userdata parameter to pass to the Trace callback function.
SVN r4200 (trunk)
2013-03-23 02:54:13 +00:00
Randy Heit
c54ea7f6b7
- Added SXF_TRANSFERSPECIAL and SXF_CLEARCALLERSPECIAL flags for A_SpawnItemEx.
...
SVN r4199 (trunk)
2013-03-23 01:22:37 +00:00
Randy Heit
044616a86f
- Fixed: Don't return false from PIT_CheckThing when a shootable missile hits a nonmonster and
...
infighting is disabled; let the normal conditions apply. Otherwise, you end up with situations
where monster-fired projectiles can collide with pickups.
SVN r4198 (trunk)
2013-03-21 22:58:37 +00:00
Randy Heit
0c6c78517b
- Always at least halve the advance vector in P_CheckMissileSpawn().
...
SVN r4197 (trunk)
2013-03-21 22:23:42 +00:00
Randy Heit
06445e8181
- Fixed: Used the wrong actor's radius in P_Thing_Projectile() to get the maxdist for P_CheckMissileSpawn().
...
SVN r4196 (trunk)
2013-03-21 22:21:54 +00:00
Randy Heit
e4127111b1
- A player's Speed is now applied to their upmove as well as their forwardmove and sidemove.
...
SVN r4195 (trunk)
2013-03-21 03:47:39 +00:00
Randy Heit
2874d927b1
- Random spawners no longer move the missile forward when spawning them, because presumably
...
whatever spawned the random spawner already took care of this.
- Added a maxdist parameter to P_CheckMissileSpawn() to help ensure that it doesn't completely
move the spawned missile outside of its shooter (and potentially beyond a wall the shooter
might happen to be standing next to).
SVN r4194 (trunk)
2013-03-21 03:06:04 +00:00
Randy Heit
34b2d0b21a
- Fixed: Putting a lightlist in a sector caused that sector's floorlight and ceilinglight to be ignored.
...
SVN r4193 (trunk)
2013-03-21 02:28:07 +00:00
Randy Heit
cb41771342
- When moving polyobjects, recalculate the floors and ceilings for the actors in their bounding boxes. (See http://forum.zdoom.org/viewtopic.php?f=2&t=35616 )
...
SVN r4192 (trunk)
2013-03-21 02:07:42 +00:00
Randy Heit
53e73783e0
- Added spawnofs_z parameter to A_RailAttack and A_CustomRailgun.
...
SVN r4191 (trunk)
2013-03-20 03:36:45 +00:00
Randy Heit
283ee1a891
- Make teleport fogs target the teleported actor.
...
SVN r4190 (trunk)
2013-03-20 03:21:37 +00:00
Randy Heit
fc4b0ffe68
- Use a missile's MaxTargetRange property as the range for P_AimLineAttack() inside P_SpawnPlayerMissile().
...
SVN r4189 (trunk)
2013-03-20 03:19:02 +00:00
Randy Heit
277d59b2bb
- Added flags SXF_CLEARCALLERTID, SXF_MULTIPLYSPEED, and SXF_TRANSFERSCALE for A_SpawnItemEx.
...
SVN r4188 (trunk)
2013-03-20 03:07:45 +00:00
Randy Heit
de20936b13
- Allow negative force for A_RadiusThrust.
...
SVN r4187 (trunk)
2013-03-20 02:41:59 +00:00
Braden Obrzut
18bf56d3d7
- Fixed: NULL pointer dereference in DrawGem.
...
SVN r4186 (trunk)
2013-03-18 21:56:15 +00:00
Randy Heit
98ea4d3d51
- Added C_GetMassCVarString(), which C_WriteCVars() is now a wrapper around. (And the latter
...
should probably be factored away eventually.)
SVN r4185 (trunk)
2013-03-17 03:04:17 +00:00
Randy Heit
573b6992ce
- Use a TArray for backing up cvars overwritten by a demo.
...
SVN r4184 (trunk)
2013-03-17 02:41:45 +00:00
Braden Obrzut
b096c7a82f
- Fixed: changemap allowed changing the map in "demo mode."
...
- Fixed: Crash when using the console at the title screen.
SVN r4182 (trunk)
2013-03-15 21:41:01 +00:00
Christoph Oelckers
b0203c9f1d
- added Xaser's SXF_USEBLOODCOLOR for A_SpawnItemEx submission
...
SVN r4181 (trunk)
2013-03-13 11:27:30 +00:00
Randy Heit
8410ac760a
- Added A_SetDamageType.
...
SVN r4180 (trunk)
2013-03-13 04:04:48 +00:00
Randy Heit
fb2f201c8b
- Fixed: The sc_man scanner must use an unsigned character type, or it won't properly recognize any unquoted characters with the eighth bit set.
...
SVN r4179 (trunk)
2013-03-13 03:59:57 +00:00
Randy Heit
e240d24abe
- Fixed: P_SpawnPlayerMissile() should not 0 the pitch for weapons that don't autoaim.
...
This allows A_FireOldBFG to work properly when freelook is disabled.
SVN r4178 (trunk)
2013-03-13 02:56:54 +00:00
Christoph Oelckers
c7aa7e2a4b
- missing NORANDOMPUFFZ code.
...
SVN r4177 (trunk)
2013-03-09 07:09:40 +00:00
Braden Obrzut
3fe31668a6
- More Visual Studio with CMake fixes.
...
SVN r4176 (trunk)
2013-03-08 19:23:06 +00:00
Randy Heit
ba0e0c2914
- Fixed: Don't start the MAPINFO music just to have it replaced by the saved music when returning to a level in a hub.
...
SVN r4175 (trunk)
2013-03-08 02:34:26 +00:00
Braden Obrzut
478bfa6cf1
- Fixed: file_directory tried to free it's input parameter.
...
SVN r4174 (trunk)
2013-03-07 22:16:09 +00:00
Braden Obrzut
88a0d22f23
- Fixed: Playing strife forced the inventory to be used immediately instead of being determined by the presence of an inventory overlay.
...
SVN r4173 (trunk)
2013-03-03 19:12:21 +00:00
Randy Heit
1107bebfcf
- Redo r4164 fix: Don't clear fake planes when clearing skybox planes.
...
SVN r4172 (trunk)
2013-03-02 01:54:40 +00:00
Randy Heit
8f7cd73a41
- Comment out star and bstar stuff in wi_stuff.cpp.
...
SVN r4171 (trunk)
2013-03-02 01:27:36 +00:00
Christoph Oelckers
33f363f4c6
- added TheFortuneTeller's NORANDOMPUFFZ submission.
...
SVN r4170 (trunk)
2013-02-27 10:35:44 +00:00
Randy Heit
ce39368796
- Fixed: Players using colorsets instead of custom colors overrode their team colors.
...
SVN r4169 (trunk)
2013-02-27 03:27:33 +00:00
Randy Heit
b93dfcf3cf
- Fixed: G_DoLoadLevel() has a for loop where it resets player cameras that incremented and checked the wrong variable.
...
SVN r4168 (trunk)
2013-02-27 03:13:55 +00:00
Randy Heit
be0845acf1
- Moved all BorderNeedRefresh and SB_state updating code into separate functions that won't crash if screen is NULL.
...
SVN r4167 (trunk)
2013-02-27 03:10:25 +00:00
Braden Obrzut
01fed92920
- Added support for Visual Studio to the CMake project.
...
SVN r4166 (trunk)
2013-02-25 00:12:21 +00:00
Braden Obrzut
e6f66e3c93
- Fixed: GCC build.
...
SVN r4165 (trunk)
2013-02-24 17:17:20 +00:00
Randy Heit
2919bdf4fe
- Fixed: Skyboxes never cleared planes when a 3D floor was in view.
...
SVN r4164 (trunk)
2013-02-23 05:15:32 +00:00
Randy Heit
4f3a03f2f4
- Fixed: stat skyboxes output was broken.
...
SVN r4163 (trunk)
2013-02-23 04:24:40 +00:00
Randy Heit
1c9396cd6c
- Properly transfer powerups between morphed and unmorphed actors by calling EndEffect() on the
...
powerups before they transfer ownership, then calling InitEffect() on them after they transfer
ownership.
SVN r4162 (trunk)
2013-02-23 03:25:33 +00:00
Braden Obrzut
47e7ab21cc
- Fixed: strcpy on map arrays didn't properly translate the array number.
...
SVN r4160 (trunk)
2013-02-22 18:42:26 +00:00
Braden Obrzut
356bfe81e3
- Cleared GCC warnings.
...
SVN r4159 (trunk)
2013-02-22 18:16:23 +00:00
Randy Heit
6eb10a8079
- Fixed: r4160 inadvertently inverted the damage check for thrusting in P_RadiusAttack().
...
SVN r4158 (trunk)
2013-02-22 03:06:00 +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
e0c751114f
- Fixed: A TITLEMAP defined with SpawnWithWeaponRaised set caused a crash.
...
SVN r4156 (trunk)
2013-02-22 01:51:35 +00:00
Randy Heit
e0db52629d
- Fixed: RandomSpawner could hang on lists with monsters when nomonsters is enabled or with 'None' items.
...
SVN r4155 (trunk)
2013-02-22 01:34:16 +00:00
Randy Heit
7d90117fb9
- Fixed: RandomSpawner should observe the nomonsters flags when deciding what to spawn.
...
SVN r4153 (trunk)
2013-02-20 02:47:01 +00:00
Randy Heit
4fe9b6112a
- Fixed: The change in r3951 knew nothing about 3D floors.
...
SVN r4152 (trunk)
2013-02-20 02:26:36 +00:00
Randy Heit
fef083f59c
- Use a temporary bitmap when when copying true color pixels of a multipatch texture, the blend
...
operation is not BLEND_NONE, and it doesn't just redirect straight to a direct texture.
SVN r4151 (trunk)
2013-02-20 01:31:41 +00:00
Christoph Oelckers
e50de1e5fc
- fixed: APowerSpeed::Serialize needs to call the super method.
...
SVN r4150 (trunk)
2013-02-19 08:10:33 +00:00
Randy Heit
f5891dea25
- Added time display for alt hud.
...
SVN r4148 (trunk)
2013-02-19 02:58:03 +00:00
Randy Heit
602209d4a4
- Add NoRandomPlayerclass flag for MAPINFO.
...
SVN r4147 (trunk)
2013-02-19 02:50:47 +00:00
Randy Heit
bd601a1bc8
- Added NOTRAIL flag for PowerSpeed.
...
SVN r4146 (trunk)
2013-02-19 02:44:49 +00:00
Randy Heit
ae6b0c6215
- Added IF_NOSCREENFLASH>
...
SVN r4145 (trunk)
2013-02-19 02:27:41 +00:00
Randy Heit
619e65ad6f
- Allow negative parameters to A_Light.
...
SVN r4144 (trunk)
2013-02-19 02:25:20 +00:00
Randy Heit
b96d305c87
- Make the DOOM 3 BFG Edition the last Steam path checked, so it won't override the regular doom.wad.
...
SVN r4142 (trunk)
2013-02-19 01:55:14 +00:00
Randy Heit
87dbfb68e9
- Fixed: PCD_MORPHACTOR and P_MorphMonster() needed NULL pointer checks.
...
SVN r4141 (trunk)
2013-02-19 01:51:07 +00:00
Randy Heit
e434ccc3f6
- Add support for user variables on things in UDMF maps. If you include an actor's user variable
...
in its UDMF thing definition, that user variable will be set to the desired value for that
actor when the map is loaded.
SVN r4140 (trunk)
2013-02-17 00:23:58 +00:00
Christoph Oelckers
00d5bee72f
- ...now where did that 'F' come from...?
...
SVN r4139 (trunk)
2013-02-16 10:48:03 +00:00
Christoph Oelckers
d71b0609f0
- fixed incorrect -= operators in vectors.h
...
SVN r4138 (trunk)
2013-02-16 09:41:54 +00:00
Braden Obrzut
facbca3619
- Fixed: If you hit a wall at the right moment you would some times come out of a teleporter with sliding velocity.
...
SVN r4137 (trunk)
2013-02-14 23:27:09 +00:00
Randy Heit
7714a45e02
- Fixed: Because P_OpenMapData() now reopens the containing file for the map, P_LoadGLNodes() needs a new check for if the map came from a regular wad.
...
SVN r4136 (trunk)
2013-02-14 05:06:05 +00:00
Randy Heit
0a2e42c090
- Skip the MF2_PASSMOBJ height checks in PIT_CheckThing() for ripper missiles.
...
SVN r4135 (trunk)
2013-02-14 04:40:29 +00:00
Randy Heit
70fa9e7b84
- Fixed: info CCMD listed bounce flags twice, under separate names.
...
SVN r4134 (trunk)
2013-02-14 03:56:34 +00:00
Randy Heit
94be9df246
- Changed the "notrelevant" checks in R_RenderMaskedSegRange() to not include equality in their
...
comparison operators. Fixes one map (http://forum.zdoom.org/viewtopic.php?f=2&t=34082 ); might
break others. Maybe.
SVN r4133 (trunk)
2013-02-14 03:24:47 +00:00
Randy Heit
951adbb21f
- Fixed: When adding a forwardmove value, P_Bob() needs to do the same pitch-dependent scaling
...
as P_ForwardThrust().
SVN r4132 (trunk)
2013-02-14 01:29:53 +00:00
Randy Heit
0b9b6dda2e
- Fixed: The changemap CCMD did not work for maps not defined by MAPINFO.
...
SVN r4131 (trunk)
2013-02-12 23:55:28 +00:00
Randy Heit
62b23901eb
- Fixed: spynext/prev were unreliable with player prediction.
...
SVN r4130 (trunk)
2013-02-12 23:23:33 +00:00
Christoph Oelckers
3defad92da
- missed some changed constants...
...
SVN r4129 (trunk)
2013-02-10 09:03:56 +00:00
Christoph Oelckers
954e9e03f2
- removed a few 'GZDoom only' notes that no longer apply.
...
SVN r4128 (trunk)
2013-02-10 09:01:15 +00:00
Christoph Oelckers
027a99d772
- fixed: Hexen's Floor_RaiseAndCrush is not the same action as the one used by Doom and which was used by ZDoom before r4053. Restored the old code and gave it a new special 99:Floor_RaiseAndCrushDoom.
...
SVN r4125 (trunk)
2013-02-10 08:53:03 +00:00
Randy Heit
612d16e11c
- Added Oktalyzer loading support to ZDoom.
...
SVN r4081 (trunk)
2013-02-08 00:25:30 +00:00
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
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
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
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
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
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
7fb0d37d99
- Added a flag to A_M_Refire to ignore the actor's missile state, so the rocket marine will
...
not continue to punch air if it starts attacking while its target is in melee range and
then moves out of it.
SVN r4021 (trunk)
2013-01-06 04:15:28 +00:00
Randy Heit
22e52776e3
- In UpdateJoystickConfigMenu(), do not access joy before checking if it's NULL.
...
SVN r4019 (trunk)
2013-01-03 03:12:07 +00:00
Randy Heit
424fcb4cba
- Initialize sprframe to NULL in FListMenuItemPlayerDisplay::Drawer().
...
SVN r4018 (trunk)
2013-01-03 03:08:45 +00:00
Randy Heit
6b67cd560a
- Add NULL decal check to FDecalLib::ParseGenerator().
...
SVN r4017 (trunk)
2013-01-03 03:07:18 +00:00
Randy Heit
814cb4d135
- Move NULL player check earlier in P_PoisonDamage, before player is accessed.
...
SVN r4016 (trunk)
2013-01-03 03:05:44 +00:00
Randy Heit
4601954248
- Added CHANGELEVEL_PRERAISEWEAPON flag for use with ACS's ChangeLevel.
...
SVN r4014 (trunk)
2013-01-03 02:18:19 +00:00
Randy Heit
787c338871
- Added MAPINFO flag "SpawnWithWeaponRaised".
...
SVN r4013 (trunk)
2013-01-03 02:08:08 +00:00
Randy Heit
549712e719
- P_DamageMobj() now returns the amount of damage actually done so that the bleed functions
...
can perform based on the amount of damage actually taken after all modifications are done to
it. However, if the damage is canceled away, blood will still spawn for the original damage
amount rather than the modified amount.
SVN r4012 (trunk)
2013-01-02 04:39:59 +00:00
Randy Heit
60fb004a78
- Do not double-scale player classes that use non-1.0 default scales.
...
SVN r4011 (trunk)
2013-01-02 03:52:58 +00:00
Randy Heit
002aa807c5
- Fixed: Don't use the player skin in the cast call if the class being shown has been removed
...
from the PlayerClasses array (and therefore does not have a valid default skin).
SVN r4010 (trunk)
2013-01-02 03:44:42 +00:00
Randy Heit
ca2d75307c
- Do not "wake" Oracle spectres that killed an Oracle. (Because if they killed it, they're
...
obviously already awake. Also, we don't want them to end up targeting themselves.)
SVN r4009 (trunk)
2013-01-02 03:35:08 +00:00
Randy Heit
115b70f6d8
- Do not wake Oracle spectres that are dead.
...
SVN r4008 (trunk)
2013-01-02 03:27:12 +00:00
Randy Heit
dfe470e5f2
- Added JLOSF_NOAUTOAIM flag for when you want to use A_JumpIfTargetInLOS in conjunction with
...
something that never autoaims, such as a railgun.
- Fixed: A_JumpIfTargetInLOS should use P_AimLineAttack() instead of P_BulletSlope(), because the
latter intentionally checks to the sides of the aimed line.
SVN r4007 (trunk)
2013-01-02 03:17:52 +00:00
Randy Heit
4228386837
- Fixed: When P_Add3DFloor() adds the "inside" plane, it needs to copy the translucency flags
...
from the original plane.
SVN r4006 (trunk)
2013-01-02 03:01:03 +00:00
Randy Heit
efbaab3440
- Never set the player actor's scale to the skin's directly. Only do it indirectly through
...
P_CheckPlayerSprite().
SVN r4005 (trunk)
2013-01-02 02:26:22 +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
db01832519
- Fixed: The resurrect cheat also needs to restore the player's radius.
...
SVN r4003 (trunk)
2013-01-02 01:34:27 +00:00
Christoph Oelckers
b3ada01bbd
- Added Gez's patch to show the berserk icon on the alt. HUD and added a menu option for this setting.
...
SVN r4002 (trunk)
2012-12-22 22:37:58 +00:00
Randy Heit
21ada0b3f6
- Fixed: When the player sprite is being drawn with a fixed colormap, hardware acceleration
...
should not be disabled when the regular colormap has lights that stay bright throughout.
SVN r4001 (trunk)
2012-12-22 02:57:35 +00:00
Randy Heit
682c7d2a8a
- Fixed: The originx and originy for the textured automap is supposed to be calculated after
...
rotating originpt by the automap, not before.
SVN r3998 (trunk)
2012-12-22 00:55:27 +00:00
Randy Heit
c114113fe8
- Fixed: Sky floors should not be drawn in the textured automap.
...
SVN r3997 (trunk)
2012-12-22 00:26:26 +00:00
Randy Heit
f45c624769
- Changed default FluidSynth reverb and chorus parameters to the ones suggested here: http://forums.scummvm.org/viewtopic.php?p=72972&sid=d139e99a13359541ead07073112e3888#72972
...
SVN r3995 (trunk)
2012-12-21 23:59:55 +00:00
Randy Heit
3123925fa8
- Fixed: Changing fluid_chorus and fluid_reverb did not take effect until the next song started.
...
SVN r3994 (trunk)
2012-12-21 23:58:33 +00:00
Randy Heit
849f30daab
- Changed synth.chorus.active and synth.reverb.active settings to use fluid_settings_setint(),
...
since they're int and not string settings.
- Fixed: FluidSynthMIDIDevice::FluidSettingInt() interpreted the return value from fluid_settings_setint() wrongly.
SVN r3993 (trunk)
2012-12-21 23:22:59 +00:00
Randy Heit
3eb9953930
- Fix type conversion warning in file_wad.cpp.
...
SVN r3992 (trunk)
2012-12-21 22:48:40 +00:00
Randy Heit
2022d64ee2
- Do not crash when reading ATAG chunks on processors that don't like unaligned accesses.
...
SVN r3991 (trunk)
2012-12-21 22:47:55 +00:00
Braden Obrzut
e8731c7571
- Added support for Eternity's JUMP table and PCD_GOTOSTACK (again, requires advanced compiler).
...
SVN r3990 (trunk)
2012-12-20 04:17:18 +00:00
Braden Obrzut
86291fcd96
- Added support for Eternity's ATAG chunk (mixed-type arrays). Requires a structure aware compiler (not ACC).
...
SVN r3989 (trunk)
2012-12-17 19:17:02 +00:00
Christoph Oelckers
deff47ea18
- fixed: The map loader did not check for the new node formats.
...
SVN r3982 (trunk)
2012-12-07 07:40:41 +00:00
Randy Heit
d77297e969
- Added support for loading ZGL3/XGL3 nodes.
...
- Added additional debug spew for the nodebuilder.
- Restore the nodebuilder's debug spew that was present in ZDBSP but not the internal version.
Use the CRT's printf for this output to ensure that it is identical to ZDBSP's output for the
same input.
SVN r3980 (trunk)
2012-12-07 06:16:07 +00:00
Randy Heit
b1543fdc08
- Skip 3D floors in the textured automap that are not set to draw their planes.
...
- Fixed: The textured automap also needs to take the texture origin for 3D floors from the control sector.
SVN r3978 (trunk)
2012-12-04 03:47:10 +00:00
Randy Heit
736c7f093a
- Fixed: The textured automap used the main sector's floor's rotation and scaling when drawing 3D floors.
...
SVN r3977 (trunk)
2012-12-04 03:37:52 +00:00
Randy Heit
3a3e9c7063
- Fixed: Flipping textures horizontally also flipped the scrolling direction.
...
SVN r3976 (trunk)
2012-12-04 03:24:25 +00:00
Randy Heit
ea5d2346bf
- Added a negative yrepeat case to wallscan_np2() for upside-down non-power-of-2 textures.
...
SVN r3975 (trunk)
2012-12-04 03:14:02 +00:00
Randy Heit
a57c22981e
- Fix positioning of upside-down textures. Note that wallscan_np2() still needs to be modified
...
to understand negative yrepeats.
SVN r3974 (trunk)
2012-12-04 02:42:53 +00:00
Braden Obrzut
c845675b9b
- Fixed: When using PALVERS on the sky, it used the scaling from the true color version. (Side Note: I changed a line that scales the sky position according to the y scaling factor. This is because a 2x high resolution sky at 2048x256 wasn't positioned the same as a 1024x128 unscaled version. I moved the expression to the > 200 height path only, but I'm not sure if it's even still needed.)
...
- Fixed: PALVERS crashed with unknown textures since a value was never given for %s.
- Fixed: FON2 loader didn't set ActiveColors correctly.
SVN r3973 (trunk)
2012-11-30 23:36:02 +00:00
Randy Heit
c5ffb499ee
- Massage the Java-basd OPL3 emulator so that it can compile with GCC.
...
SVN r3972 (trunk)
2012-11-20 02:16:08 +00:00
Randy Heit
26c702ada5
- Fixed: Intermission text could run off the bottom of the screen at some resolutions.
...
SVN r3971 (trunk)
2012-11-19 02:16:34 +00:00
Christoph Oelckers
7aa4c55bfc
- added Gez's patch to fix map checksum calculation.
...
SVN r3970 (trunk)
2012-11-19 00:43:45 +00:00
Randy Heit
5627a7ebd7
- Added the Java OPL3 emulator to the menu.
...
- Added full panning support to the Java OPL3 emulator.
SVN r3969 (trunk)
2012-11-17 05:26:03 +00:00
Randy Heit
93bd380fee
- Optimize the Java-based OPL3 emulator some by not calling expensive math functions liberally during the rendering loop.
...
SVN r3968 (trunk)
2012-11-16 06:27:03 +00:00
Randy Heit
e59d7bc8b8
- Since we have two OPL cores now, what's one more? Added a straight, (highly) unoptimized port
...
of the Java OPL3 emulator.
SVN r3967 (trunk)
2012-11-15 05:23:24 +00:00
Randy Heit
e3b95a99e9
- Fixed: Having a WrapWidth doesn't do much good if you never use it.
...
SVN r3964 (trunk)
2012-11-10 22:45:15 +00:00
Randy Heit
a71736b598
- Fixed: If there are not enough states for a spawned debris chunk, A_SpawnDebris should still
...
fling it somewhere.
SVN r3963 (trunk)
2012-11-10 03:38:52 +00:00
Randy Heit
f4e108552e
- Fixed: pr_statetics must be named, since it's critical to sync.
...
SVN r3962 (trunk)
2012-11-10 03:36:30 +00:00
Randy Heit
e398957a4c
- Added cybermind's HUD message clipping patch, with numerous changes. There is a new flag
...
and two new functions, both of which are intended for use in conjunction with SetHUDSize:
* SetHUDClipRect(x, y, width, height[, wrapwidth]) - Set the clipping rectangle for future
HUD messages. If you do not specify <wrapwidth>, the HUD message will be layed out as
normal, but pixels outside the rectangle will not be drawn. If you specify <wrapwidth>,
then the message will be wrapped to that width. Use SetHUDClipRect(0, 0, 0, 0[, 0]) to
reset everything
back to normal.
* SetHUDWrapWidth(wrapwidth) - Sets the wrapping width for future HUD messages without
altering the clipping rectangle. If you set the wrapping width to 0, messages will wrap
to the full width of the HUD, as normal.
* HUDMSG_NOWRAP - A HUDMessage() flag that disables wrapping for one message. It is
functionally equivalent to SetHUDWrapWidth(0x7FFFFFFF), except that it only affects the
message it's attached to.
SVN r3960 (trunk)
2012-11-10 03:18:52 +00:00
Randy Heit
955d929d5e
- Ensure that only actor with positive SpawnIDs get added to the SpawnableThings map, so there will
...
be no conflicts with recently-added named arguments for spawnable things on UDMF maps.
- Change the SpawnableThings array into a map, so there is no longer any particular upper limit on an actor's SpawnID. Also fixes a possible exploit, since an actor's SpawnID was never checked to make sure it was within range.
SVN r3959 (trunk)
2012-11-09 23:53:58 +00:00
Randy Heit
3c54047b9f
- Added Gez's "Using arg*str instead of SpawnID" patch, with modifications.
...
SVN r3958 (trunk)
2012-11-09 23:25:56 +00:00
Randy Heit
a4312fb106
- Fix spelling errors spotted by Gez in a few comments.
...
SVN r3957 (trunk)
2012-11-09 23:13:50 +00:00
Randy Heit
2ce1debe8d
- Added FDARI's get actor height and radius patch.
...
SVN r3955 (trunk)
2012-11-09 23:06:40 +00:00
Randy Heit
4f811b89e5
- Remove testing bit inadvertently left in for r3951.
...
SVN r3953 (trunk)
2012-11-09 17:18:47 +00:00
Randy Heit
db4d58b2b8
- Fixed: The resurrect cheat also needs to restore flags6 to their default settings.
...
SVN r3952 (trunk)
2012-11-09 05:20:15 +00:00
Randy Heit
181cfd80b2
- Fixed: Monsters stepping down in A_Chase() should trigger SECSPAC_HitFloor actions.
...
SVN r3951 (trunk)
2012-11-09 05:14:47 +00:00
Randy Heit
8670d6e4f4
- The raw OPL music player no longer checks against the chip count for writing to the second
...
OPL2; OPLwriteReg() will now do nothing when called to act on a chip that doesn't exist. This
is so that it can use the second half of a single OPL3.
SVN r3949 (trunk)
2012-11-09 04:57:25 +00:00
Randy Heit
b513931473
- Move panning volume calculation out of the OPL chips and into the player.
...
SVN r3948 (trunk)
2012-11-09 04:53:31 +00:00
Randy Heit
064ef07b76
- It seems I forgot to add this stuff to the repository.
...
SVN r3947 (trunk)
2012-11-08 23:13:51 +00:00
Randy Heit
3ec387ac32
- Renamed opl_stereo to opl_fullpan, since DOSBox's core is emulating an OPL3, which is stereo
...
but only supports three pan positions and not the full 127 MIDI pan positions.
- Added opl_core cvar to select emulator core. 0 is MAME and 1 is DOSBox.
- Added DOSBox's LGPL OPL core, distantly related to one adlibemu.c written by Ken Silverman
(not to be confused with the ancient MAME-derived and GPL-licensed core also found in DOSBox).
I believe this corresponds to their "compat" emulator, but I'm not sure.
SVN r3946 (trunk)
2012-11-08 05:45:58 +00:00
Randy Heit
12ee3271c4
- Replaced the opl_onechip cvar with opl_numchips. You can now emulate up to 8 of them for MIDI
...
playback. (Raw OPL playback will still clamp it to 2, since there's no use for more than that
with any of the raw OPL formats.)
SVN r3945 (trunk)
2012-11-06 06:10:04 +00:00
Randy Heit
54ad69ebad
- Call init_tables() directly from the YM3812 constructor.
...
SVN r3944 (trunk)
2012-11-06 05:35:43 +00:00
Randy Heit
1d81162d8f
- Fix bug from preceding commit: OPL chips were forced stereo. Also, DiskWriterIO::OPLinit()
...
should return the number of initialized chips, not just 0 and 1.
SVN r3943 (trunk)
2012-11-06 05:29:44 +00:00
Randy Heit
df1e802412
- Make OPL emulation more of a black box.
...
SVN r3942 (trunk)
2012-11-06 05:21:00 +00:00
Randy Heit
47d9859246
- Remove external event callback handlers from fmopl.cpp.
...
SVN r3941 (trunk)
2012-11-06 04:40:01 +00:00
Randy Heit
1640f841e8
- More culling from fmopl.cpp; make the rate parameters constants since it sounds bad with anything but the real clock rate.
...
SVN r3940 (trunk)
2012-11-06 04:34:44 +00:00
Randy Heit
92c7c06310
- Remove unused cruft from fmopl.cpp.
...
SVN r3939 (trunk)
2012-11-06 04:16:58 +00:00
Randy Heit
971eca7d61
- Fixed: Player sounds that explicitly use dsempty will now properly silence the sound instead of
...
looking for a more audible version.
SVN r3938 (trunk)
2012-11-03 03:43:05 +00:00
Randy Heit
65267ec250
- Use an FString to store demoname instead of a fixed-size array. Fixes crashes when passing
...
really long names to -record. On the other hand, if it's long enough to overflow the old
buffer, it'll probably fail to be created now because the name is too long for the OS
functions.
SVN r3936 (trunk)
2012-11-03 03:07:46 +00:00
Randy Heit
f8c1d5d520
- Fixed: Masked mid textures should get their light level from the frontsector they reference,
...
not from the sector they appear in.
SVN r3935 (trunk)
2012-11-03 02:50:33 +00:00
Randy Heit
ecf700b47b
- Fixed: Corpse queue accounting went awry once things started being kicked out of it.
...
SVN r3934 (trunk)
2012-11-03 02:21:55 +00:00
Randy Heit
0f0dcc08a2
- Added a new UDMF sidedef flag: lightfog.
...
SVN r3933 (trunk)
2012-11-03 02:02:42 +00:00
Randy Heit
d0c3c924d4
- Initialize the nerve checksum at compile-time instead of run-time.
...
- Fixed: Crash in FWadCollection::RenameNerve() for files without a FileReader object.
SVN r3932 (trunk)
2012-11-03 00:38:58 +00:00
Randy Heit
aab12c6b0c
- Fixed: Crash when using an inventory bar with the Strife style but no INVCURS graphic.
...
SVN r3931 (trunk)
2012-11-03 00:12:38 +00:00
Randy Heit
b3f68527cf
- It seems I had an unsaved file when I made the last commit, which is strange since I thought I
...
had just done a build before committing.
SVN r3930 (trunk)
2012-11-02 22:25:05 +00:00
Randy Heit
3b0ad55285
- Since our OPL chips are emulated, we can give them a feature that real OPL2 chips lacked:
...
Full stereo panning for the MIDI player. (The raw OPL players are unaffected.) To get the
mono output back, you can set opl_stereo to false.
- Changed SoftSynthMIDIDevice::OpenStream() to allocate the same number of samples for stereo
and mono streams.
SVN r3929 (trunk)
2012-11-02 03:25:50 +00:00
Braden Obrzut
1b5bff9603
- Fixed: Solaris compile.
...
SVN r3928 (trunk)
2012-11-01 18:23:39 +00:00
Randy Heit
4f71176ed6
- Support loading either fluidsynth.dll or libfluidsynth.dll on Windows.
...
SVN r3927 (trunk)
2012-11-01 03:01:04 +00:00
Randy Heit
bfae51ed2e
- Added Gez's BFG edition patch.
...
SVN r3926 (trunk)
2012-11-01 02:42:14 +00:00
Braden Obrzut
d393434d56
- Fixed: Broke UDMF in PK3 loader.
...
SVN r3905 (trunk)
2012-10-24 23:49:34 +00:00
Braden Obrzut
d833a6015d
- Fixed some compiler warnings.
...
SVN r3901 (trunk)
2012-10-22 23:47:09 +00:00
Braden Obrzut
3ec5f7ed88
- Run down the semaphores so they behave more like a mutex (note: mutexes/condition variables seem to be much slower).
...
- Fixed: vid_maxfps and cl_capfps could run into a deadlock on Linux based operating systems.
SVN r3900 (trunk)
2012-10-22 23:42:20 +00:00
Braden Obrzut
cd2c1f6816
- Remove 255 character length restriction on lump names.
...
- Removed directory checking for big endian wads since the header check should be sufficient.
SVN r3899 (trunk)
2012-10-22 21:58:52 +00:00
Braden Obrzut
4b218c1c18
- Added support for compression in wads and big endian wads (which basically means the Jaguar Doom wad can be loaded as a pwad although it's pretty ugly since the graphic formats aren't supported).
...
SVN r3898 (trunk)
2012-10-22 19:54:13 +00:00
Braden Obrzut
b52c3238eb
- Instead of implementing the wad code in three places, use the normal resource code for map loading and GL node loading.
...
SVN r3897 (trunk)
2012-10-22 01:28:11 +00:00
Braden Obrzut
df5d43badf
- OK, so we can't have vid_maxfps on OS X since there does not appear to be an equivalent to POSIX timers. The only thing I could find would require Objective-C and an event loop.
...
SVN r3892 (trunk)
2012-10-18 00:57:56 +00:00
Braden Obrzut
1907983ab7
- Ported frame rate limiting code to SDL.
...
SVN r3891 (trunk)
2012-10-17 19:45:04 +00:00
Braden Obrzut
441f633983
- Moved Sqrt, FixedSqrt, and VectorLength to ACSF_ instead of adding new opcodes.
...
SVN r3888 (trunk)
2012-10-13 22:55:44 +00:00
Randy Heit
f3b40a9f36
- Fixed: WeaponGiver needs to set the MF_DROPPED flag of the spawned weapon to match its own (so
...
that it can't be used as an infinite source of ammo when sv_weaponstay is true).
- Fixed: WeaponGiver should not remember the given weapon after it is picked up (to avoid giving
a weapon owned by one player to a different player when sv_weaponstay is true).
SVN r3886 (trunk)
2012-10-11 04:38:52 +00:00
Randy Heit
81ce8b28f2
- Added the Inventory flag IF_NEVERRESPAWN.
...
SVN r3885 (trunk)
2012-10-11 04:12:35 +00:00
Randy Heit
924cd3ef38
- Added sqrt, fixedsqrt, and vectorlength to ACS.
...
SVN r3883 (trunk)
2012-10-11 03:38:12 +00:00
Braden Obrzut
5011a0dede
- Fixed: FString::Insert copied too many charactes.
...
SVN r3882 (trunk)
2012-10-09 23:05:59 +00:00
Randy Heit
934c27d34a
- Fixed: R_GetColumn() needs to clamp negative column indexes to be inside the texture if the
...
texture's width isn't a power of 2.
SVN r3881 (trunk)
2012-10-05 04:21:34 +00:00
Randy Heit
12e1901150
- Fixed: FListMenuItemPlayerDisplay::Drawer() used the sprite's scale but not the texture's scale.
...
SVN r3880 (trunk)
2012-10-05 03:48:51 +00:00
Randy Heit
864fb5798e
- Added desaturated translation support to ACS.
...
SVN r3878 (trunk)
2012-09-20 02:14:43 +00:00
Randy Heit
9a28216e30
- Added HUDMSG_ALPHA flag. To use alpha with hud messages, you now need to include this flag,
...
so old mods with extra arguments to hudmessage don't produce unexpected results.
SVN r3876 (trunk)
2012-09-20 02:06:50 +00:00
Randy Heit
d28ebe543b
- Changed FRemapTable::AddDesaturation() to take doubles as parameters, since the C ABI always
...
passes doubles to functions anyway.
- Fixed: FRemapTable::AddDesaturation() excluded the final entry from the loop. Also, it was
less forgiving than AddColorRange, in that it did not support ranges in descending order.
SVN r3875 (trunk)
2012-09-19 01:45:00 +00:00
Randy Heit
a0f19fc788
- Fixed: When P_MoveThing() moves the current camera, it also needs to reset the view interpolation.
...
SVN r3874 (trunk)
2012-09-16 04:59:01 +00:00
Randy Heit
44b1879553
- Increased max resolution to 5760x3600, which is enough to do 2x supersampling on the currently
...
largest resolution monitors available (which is the MacBook Pro with Retina Display's 2880x1800).
SVN r3873 (trunk)
2012-09-16 04:51:28 +00:00
Randy Heit
11ca707485
- Added vid_maxfps cvar to limit the frame rate to some arbitrary rate between 35 and 1000 FPS. It
...
defaults to 200. Setting it to 0 will restore the previous behavior of having no frame rate
limit. Note that vid_maxfps 35 is NOT the same as cl_capfps 1. cl_capfps caps the frame rate
by tying the video update directly to the game timer. With vid_maxfps 35, the video update and
game timer are running on separate timers, and results will not be as good as with cl_capfps 1,
which uses only one timer.
SVN r3872 (trunk)
2012-09-16 04:40:56 +00:00
Randy Heit
8f81f57ce7
- Don't notify when other players use the chasecam in deathmatch.
...
SVN r3869 (trunk)
2012-09-09 03:07:41 +00:00
Randy Heit
a2c761bee6
- The chasecam is now only considered a cheat for deathmatch mode. (For that, there is still
...
the sv_chasecam flag in dmflags2.)
SVN r3868 (trunk)
2012-09-09 03:01:49 +00:00
Randy Heit
c4859261ab
- Reformatted the info ccmd to be less verbose.
...
SVN r3866 (trunk)
2012-09-09 02:36:53 +00:00
Randy Heit
a77705e04e
- Added A_JumpIfTargetOutsideMeleeRange and A_JumpIfTargetInsideMeleeRange because I thought
...
I could be clever and have the beggar chase after you some after you attack him, with a
random chance to cease pursuit. However, that didn't look much different from his normal
wandering animation, and he usually gave up before getting anywhere near you, so it was
kind of pointless. I kept the action functions around anyway, since they're simple things that
somebody else might find useful.
- Added a melee range check to A_SentinelRefire for actors without missile states. This fixes
Strife's Beggar trying to attack you when you're nowhere near him.
SVN r3863 (trunk)
2012-09-06 03:36:25 +00:00
Randy Heit
ef55ce8684
- Fixed: P_SpawnBlood() would set Strife's Blood to the Spray state and then promptly go about setting it right back to the Spawn state.
...
SVN r3862 (trunk)
2012-09-01 22:39:11 +00:00
Randy Heit
111b5c60c1
- Fixed: The check in P_SpawnBlood() to avoid advancing the state to something not owned by
...
the spawned blood actor was backwards and would only advance to state's NOT owned by it.
SVN r3861 (trunk)
2012-09-01 22:34:09 +00:00
Randy Heit
6a91335841
- Turned A_Explode's affectsource parameter into a flags parameter and added XF_NOTMISSILE
...
and RTF_NOTMISSILE so that you can use A_Explode and A_RadiusThrust with non-missiles without
them telling P_RadiusAttack() that the target is the source.
SVN r3860 (trunk)
2012-08-30 04:01:50 +00:00
Randy Heit
7af13c8d52
- Use a separate thinker to do suicides, so that console-inflicted suicides will have a chance
...
to put the console up and restore sound before the player days. Needed for actors that make
noise on the first tic of their death. (e.g. Heretic's)
SVN r3859 (trunk)
2012-08-30 03:24:57 +00:00
Randy Heit
59638acb7c
- Fixed: MUSINFO must be parsed after MAPINFO, since it needs the entries created by MAPINFO.
...
SVN r3858 (trunk)
2012-08-30 03:00:37 +00:00
Randy Heit
11a0298f33
- Deactivate the master DSP unit when pausing the sound on title maps as well as on regular maps.
...
SVN r3857 (trunk)
2012-08-28 04:08:48 +00:00
Randy Heit
40cefe6107
- Fixed: When r3837 moved SNDINFO parsing before MAPINFO parsing, it broke support for Hexen's $map SNDINFO command. Removed LEVEL2_MUSICDEFINED, since it's no longer needed by the new implementation for this command.
...
SVN r3856 (trunk)
2012-08-28 03:21:13 +00:00
Randy Heit
3a6806942c
- Fixed: Horizontal movement should not trigger bump specials while predicting.
...
SVN r3855 (trunk)
2012-08-28 02:52:53 +00:00
Randy Heit
a94cf9d548
- Added A_SetTics.
...
SVN r3851 (trunk)
2012-08-24 21:02:49 +00:00
Randy Heit
3bfe7b74f4
- Fixed: side_t::SetTextureYScale() did not allow negative scales, even though they are perfectly valid for flipping a texture vertically.
...
SVN r3850 (trunk)
2012-08-23 01:40:00 +00:00
Randy Heit
980202a18f
- Fixed: PrepWall() and PrepLWall() did not understand negative walxrepeats, which should cause
...
them to flip the texture horizontally.
SVN r3849 (trunk)
2012-08-23 01:34:19 +00:00
Randy Heit
1c71c1dce1
- Added support for random state durations. Instead of defining a frame like this:
...
POSS A 10 A_Look
You can define it as:
POSS A random(10,20) A_Look
and the state will last a random duration between 10 and 20 tics, inclusive.
SVN r3847 (trunk)
2012-08-23 01:00:30 +00:00
Randy Heit
c954fb5477
- Added the mapinfo flag ForgetState. This prevents a maps state from being remembered in a hub,
...
so when you return to it without leaving the hub, it will be as if you had never set foot in
it. RememberState is provided to turn this flag off.
SVN r3846 (trunk)
2012-08-23 00:31:29 +00:00
Randy Heit
69fc0142eb
- Precache sounds played by ASoundSequence actors. (This includes Heretic's ambient sounds.)
...
SVN r3845 (trunk)
2012-08-23 00:15:41 +00:00
Randy Heit
04f09d9b57
- Precache $ambient sounds.
...
SVN r3844 (trunk)
2012-08-22 23:58:18 +00:00
Randy Heit
cc4aadbfaf
- Store ambient sound names as FSoundID rather than as FString.
...
SVN r3843 (trunk)
2012-08-22 23:55:30 +00:00
Randy Heit
39ff34645f
- Precache PickupSound, UpSound, and ReadySound.
...
SVN r3842 (trunk)
2012-08-22 23:51:23 +00:00
Randy Heit
0ac94c5265
- Precache player sounds at level load.
...
SVN r3841 (trunk)
2012-08-22 23:46:47 +00:00
Randy Heit
1d3c26f088
- Add the definition for sfxinfo_t::MarkUsed() (poo for incomplete commits).
...
SVN r3840 (trunk)
2012-08-22 23:21:23 +00:00
Randy Heit
625482aaeb
- Added actors' BounceSound, WallBounceSound, and CrushPainSound to preloading.
...
- Moved marking of actor sounds for precaching into a virtual Actor function.
SVN r3838 (trunk)
2012-08-22 23:17:49 +00:00
Randy Heit
9d82c7fa0e
- Added PrecacheSounds mapinfo option. This takes a list of sounds to preload when the level is
...
loaded.
SVN r3837 (trunk)
2012-08-22 22:36:06 +00:00
Randy Heit
8a021c4b4b
- Added PLAYERINFO_FOV and PLAYERINFO_DESIREDFOV for use with GetPlayerInfo. PLAYERINFO_FOV is
...
the player's current FOV, and PLAYERINFO_DESIREDFOV is the FOV that was set with the fov
console command.
SVN r3835 (trunk)
2012-08-22 22:09:17 +00:00
Randy Heit
bc30b1a806
- Exported the scoreboard text to LANGUAGE.
...
SVN r3834 (trunk)
2012-08-22 21:53:44 +00:00
Randy Heit
d5d4584008
- Ignore the Skulltag-based SERVERSIDEONLY flag in actor definitions.
...
SVN r3833 (trunk)
2012-08-22 21:35: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
Braden Obrzut
adf9bd2e1a
- Fixed: screenshot_dir overrided -shotdir.
...
SVN r3831 (trunk)
2012-08-22 04:23:51 +00:00
Braden Obrzut
2564125148
- Fixed: Crash when trying to swap fragglescript special when specials 272 and 270 aren't in the translation array.
...
SVN r3830 (trunk)
2012-08-22 04:16:58 +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
166b4dbb75
- Since the string builder stuff takes care of recursive print calls now, the PCD_CALLs don't
...
need to save it as part of the state when calling functions.
SVN r3828 (trunk)
2012-08-14 03:00:03 +00:00
Randy Heit
7a8ccaad97
- Clear the shootable flag in P_ExplodeMissile().
...
SVN r3827 (trunk)
2012-08-14 02:50:29 +00:00
Randy Heit
86ef939f82
- Fixed: The new HUD message layers were not declared for the garbage collector.
...
SVN r3826 (trunk)
2012-08-14 02:25:59 +00:00
Randy Heit
26c17dc697
- Added ACS support for setting HUD messages alpha levels. This is an additional optional
...
parameter added to the end of the HudMessage command's existing parameter lists. So for
HUDMSG_PLAIN, it comes after the hold time. For HUDMSG_FADEOUT and HUDMSG_TYPEONE, it comes
after the fade time. And for HUDMSG_FADEINOUT, it comes after the out time.
- Alpha is a fixed point number between 0.0 and 1.0.
- Example:
Without alpha (unchanged from before):
HudMessage(s:"Some text", HUDMSG_PLAIN, 0, CR_UNTRANSLATED, 0.5, 0.5, 3.0);
With alpha (alpha is added to the end):
HudMessage(s:"Some text", HUDMSG_PLAIN, 0, CR_UNTRANSLATED, 0.5, 0.5, 3.0, 0.5 /* this is the alpha */);
SVN r3825 (trunk)
2012-08-12 23:24:41 +00:00
Randy Heit
c9b480e0ec
- Added lowlevel support for custom alphas for HUD messages.
...
- Added HUDMSG_ADDBLEND to draw HUD messages with additive blending.
SVN r3824 (trunk)
2012-08-12 23:14:31 +00:00
Randy Heit
4056f0191a
- Safely handle unknown HUD message layers.
...
SVN r3823 (trunk)
2012-08-12 22:54:01 +00:00
Randy Heit
73552f0365
- Added HUD message visibility flags, which are ORed into the type field:
...
* HUDMSG_NOTWITH3DVIEW : This message does not appear when the 3D view is active.
* HUDMSG_NOTWITHFULLMAP : This message does not appear when the fullscreen automap is active.
* HUDMSG_NOTWITHOVERLAYMAP : This message does not appear when the overlay automap is active.
These flags may be combined, so for example: HUDMSG_NOTWITHFULLMAP | HUDMSG_NOTWITHOVERLAYMAP
would prevent the message from appearing if any form of automap is active.
- Added HUD message layers, which are ORed into the type field:
* HUDMSG_LAYER_OVERHUD : This is the default and standard behavior. The message appear on
top of most HUD elements. This definition is just included for completeness' sake; you
don't need to explicitly use it.
* HUDMSG_LAYER_UNDERHUD : The message appears underneath other HUD elements, such as the status bar.
* HUDMSG_LAYER_OVERMAP : The message appears on top of the fullscreen automap. At the moment,
this layer is functionally equivalent to using the flags HUDMSG_NOTWITH3DVIEW | HUDMSG_NOTWITHOVERLAYMAP.
However, if Blzut3 decides to implement support for drawing the automap permanently on a
second screen, messages on this layer will move to that screen with the automap and be permanently
visible as long as the map is visible on that other screen.
These are not flags, so for example HUDMSG_LAYER_UNDERHUD | HUDMSG_LAYER_OVERHUD is not valid.
SVN r3821 (trunk)
2012-08-12 22:24:15 +00:00
Randy Heit
27f6d431ca
- Trying to replace an actor that does not exist is now a warning rather than an error.
...
SVN r3820 (trunk)
2012-08-12 03:36:49 +00:00
Randy Heit
2a9a1fb240
- Fixed: All 3D floors were additive due to a typo.
...
SVN r3819 (trunk)
2012-08-12 03:23:35 +00:00
Randy Heit
3ddac32b4f
- Because setting a DSP unit inactive completely ceases all processing on it, including timing,
...
sounds queued up while the Channel Group Target Unit is inactive will all play at the same time
once the unit is made active. To avoid this, it is now only deactivated when the gamestate is
GS_LEVEL. Otherwise, it just gets muted. Fixes http://forum.zdoom.org/viewtopic.php?f=2&t=33592 "Strife voices overlap"
SVN r3818 (trunk)
2012-08-10 03:49:50 +00:00
Randy Heit
718d3f8d43
- Changed vid_tft's default to true. How many people still run 1280x1024 on a CRT these days?
...
- Fixed: M_InitVideoModesMenu() needs to call vid_tft's callback.
SVN r3816 (trunk)
2012-08-10 02:56:09 +00:00
Randy Heit
5c702e66e2
- Player icons that are taller than the small font will now expand the vertical size of the
...
player bars on the scoreboard.
- Fixed: Having +showscores down during the intermission would draw both the regular intermission
scoreboard plus the HUD scoreboard.
- Fixed: hu_scores used the player icon's unscaled width when calculating sizes.
SVN r3815 (trunk)
2012-08-10 02:49:41 +00:00
Randy Heit
ebc4e5b4e1
- Fixed: P_TouchSpecialThing() considered all pickup items to be 32 units tall for the sake
...
of touching, even if they were taller.
SVN r3814 (trunk)
2012-08-10 02:17:16 +00:00
Randy Heit
e2a018227f
- Added additive blending for floors and ceilings.
...
SVN r3813 (trunk)
2012-08-09 04:31:31 +00:00
Braden Obrzut
cb296a6660
- Fixed: Valgrind error when copying the FON2 palettes.
...
SVN r3812 (trunk)
2012-08-07 20:09:07 +00:00
Braden Obrzut
5f4889d99e
- Backported SPACEWIDTH for fontdefs from ECWolf.
...
SVN r3811 (trunk)
2012-08-07 08:11:56 +00:00
Braden Obrzut
6af0744f75
- Removed unused variable in v_font.cpp.
...
SVN r3810 (trunk)
2012-08-06 20:59:52 +00:00
Braden Obrzut
1b05969d44
- Fixed: FString would truncate a string if Insert was called on a string which has a reference count greater than 1.
...
SVN r3809 (trunk)
2012-08-06 10:28:55 +00:00
Braden Obrzut
70d8daa341
- Merged some ECWolf's font code changes. In particular support for retranslating the fonts should the palette change at run time. (This required storing what lump the font was generated from for FON1. This information is stored in FFont since ECWolf also uses the information to allow FONTDEF fonts to be overriden with single lump fonts consistently, but I didn't merge that part as it might break something.)
...
SVN r3808 (trunk)
2012-08-06 10:25:51 +00:00
Braden Obrzut
cb413c600e
- Fixed: Memory error when loading BMF palettes.
...
- Fixed: When locating WhiteIndex and BlackIndex in the palette index 0 was skipped.
- Fixed: When filling an area black for vid_fps or pillarbox/letterbox use GPalette.BlackIndex instead of assuming palette index 0 is black.
SVN r3807 (trunk)
2012-08-06 09:49:15 +00:00
Randy Heit
4ac8f5eae4
- Fixed: FMultiPatchTexture::CopyTrueColorPixels() set up the alpha values backwards for blend mode BLEND_OVERLAY.
...
SVN r3806 (trunk)
2012-08-04 03:01:17 +00:00
Randy Heit
0d631a9075
- Fixed: The nextmap and nextsecret ccmds should be disabled in network games.
...
SVN r3805 (trunk)
2012-08-04 02:42:16 +00:00
Randy Heit
6e81216bbd
- Fixed: The softsynths did not reset the tempo to its initial value when restarting a song.
...
SVN r3804 (trunk)
2012-08-04 02:14:32 +00:00
Randy Heit
26f9540d3c
- Fixed: I missed a nuance of the MIDI spec when writing MIDIStreamer::CreateSMF(): Running status
...
is supposed to be canceled by sysex events and meta events. This confused FMOD when the
resulting song used used running status right after these events.
SVN r3803 (trunk)
2012-08-04 01:42:49 +00:00
Randy Heit
ede622bb93
- Change the text when riched20.dll cannot be loaded, and also display it with MessageBox, since
...
it's far too early to be used with I_FatalError. (But since this should always be available on
every Windows version after 95, this should be a non-issue.)
- Make unknown OS versions default to Windows 2000 instead of Windows 95.
SVN r3802 (trunk)
2012-08-02 04:00:40 +00:00
Randy Heit
a051697488
- Since ZDoom hasn't actually run on Windows 95 in some time, and nobody has complained, remove the IsDebuggerPresent thunk.
...
SVN r3800 (trunk)
2012-08-02 03:44:13 +00:00
Randy Heit
8c465df44e
- Added ACS function IsTIDUsed(tid): It returns whether any actors using the given TID exist. This
...
is more efficient than ThingCount(tid, T_NONE), because it only needs to check for one actor
with the TID and not all of them. It also makes no distinction between dead things and live
things like ThingCount does.
- Added ACS function UniqueTID(tid, limit): It returns a new TID that is not currently used by
any actors. It has two modes of operation. If tid is non-zero, then it checks TIDs one-by-one
starting at the given tid until if finds a free one. If tid is zero, then it returns a completely
random TID. If limit is non-zero, then it will only check that many times for a free TID, so
it might not find a free one. If no free TID is found, 0 is returned. If limit is zero, then
the search is effectively unlimited.
SVN r3798 (trunk)
2012-08-01 03:12:43 +00:00
Braden Obrzut
67f64081d0
- Changed unix config directory from ~/.zdoom to ~/.config/zdoom to comply with Ubuntu Software Centre guidelines.
...
SVN r3797 (trunk)
2012-07-30 09:31:04 +00:00
Randy Heit
0aee56be15
- Fixed typo in r3795's change to GetActorZ and a potential null pointer dereference.
...
SVN r3796 (trunk)
2012-07-30 00:50:19 +00:00
Randy Heit
9c0b0dc774
- Add the bob offset to the missiles spawned by P_SpawnMissile(), P_SpawnMissileAngle(), P_SpawnMissileAngleSpeed(), A_MissileAttack, A_ComboAttack, A_BasicAttack, A_CustomMissile, A_CustomComboAttack, A_ThrowGrenade, A_SpawnDebris, and A_Burst.
...
- Add the bob offset to the value returned by GetActorZ.
SVN r3795 (trunk)
2012-07-30 00:05:24 +00:00
Randy Heit
56aeb85eee
- Fixed: menu_endgame showed no text during a netgame, nor did it block you from ending a netgame.
...
SVN r3791 (trunk)
2012-07-27 02:35:00 +00:00
Randy Heit
97372c9c05
- Changed A_SpawnItem and A_SpawnItemEx to take the caller's floatbob into account when calculating the spawned actor's z.
...
SVN r3790 (trunk)
2012-07-27 02:01:36 +00:00
Randy Heit
eea532ce48
- Move the float bob offset calculation into a separate function.
...
SVN r3789 (trunk)
2012-07-27 01:53:21 +00:00
Randy Heit
6bd8fafbad
- Fixed: The float bob offsetting in R_ProjectSprite was using r_TicFrac as a millisecond count
...
rather than as a fraction of a tic.
SVN r3788 (trunk)
2012-07-27 01:44:55 +00:00
Randy Heit
10f1281977
- Remove LabelOffset from menus entirely and just compute things so that the console font and
...
small font, when mixed on the same line, align at their baselines.
SVN r3786 (trunk)
2012-07-26 05:27:37 +00:00
Randy Heit
2b0cc30f7c
- Fixed: The label offset has no business being involved in the positioning of the options menu cursor. Also put the cursor towards the bottom of tall small fonts.
...
SVN r3785 (trunk)
2012-07-26 04:47:29 +00:00
Randy Heit
22cc0544af
- Fixed: FStateDefinitions::FinishStates() must ResolveGotoLabels before resolving labelled gotos. Otherwise, something like this fails:
...
Goto State1
State1:
Goto State2
State2:
because when "Goto State1" is processed, State1 is still pointing at the string "State2" rather than State2's state, so the goto will end up pointing at a string (which will soon be
freed from memory) instead of at an actual state.
SVN r3784 (trunk)
2012-07-22 04:30:07 +00:00
Randy Heit
6bb6df483a
- Fixed: DSBarInfo::ScreenSizeChanged() must call its supermethod.
...
SVN r3783 (trunk)
2012-07-22 03:20:34 +00:00
Braden Obrzut
c53a4f3ae1
- Fixed: 1 pixel border was drawn when there was no status bar.
...
SVN r3782 (trunk)
2012-07-22 03:06:51 +00:00
Randy Heit
12ef53a2ff
- snd_midipatchset and fluid_patchset are now processed through NicePath() for variable
...
substitution. In addition, on Windows, if they contain no path separator, they will
automatically have $PROGDIR prepended to them.
SVN r3781 (trunk)
2012-07-21 03:46:36 +00:00
Randy Heit
37dffe210f
- Fixed: player_t::settings_controller was not serialized.
...
SVN r3780 (trunk)
2012-07-21 03:04:59 +00:00
Randy Heit
d2843c199e
- Fixed: Pain flashes were not inheritable.
...
SVN r3779 (trunk)
2012-07-21 02:58:52 +00:00
Randy Heit
5c7e04c539
- Fixed typo: Midtextures with world panning replaced rw_midtexturemid with the rowoffset instead of adding them together.
...
SVN r3778 (trunk)
2012-07-21 02:40:34 +00:00
Randy Heit
23c950ba98
- Fix typo: MF6_SEEINVISIBLE is in flags6, not flags.
...
SVN r3777 (trunk)
2012-07-21 02:33:08 +00:00
Randy Heit
6760a3bfe9
- Fixed: hud_scale is supposed use strictly integral scaling factors.
...
SVN r3776 (trunk)
2012-07-21 02:32:04 +00:00
Randy Heit
f96f665e63
- Fixed: R_ExtendSpriteFrames() would change spr.spriteframes even when it wasn't moving them around.
...
SVN r3775 (trunk)
2012-07-21 01:51:02 +00:00
Randy Heit
ffc4398aa7
- Added a 90 degree offset to all voxels, since Build's compass directions start at north
...
rather than east.
SVN r3774 (trunk)
2012-07-21 01:34:29 +00:00
Braden Obrzut
340db9160b
- Draw 1 pixel of border at the edges of the status bar to prevent imprecision HOMs (only top and bottom for non-widescreen for now).
...
- The completeborder command is handled at the base statusbar now since it can do so more efficiently.
SVN r3771 (trunk)
2012-07-18 22:30:10 +00:00
Randy Heit
fdc6a03125
- Remove Item from StateCallData, since it isn't read anywhere.
...
SVN r3766 (trunk)
2012-07-15 23:00:16 +00:00
Randy Heit
dac802d28a
- Fixed: Toggling the automap could cancel out ending the level, among other things.
...
SVN r3765 (trunk)
2012-07-15 03:55:05 +00:00
Randy Heit
fcd4854714
- Fixed: FListMenuItemPlayerDisplay could crash at various points if a class does not have a See state.
...
SVN r3764 (trunk)
2012-07-15 03:33:28 +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
6f93b88245
- Fixed type in A_Respawn.
...
SVN r3762 (trunk)
2012-07-15 01:59:49 +00:00
Randy Heit
1c1957085f
- Enumerate ZDaemon's ACSF_ values.
...
SVN r3757 (trunk)
2012-07-14 02:01:08 +00:00
Randy Heit
616672237d
- Added PCD_SCRIPTWAITNAMED p-code.
...
SVN r3756 (trunk)
2012-07-11 04:00:04 +00:00
Randy Heit
95b9eae242
- Fixed: PCD_SCRIPTWAITDIRECT had different semantics than PCD_SCRIPTWAIT.
...
SVN r3754 (trunk)
2012-07-11 03:14:08 +00:00
Randy Heit
ba00e3a185
- Remove FloatBobOffsets[], since it's just a mini-finesine[] table multiplied by 8.
...
SVN r3753 (trunk)
2012-07-11 02:50:13 +00:00
Randy Heit
26e65b26a1
- Remove FloatBobDiffs[] table, as it is now unused.
...
SVN r3752 (trunk)
2012-07-11 01:43:07 +00:00
Randy Heit
8a925757f5
- Added the item flag IF_RESTRICTABSOLUTELY. When this is set, players of the wrong class cannot
...
pickup an item at all. (For instance, normally players in Hexen can still pick up other players'
weapons for ammo. With this flag set, they cannot do that either.)
SVN r3751 (trunk)
2012-07-08 02:45:46 +00:00
Randy Heit
0c8e4c37d9
- The complete FMapThing is overkill for storing player starts, so use a new minimal structure for them.
...
SVN r3750 (trunk)
2012-07-08 02:18:15 +00:00
Randy Heit
71601f91d1
- Added MAPINFO flag RandomPlayerStarts. In this mode, no voodoo dolls are spawned. Instead, all
...
player starts are added to a pool, and players spawn at a random spot.
SVN r3749 (trunk)
2012-07-08 01:43:47 +00:00
Randy Heit
390fd5dd6c
- Pass playernum as a parameter to P_SpawnPlayer(). Now P_SpawnMapThing() is the only thing
...
that uses the MapThing's type to determine the which player is spawning.
SVN r3748 (trunk)
2012-07-07 22:52:37 +00:00
Randy Heit
fd784b05c2
- Fix some GCC 4.7.1 warnings.
...
SVN r3747 (trunk)
2012-07-07 03:43:11 +00:00
Randy Heit
f0d60ddcee
- Added UsePlayerStartZ MAPINFO option to cause P_SpawnPlayer() to offset the spawned player's
...
Z position by the MapThing's Z, just like for any other MapThing.
- P_SpawnPlayer() now respects a player's SPAWNCEILING and SPAWNFLOAT flags.
SVN r3746 (trunk)
2012-07-07 03:18:09 +00:00
Randy Heit
f6ff2ea8a7
- Fixed: MF6_BUMPSPECIAL only worked when bumped from X/Y movement but not Z movement.
...
SVN r3745 (trunk)
2012-07-07 02:28:29 +00:00
Randy Heit
5e2b4bddda
- Make floatbobbing a purely cosmetic effect that does not alter an actor's real position in the world.
...
SVN r3744 (trunk)
2012-07-06 03:42:03 +00:00
Randy Heit
154e83331d
- We don't need to keep the FloatBobOffsets[] verison of DoWaggle around.
...
SVN r3743 (trunk)
2012-07-06 03:16:13 +00:00
Randy Heit
5a245af2ad
- Fixed: The action function version of ACS_NamedExecuteWithResult only accepted three script parameters.
...
SVN r3741 (trunk)
2012-07-06 03:09:17 +00:00
Randy Heit
dc641766d3
- Fixed: Editing the player (thing #1 ) with DeHacked would remove its MF2_PUSHWALL flag.
...
SVN r3740 (trunk)
2012-07-06 03:04:06 +00:00
Randy Heit
9757492b7a
- This was not supposed to be committed as part of r3737.
...
SVN r3739 (trunk)
2012-07-06 02:37:50 +00:00
Randy Heit
a5d77e6796
- Don't use abbreviations in exception descriptions.
...
SVN r3738 (trunk)
2012-07-06 02:29:00 +00:00
Randy Heit
ca2cfb803f
- Do do not disable config writing before DoGameSetup() (introduced in r3653) if the config file
...
does not already exist. This way, we can create a default config file without removing anything
from an existing config file if things go wrong early during setup.
SVN r3737 (trunk)
2012-07-06 02:22:58 +00:00
Randy Heit
44496e142a
- Let's go ahead and bump the version in trunk.
...
SVN r3735 (trunk)
2012-07-05 22:05:42 +00:00
Randy Heit
8673743139
- Do not set the mouse pointer if the display is 8 bit, since such displays don't support color cursors.
...
SVN r3734 (trunk)
2012-07-05 21:46:03 +00:00
Randy Heit
ca33d55bd3
- Fixed: DDrawFB should not recreate all its resources when the palette changes if we were
...
the one responsible for the palette change.
- Fixed: DDrawFB::CreateSurfacesComplex() starting tries at 2 instead of 0 is not "debugging cruft"
since it counts down, not up. (Partially reverts r3195)
SVN r3733 (trunk)
2012-07-05 21:05:06 +00:00
Braden Obrzut
72f1a37ec4
- Fixed: ACS function pointer instructions need to call GetFunction on the tagged module instead of the active behavior.
...
SVN r3732 (trunk)
2012-07-03 20:17:31 +00:00
Braden Obrzut
439b60ae68
- Added support for Eternity Engine's function pointer ACS instructions. (Note that an alternative ACS compiler is necessary to use these instructions properly.)
...
SVN r3731 (trunk)
2012-07-03 01:24:52 +00:00
Randy Heit
e800522e26
- Fixed: sv_unlimited_pickup did not work with the flechette.
...
SVN r3727 (trunk)
2012-07-01 22:47:13 +00:00
Randy Heit
8f39e692e7
- Fixed: FCoverageBuffer::InsertSpan() failed to consider the case where the new span starts above
...
an existing span and ends below it.
SVN r3726 (trunk)
2012-07-01 22:42:35 +00:00
Randy Heit
e61f08478d
- Fixed: Revision 3711 broke voxels that need to be drawn offscreen before drawing to the screen.
...
SVN r3725 (trunk)
2012-07-01 22:30:41 +00:00
Randy Heit
2d8b43734b
- Fixed: Revision 3711 broke the drawing of all but the first post in each voxel column.
...
SVN r3724 (trunk)
2012-07-01 22:18:59 +00:00
Randy Heit
b6fb733a81
- Oh, dear I committed the wrong version of the fix in r3722.
...
SVN r3723 (trunk)
2012-07-01 03:35:52 +00:00
Randy Heit
a71b2210a1
- Fixed: Do not override the player's sprite if it's TNT1 and the player is uncrouched without
...
a specific crouch sprite defined by both the player class and skin.
SVN r3722 (trunk)
2012-07-01 03:33:49 +00:00
Randy Heit
4bbc9266e2
- Fixed: FRandom told the expression evaluator that it returned an int instead of a float, so
...
using it in in any expression would automatically downcast it to an int unless ① its sibling in the expression tree was a float, or ② it was the only thing in the expression.
SVN r3721 (trunk)
2012-07-01 03:16:37 +00:00
Randy Heit
ce8ca26bc9
- Fixed: Don't warn when an Inventory item's Icon is set to "".
...
SVN r3720 (trunk)
2012-07-01 02:57:00 +00:00
Randy Heit
1346f136f2
- Added inventory-based damage modification to APoisonCloud::DoSpecialDamage() and P_PoisonDamage().
...
SVN r3718 (trunk)
2012-06-30 01:06:30 +00:00
Randy Heit
e1641da881
- Make APoisonCloud::DoSpecialDamage() and P_PoisonDamage() respect damage factors.
...
- Pass the damage type to AActor::DoSpecialDamage().
SVN r3717 (trunk)
2012-06-29 04:21:31 +00:00
Randy Heit
4a3438499e
- Use floating point instead of the distrecip() function for slightly less precision loss.
...
- Tweak voxel sizes and vertical positioning further.
SVN r3716 (trunk)
2012-06-29 03:58:26 +00:00
Randy Heit
a2b51665ac
- Try to keep voxels from shifting up and down depending on how far you are above or below them.
...
SVN r3714 (trunk)
2012-06-28 05:22:40 +00:00
Randy Heit
a3dc2149d4
- Adjust voxel scale further, under Enjay's tutelage.
...
SVN r3713 (trunk)
2012-06-28 04:55:44 +00:00
Randy Heit
687b371dbd
- Whoops. That doesn't work right if it needs to actually draw more than one column segment from each voxel strip.
...
SVN r3712 (trunk)
2012-06-28 04:33:49 +00:00
Randy Heit
1fc138400b
- Allow voxels to be further off the side of the screen than regular sprites, since they can stick out more.
...
- Clip each column of voxel strips individual, rather than clipping them all the same as the first one.
SVN r3711 (trunk)
2012-06-28 04:24:29 +00:00
Christoph Oelckers
a2c975bf30
- fixed: stommus CCMD did not clear the last played song so it got restarted if a volume change occured
...
SVN r3710 (trunk)
2012-06-24 12:38:23 +00:00
Randy Heit
e5dfb6f42b
- This hasn't been 2.5.0 for ages...
...
SVN r3709 (trunk)
2012-06-24 04:06:05 +00:00
Randy Heit
f897b1a1a2
- Make voxels slightly larger so that the size of one 3D "texel" is the same as one 2D texel at the same location.
...
SVN r3708 (trunk)
2012-06-24 03:56:53 +00:00
Randy Heit
41f2337e7a
- Fixed: Texture positioning for one-sided lines marked ML_DONTPEGBOTTOM was wrong.
...
SVN r3707 (trunk)
2012-06-22 04:07:53 +00:00
Randy Heit
70c11f7568
- Added RGF_CENTERZ to spawn a rail from the actor's center instead of offsetting it upward.
...
- Merged all the multiple bool parameters to the railgun functions into a single flags parameter.
SVN r3706 (trunk)
2012-06-22 03:56:08 +00:00
Randy Heit
c53c14b8c6
- Fixed: FDecalGroup::GetDecal() crashed if there were no decals defined for the group.
...
SVN r3705 (trunk)
2012-06-22 03:30:57 +00:00
Christoph Oelckers
8bbe241dcf
- fixed: A_Saw used the target acquired by P_AimLineAttack for determining if it hit something, not the actual victim of the attack. This is particularly incorrect if the target is a ghost or a spectal monster.
...
SVN r3704 (trunk)
2012-06-21 09:11:00 +00:00
Christoph Oelckers
690e01d4fc
- unset CF_FLY cheat flag when a player is spawned.
...
SVN r3703 (trunk)
2012-06-21 09:00:02 +00:00
Christoph Oelckers
814ce3d39c
- fixed: The D3D FlatFill function ignored the alpha channel, unlike its counterpart in the paletted renderer.
...
SVN r3702 (trunk)
2012-06-21 08:54:50 +00:00
Christoph Oelckers
a8ac550827
- fixed: a few DECORATE commands had incorrect parameter lists.
...
SVN r3700 (trunk)
2012-06-21 07:55:59 +00:00
Braden Obrzut
d652acb9e4
- Fixed: Auxilery statusbars didn't respect the forcescaled flag.
...
SVN r3699 (trunk)
2012-06-19 05:22:24 +00:00
Christoph Oelckers
67e4d93395
- fixed: The Wraithverge's sprits couldn't be blasted anymore due to some incomplete changes related to how A_Blast handles the blast strength. AHolySpirit::SpecialBlastHandling still used the obsolete BLAST_FULLSTRENGTH constant.
...
SVN r3698 (trunk)
2012-06-17 10:28:55 +00:00
Randy Heit
7d3d09e523
- Quadruple ACS runaway limit to 2 million instructions.
...
SVN r3697 (trunk)
2012-06-17 04:06:52 +00:00
Randy Heit
c8dede941c
- Comment fix.
...
SVN r3696 (trunk)
2012-06-17 04:04:41 +00:00
Randy Heit
61742ee3a9
- Fixed: Heightsecs with SECF_FAKEFLOORONLY set should not clip sprites to the fake ceiling (since
...
it doesn't really exist).
SVN r3695 (trunk)
2012-06-17 03:28:04 +00:00
Randy Heit
b982482f74
- Fixed: P_LineAttack() calls that use damage type 'None' should use 'Hitscan' instead.
...
SVN r3694 (trunk)
2012-06-17 03:18:26 +00:00
Christoph Oelckers
37d9519673
- added Xaser's submission for no impact damage from blasting.
...
SVN r3693 (trunk)
2012-06-16 09:01:05 +00:00
Christoph Oelckers
ff25785781
- removed the MF5_FASTER and MF5_FASTMELEE flags and replaced them with a 'Fast' state flag.
...
SVN r3692 (trunk)
2012-06-16 08:35:51 +00:00
Randy Heit
6e5c048df8
- Bah, you, GCC.
...
- Forgot to remove the _heapchk() calls.
SVN r3691 (trunk)
2012-06-16 04:28:23 +00:00
Randy Heit
661e33f364
- Added the CCMD listsnapshots to show which maps have savedata stored.
...
SVN r3690 (trunk)
2012-06-16 04:05:31 +00:00
Randy Heit
08272a29ad
- Added textual descriptions of the zlib errors.
...
SVN r3689 (trunk)
2012-06-16 03:29:44 +00:00
Randy Heit
c197d0687c
- Fixed: FinalGC() needs to run before the type system is shut down.
...
- Fixed: Don't access class metadata at all in DObject::PropagateMark if the type system is shutdown.
- Fixed: If FCompressedMemFile::Reopen() fails, then it would try to double-free memory when deleted.
SVN r3688 (trunk)
2012-06-16 03:10:38 +00:00
Christoph Oelckers
970d5afcd2
- fixed: The text screen's color #6 should be brown, not dark yellow.
...
SVN r3687 (trunk)
2012-06-15 07:17:30 +00:00
Braden Obrzut
af30e933e4
- Fixed: Direct instructions need to tag their strings before lookup.
...
SVN r3686 (trunk)
2012-06-11 21:46:47 +00:00
Christoph Oelckers
3d7c6811c1
- The bouncing check from r3643 cannot be applied retroactively to the existing DOOMBOUNCE flag because mods depend on the old behavior. Instead of modifying BOUNCE_OnOff's behavior the correct way of doing this has to be implemented as a separate flag in order to avoid problems.
...
SVN r3685 (trunk)
2012-06-10 10:17:49 +00:00
Christoph Oelckers
e094e1b515
- restored the old underwater sinking code for players.
...
SVN r3684 (trunk)
2012-06-09 18:54:53 +00:00
Christoph Oelckers
ba9f29531e
- fixed: The music name wasn't recorded when a song was started with music volume set to 0.
...
SVN r3683 (trunk)
2012-06-09 14:41:18 +00:00
Christoph Oelckers
18839acddb
- added a check to the MENUDEF parser to prevent special menus from being replaced by something non-functional to counter attempts to cripple the engine's functionality.
...
SVN r3682 (trunk)
2012-06-09 11:05:25 +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
Randy Heit
2c6763d750
- A_FPunchAttack no longer thrusts targets with INT_MAX mass.
...
- Folded duplicated code from A_FPunchAttack into a separate function.
SVN r3680 (trunk)
2012-06-09 04:00:39 +00:00
Christoph Oelckers
6db4164794
- added a check to the ANIMATED parser that prints an error message if it tries to read past the end of the lump.
...
SVN r3679 (trunk)
2012-06-06 07:02:30 +00:00
Braden Obrzut
df7c03b933
- Also allow string constants on font names.
...
SVN r3678 (trunk)
2012-06-04 22:39:49 +00:00
Braden Obrzut
9b7e44c026
- Fixed: Allow string constants in SBarInfo whenever an actor name is required. The only exception is drawing the inventory icon with drawimage since it would be ambiguous, so I would advise using valid identifiers for class names even if it isn't required. Parenthesized syntax is required to use this feature where applicable.
...
SVN r3677 (trunk)
2012-06-04 22:26:26 +00:00
Christoph Oelckers
ab737220f0
- fixed: The secret hint code did not resolve level names coming from the string table.
...
SVN r3676 (trunk)
2012-06-03 15:59:44 +00:00
Randy Heit
36d348dba6
- Don't record pointers to OptionValues outside of the OptionValues table, so that they can be redefined.
...
SVN r3675 (trunk)
2012-06-02 03:12:14 +00:00
Christoph Oelckers
9e31ff0799
- fixed: CheckForPushSpecial's window check must also check 3D floors in the back sector.
...
SVN r3674 (trunk)
2012-05-31 10:07:30 +00:00
Christoph Oelckers
9c4a565366
- fixed: Inventory clearing after changing a level with the ACS ChangeLevel command did not properly clear the inventory. This will now use the same code as the ACS ClearInventory command.
...
SVN r3673 (trunk)
2012-05-31 09:46:07 +00:00
Christoph Oelckers
171066388f
- last commit was broken. :(
...
SVN r3672 (trunk)
2012-05-31 08:51:40 +00:00
Christoph Oelckers
e28ecdda50
- fixed: Option value sets for the menu may not be redefined. An attempt to do so must produce a fatal error.
...
SVN r3671 (trunk)
2012-05-31 08:47:55 +00:00
Randy Heit
3bd45f8011
- Fixed: The sinking-in-water code didn't really know what to do with things that aren't players.
...
SVN r3670 (trunk)
2012-05-31 04:32:37 +00:00
Randy Heit
2c3b57145a
- When scrolling rotated floors and ceilings, scroll as if the texture was unrotated. (That is,
...
keep the scroll direction constant, no matter what the rotation.)
SVN r3669 (trunk)
2012-05-31 03:40:28 +00:00
Randy Heit
5b9b7a99ef
- Fixed: Plat_RaiseAndStayTx0 and FloorAndCeiling_LowerRaise had incorrect max parameter counts.
...
SVN r3667 (trunk)
2012-05-26 01:05:49 +00:00
Randy Heit
9473e229f1
- Fix tiny error in A_WolfAttack, courtesy of Gez.
...
SVN r3666 (trunk)
2012-05-26 01:03:39 +00:00
Randy Heit
23acb77030
- Fixed: When DHUDMessageTypeOnFadeOut stops typing, it should reset Tics so that
...
DHUDMessageFadeOut::Tick() starts counting from the time the last line was fully displayed, not
from the time its first character was displayed.
SVN r3665 (trunk)
2012-05-26 00:55:27 +00:00
Braden Obrzut
4753be45fc
- The SBarInfo AspectRatio command should treat 17:10 ratios as 16:10 for better compatibility with existing status bars unless the statusbar explicitly checks for it.
...
SVN r3663 (trunk)
2012-05-19 08:44:58 +00:00
Braden Obrzut
e62e806693
- ZDoom no longer errors if no precalculated COLORMAP is found.
...
SVN r3662 (trunk)
2012-05-18 02:30:07 +00:00
Christoph Oelckers
7356350d5c
- fixed: having a state immediately followed label with a goto immediately following that label did not link the state to its proper next state.
...
SVN r3661 (trunk)
2012-05-17 11:16:20 +00:00
Christoph Oelckers
0cc6822a11
- ensure that the 'owner' variable in the missile spawning functions is always valid.
...
SVN r3660 (trunk)
2012-05-17 10:57:57 +00:00
Christoph Oelckers
625ee246d7
- ensure that 'kill' always kills the player, regardless of damage factor.
...
SVN r3659 (trunk)
2012-05-17 07:50:13 +00:00
Braden Obrzut
f4ff63e7c3
- Fixed: FMultiPatchTexture::ParsePatch didn't pass the usetype onto FTexture::CreateTexture.
...
SVN r3658 (trunk)
2012-05-17 03:24:27 +00:00
Randy Heit
71e02e2d9e
- Fixed: When the player setup menu cycles the random players, it needs to rebuild the translation for each one.
...
SVN r3657 (trunk)
2012-05-15 22:52:24 +00:00
Christoph Oelckers
6d993b8c04
- re-fix of r3655: 180° in angle_t needs to be specified as ANGLE_180.
...
SVN r3656 (trunk)
2012-05-15 22:33:08 +00:00
Randy Heit
0fae305224
- Fixed: A_LookEx did not default to a 180 degree cone.
...
SVN r3655 (trunk)
2012-05-15 22:05:14 +00:00
Randy Heit
cbebc12fd0
- Players are no longer affected by the skill property NoPain.
...
SVN r3654 (trunk)
2012-05-15 21:51:02 +00:00
Randy Heit
d6cd9b430d
- Fixed: Do not write the config file if DoGameSetup() has not been called yet.
...
SVN r3653 (trunk)
2012-05-15 21:47:15 +00:00
Christoph Oelckers
0f8e2441a1
- changed spectral missiles to use FriendPlayer instead of health to distinguish between player spawned and monster spawned versions. Also moved most of this into the basic missile spawning functions instead of littering all spectral missile spawning functions with these initializations.
...
SVN r3651 (trunk)
2012-05-13 11:17:27 +00:00
Christoph Oelckers
ddf1af455b
- moved identical damage checks in P_DamageMobj into an inline function.
...
SVN r3650 (trunk)
2012-05-13 08:04:58 +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
Christoph Oelckers
3e41382d63
- fixed: P_LineAttack needs to check for 'Hitscan' damage, too, when deciding if using the damage type from the puff is appropriate.
...
SVN r3648 (trunk)
2012-05-13 07:14:54 +00:00
Randy Heit
a8507d58bd
- Fixed: The "clip midtexture" flag did not work as expected for stacked sectors. This is
...
because it was an extension of the normal wall clipping process. Since a stacked sector
above you doesn't draw a floor, it wouldn't clip any midtextures to the floor either.
R_RenderMaskedSegRange() now checks this directly when rendering inside a stacked sector.
SVN r3647 (trunk)
2012-05-13 02:01:54 +00:00
Randy Heit
44932a6c56
- Added OB_MPDEFAULT string for being killed by a player for an unknown reason. This can be
...
overridden in custom player classes by changing their Obituary property to something else.
- ClientObituary() now only looks up the obituary message from the killing player's weapon if the
damage type was 'Melee' or 'Hitscan'.
- Gave P_GunShot() and A_FireBullets the new damage type 'Hitscan'.
- Switched A_Saw and A_CustomPunch to the 'Melee' damage type.
SVN r3646 (trunk)
2012-05-13 01:06:28 +00:00
Randy Heit
393b2177a9
- Fixed: When P_ZMovement() handled MF_FLOAT, it reset the actor's z velocity to 0. I'd like to
...
know why that was in there, but I have no idea. It was like this for the entire life of the
repository, so I can't find anything from that. And since MF_FLOAT is typically also applied to
monsters with MF_NOGRAVITY, the z velocity should already be 0, so it's a change that makes
little sense.
SVN r3645 (trunk)
2012-05-13 00:27:51 +00:00
Randy Heit
dc2010105b
- Added the actor's address to the info CCMD's output so that you can locate actors in the world
...
and then examine them more closely in the debugger.
SVN r3644 (trunk)
2012-05-12 23:59:18 +00:00
Randy Heit
f421f2411d
- Fixed: BOUNCE_AutoOff should not trigger when bouncing off a ceiling, since it will always pass the velocity check.
...
SVN r3643 (trunk)
2012-05-12 23:21:22 +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
1ac8f8b348
- Did some restructuring of FMultiPatchTexture::CopyTrueColorPixels() so that it composites to
...
a temporary bitmap before copying to the destination bitmap if any fancy stuff is going on.
This simplifies the part drawing, since it doesn't need to check if each part is a multipatch
texture. It also means it can reliably use copy operations other than OP_COPY.
SVN r3639 (trunk)
2012-05-11 03:52:58 +00:00
Randy Heit
37001d3640
- Added new patch style "Overlay" for TEXTURES. This is the same as CopyAlpha, except it only
...
copies the patch's alpha channel where it has a higher alpha than what's underneath.
SVN r3638 (trunk)
2012-05-11 02:26:50 +00:00
Randy Heit
b9c3f8db4f
- Added a new patch style: CopyNewAlpha. This works just like Copy except it multiplies each
...
pixel's alpha channel by the specified Alpha property.
SVN r3637 (trunk)
2012-05-11 02:05:24 +00:00
Randy Heit
b5a731f3a6
- Move player prediction calls into D_Display().
...
SVN r3636 (trunk)
2012-05-10 03:48:36 +00:00
Randy Heit
eb03d8e77e
- There doesn't seem to be much point to this inf==NULL check when inf isn't used either way...
...
SVN r3635 (trunk)
2012-05-10 03:47:40 +00:00
Randy Heit
9340dc4eca
- Changed FMultiPatchTexture::CopyTrueColorPixels() so that all parts use their copy info.
...
Previously, "complex" parts would ignore it and use the copy info passed to the function
instead. The copy info passed to the function is now only used to decide to if it should clear
the destination image. I'm not sure if this really matters, since it itself is the only place aside
from FTexture::FillBuffer() that ever calls CopyTrueColorPixels() with a copy info, and when
it does so for a multipatch texture, it does so to a temporary buffer.
SVN r3634 (trunk)
2012-05-10 03:07:30 +00:00
Braden Obrzut
60dc67d5c3
- Fixed: Polyobjects must be blocking where an object is below the reference sector floor or above the reference sector ceiling.
...
- Fixed: 3DMidTexture polyobjects had open.top and open.bottom reversed.
SVN r3633 (trunk)
2012-05-08 19:55:26 +00:00
Christoph Oelckers
898232be61
- fixed: Suicides could count towards multikills (patch by edward850)
...
SVN r3632 (trunk)
2012-05-08 12:27:01 +00:00
Braden Obrzut
206ffd936f
- Fixed: r3630 had a missing end parentheses.
...
- Removed A_KSpiritWeave since it was basically identical to the function CHolyWeave (besides the random number generator object) and was never exported as a native action anywhere.
SVN r3631 (trunk)
2012-05-07 06:14:48 +00:00
Randy Heit
93bdd58725
- Fixed: ACS_NamedExecuteWithResult, the action function, parsed its
...
parameters incorrectly.
SVN r3630 (trunk)
2012-05-07 01:23:45 +00:00
Randy Heit
45027e4620
- Added SNDINFO $attenuation command. This multiplies the attenuation passed to S_Sound. e.g.
...
$attenuation Boom 0
Will make the "Boom" sound play with 0 attenuation, or in other words, at full volume throughout
the level.
SVN r3629 (trunk)
2012-05-07 01:16:56 +00:00
Randy Heit
2117c84a78
- Increase maximum resolution to 2880x1800.
...
SVN r3628 (trunk)
2012-05-06 04:23:49 +00:00
Randy Heit
d8f3a56092
- Fixed: ARaiseAlarm::TryPickup() had never had the call to A_WakeOracleSpectre() uncommented.
...
(I wonder how many more places have incomplete Strife code commented out...)
SVN r3627 (trunk)
2012-05-06 04:18:27 +00:00
Randy Heit
25b9c3dcf2
- Fixed: 3D floors were impervious to earthquakes; CopyStackedViewParameters() needs to be among the last things called in R_SetupFrame().
...
SVN r3626 (trunk)
2012-05-06 03:39:45 +00:00
Randy Heit
88fcd743b4
- Fixed: strbin ate the character following a \x sequence and placed one-digit sequences into the high nibble of the output character.
...
SVN r3625 (trunk)
2012-05-06 03:16:11 +00:00
Braden Obrzut
432aa7e6bb
- Added support for text colorization in SBarInfo.
...
SVN r3624 (trunk)
2012-05-05 23:01:16 +00:00
Christoph Oelckers
af43ef8983
- added Gez's submission to add a compatibility option for Doom's floor motion behavior to fix an issue in phobos.wad.
...
SVN r3623 (trunk)
2012-05-05 22:53:16 +00:00
Christoph Oelckers
4f255a2652
- fixed: Weapons that were dehacked to use no ammo did not work anymore.
...
SVN r3622 (trunk)
2012-05-05 14:23:00 +00:00
Braden Obrzut
7eb8594e86
- Fixed: A_FAxeCheckUp would jump to the ReadyGlow state instead of SelectGlow.
...
SVN r3621 (trunk)
2012-05-04 18:37:41 +00:00
Randy Heit
2ab9c02a42
- Use SetOrigin() instead of P_TryMove to set the dropped item's position in AActor::DropInventory(). Also removed dropdist, since it wasn't used.
...
SVN r3620 (trunk)
2012-05-04 02:56:28 +00:00
Randy Heit
11bf757a2f
- Make player unmorphing the first thing that happens in G_PlayerFinishLevel() so that all
...
inventory fiddling happens on the real player and not the morphed player.
SVN r3619 (trunk)
2012-05-04 02:25:16 +00:00
Randy Heit
9d4ba3c7fd
- Unraveled the want_native bit in I_CheckNativeMouse somewhat to ensure that it ends up false
...
when menuactive == MENU_WaitKey, even if you're not in a level.
SVN r3618 (trunk)
2012-05-04 02:16:19 +00:00
Christoph Oelckers
cbcc7443c6
- added Xaser's bobbing style options submission.
...
SVN r3615 (trunk)
2012-05-02 20:58:29 +00:00
Christoph Oelckers
5dbf486806
- added menu entries for HUD flash options.
...
SVN r3614 (trunk)
2012-05-01 18:20:04 +00:00
Christoph Oelckers
75dc6cb0b2
- changed damage screen blending code so that the same version can be used by any renderer.
...
- added GZDoom's version of blending for Strife's hazard sectors as an option to the paletteflash CVAR.
SVN r3613 (trunk)
2012-05-01 11:27:54 +00:00
Christoph Oelckers
81b4f782f7
- fixed: powered up weapons must not be added to the weapon slots.
...
SVN r3612 (trunk)
2012-05-01 10:30:08 +00:00
Randy Heit
1656744827
- Fixed: When PlayerIsGone() destroys a morphed player, it needs to destroy the unmorphed player too.
...
- Fixed: Destroying a morphed player would try to unmorph the player twice.
SVN r3611 (trunk)
2012-05-01 03:43:14 +00:00
Randy Heit
0835230454
- P_SeekerMissile() now returns true when the projectile's speed is 0 and the tracer would otherwise be seekable. Fixes 0-speed missiles using A_SeekerMissile for special effects.
...
SVN r3610 (trunk)
2012-05-01 03:14:34 +00:00
Braden Obrzut
9e26f3b7a4
- Instead of a huge switch statement, lets convert POV to axes by bitwise operations since we later assume we can do that for the button mapping anyways.
...
SVN r3609 (trunk)
2012-05-01 01:53:59 +00:00
Randy Heit
c676f97fd8
- Fixed: r_translate.cpp:SetRange() did not set the true color palette entry for single-entry ranges.
...
SVN r3608 (trunk)
2012-05-01 01:47:31 +00:00
Braden Obrzut
192839a436
- Added button mapping for the first 8 axes for SDL joysticks. The first two axes are assumed to be x/y.
...
- Added POV hat support for SDL. (First 4 map to buttons, but all map to an x/y axis.)
SVN r3607 (trunk)
2012-04-29 00:53:27 +00:00
Christoph Oelckers
de43788c3a
- fixed: Heretic: dScroll_EastLavaDamage was missing its strobe effect
...
SVN r3606 (trunk)
2012-04-28 20:12:54 +00:00
Braden Obrzut
0065c29902
- Added deadzone handling to SDL joystick support.
...
SVN r3605 (trunk)
2012-04-28 03:44:10 +00:00
Braden Obrzut
c07eaa4d31
- Fixed typo in SBarInfo WeaponIcon code. That said, I do wonder if the new behavior might break some existing status bar since it might be intended that weapons such as the fists draw no icon.
...
SVN r3604 (trunk)
2012-04-28 03:13:39 +00:00
Randy Heit
118e513d03
- Fixed: The player's position was only predicted during the duration of R_SetupFrame().
...
Consequently, if somebody used the chasecam while predicting, they would appear to lag
behind the camera, because their actor would be at its unpredicted position by the time
sprites were processed.
SVN r3603 (trunk)
2012-04-28 03:04:21 +00:00
Randy Heit
2f561abdea
- Fixed: 3D floors partitioning the world into different "HeightLevels" could strip a midtexture
...
of its clipping information before it was drawn. (On the other hand, I have no idea what this
ds->bkup and refreshing stuff is about, so I might have broken something somewhere else.)
SVN r3602 (trunk)
2012-04-28 02:32:33 +00:00
Randy Heit
158f32bcda
- Fixed P_CheckSwitchRange() should not force range checking of lines flagged with ML_3DMIDTEX
...
if they do not have a midtexture.
SVN r3601 (trunk)
2012-04-27 03:17:56 +00:00
Randy Heit
6369a88e0f
- Fixed: sector_t::GetHeightSec() was too aggressive about not returning heightsec.
...
SVN r3600 (trunk)
2012-04-27 02:50:23 +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
Randy Heit
f8e64a13af
- On second thought, using FloorBounceMissile() for bouncing off the top of an actor might not
...
be the best idea.
SVN r3598 (trunk)
2012-04-26 03:50:11 +00:00
Randy Heit
70902d9da8
- Implicitly set MF2_PASSMOBJ when BounceType is used in an actor definition so that actors under
...
or above the bouncer can be checked for bouncing.
SVN r3597 (trunk)
2012-04-26 03:36:01 +00:00
Randy Heit
01dacce549
- Fixed: Bouncing missiles landing on an actor would just stop rather than bounce.
...
SVN r3596 (trunk)
2012-04-26 03:30:02 +00:00
Randy Heit
8632c0db04
- Fixed: The lookup and lookdown buttons should set LocalKeyboardTurner so that the pitch
...
change is interpolated.
SVN r3595 (trunk)
2012-04-26 02:41:58 +00:00
Randy Heit
3523e4f24a
- Fixed: SectorDamage did not work with 3D floors.
...
SVN r3594 (trunk)
2012-04-26 02:35:02 +00:00
Randy Heit
142a15b9c6
- Fixed: The length of the SFLG chunk was used incorrectly, resulting in erroneous flag setting
...
if such a chunk was present.
SVN r3593 (trunk)
2012-04-26 02:03:43 +00:00
Randy Heit
ec84437212
- Extended wallscan_np2 to work with masked walls.
...
SVN r3592 (trunk)
2012-04-25 03:21:55 +00:00
Randy Heit
79ae117f8f
- Fixed: HU_FONTEND was too low to allow for the full 8-bit CP-1252 character range.
...
SVN r3590 (trunk)
2012-04-25 01:43:50 +00:00
Randy Heit
a660eea116
- Patch to allow compilation by clang.
...
SVN r3589 (trunk)
2012-04-23 02:46:25 +00:00
Randy Heit
5e3a41e8f6
- Added a wrapper function to help wallscan() tile textures with heights that are not a power of 2.
...
SVN r3588 (trunk)
2012-04-23 02:38:09 +00:00
Christoph Oelckers
b2e5e15d3c
- changed icon lookup for weapons in SBARINFO so that it uses the alternative HUD's method if the weapon does not have an icon defined.
...
SVN r3587 (trunk)
2012-04-22 09:41:06 +00:00
Christoph Oelckers
4df1ea63b5
- added DavidPH's sqrt for DECORATE submission.
...
SVN r3586 (trunk)
2012-04-22 08:17:27 +00:00
Christoph Oelckers
44519f3972
- added Gez's fixed palette flashes for Hexen.
...
SVN r3585 (trunk)
2012-04-22 07:58:04 +00:00
Christoph Oelckers
fdefd361e6
- Undid the 'Spray' state change because it obviously can't work with the default blood actor.
...
SVN r3582 (trunk)
2012-04-22 07:32:09 +00:00
Christoph Oelckers
aa7464df66
- this must remain specific to Strife...
...
SVN r3581 (trunk)
2012-04-22 07:29:40 +00:00
Christoph Oelckers
a79bcb73ac
- fixed the bloodspawning completely: It has to check for parent class's states, too, so that inherited blood still works
...
- made the 'Spray' state in P_SpawnBlood available for all games.
SVN r3580 (trunk)
2012-04-22 07:23:59 +00:00
Randy Heit
bf48b7620c
- Changed the direction of positive rotation for voxels to match GZDoom's counterclockwise spin.
...
SVN r3579 (trunk)
2012-04-22 02:34:57 +00:00
Randy Heit
9276e6138e
- Fixed: All missiles could climb steps in P_TryMove() because of an extra ampersand turning & into &&.
...
SVN r3578 (trunk)
2012-04-22 02:30:26 +00:00
Randy Heit
5123a6b74b
- And this is what I get for not making sure it compiles...
...
SVN r3577 (trunk)
2012-04-22 02:14:01 +00:00
Randy Heit
e51bd95d03
- Fixed: P_SpawnBlood did not check that the state it was setting for low-damage blood was valid.
...
SVN r3576 (trunk)
2012-04-22 02:08:27 +00:00
Randy Heit
b94607dc7e
- Being killed by a voodoo doll now has its own obituary, rather than trying to come up with one
...
by treating it as a real player.
SVN r3574 (trunk)
2012-04-19 04:03:42 +00:00
Randy Heit
b036ef63e9
- Fixed: The 0-damage FORCEPAIN checks in P_DamageMobj() also need to check the PAINLESS and NOPAIN flags.
...
SVN r3573 (trunk)
2012-04-19 03:40:27 +00:00
Randy Heit
5b86ce9f7d
- If A_SeekerMissile is used with the SMF_LOOK flag and its targets is unseekable, it now clears
...
its tracer so that it will look for a new target the next time it is called.
- Extended P_RoughMonsterSearch() with a flag to indicate that it should only search for seekable
targets.
SVN r3572 (trunk)
2012-04-19 03:22:06 +00:00
Randy Heit
86842bc1da
- Fixed: P_TestMobjZ() should not let missile shooters block their missiles.
...
SVN r3571 (trunk)
2012-04-19 02:50:43 +00:00
Randy Heit
9c1e03a21b
- In S_Shutdown(), stop the song and forget traces of it so that people who feel like setting
...
snd_musicvolume in their atexit don't crash because it tries to restart the song at the new
volume.
SVN r3570 (trunk)
2012-04-19 02:27:10 +00:00
Randy Heit
c1f3621a4c
- Don't crash when loading UDMF maps with invalid sidedef references.
...
SVN r3569 (trunk)
2012-04-19 02:14:34 +00:00
Christoph Oelckers
93694dadc1
- fixed: The rail attack did not check the BLOODLESSIMPACT flag.
...
SVN r3568 (trunk)
2012-04-15 07:59:50 +00:00
Randy Heit
c03be3b43b
- Fixed: Don't ignore FORCEPAIN if damage modification takes the damage to 0.
...
SVN r3567 (trunk)
2012-04-15 03:48:27 +00:00
Randy Heit
aa227b1df4
- Fixed: DHUDMessageTypeOnFadeOut::Tick() did not skip over color escapes.
...
SVN r3566 (trunk)
2012-04-15 03:13:07 +00:00
Randy Heit
5bf3b7113e
- Fixed: When using CMF_ABSOLUTEPITCH or CMF_OFFSETPITCH, A_CustomMissile could calculate a
...
negative missile speed.
SVN r3565 (trunk)
2012-04-15 02:43:37 +00:00
Randy Heit
6cb99dab3e
- Fix type conversion warning.
...
SVN r3563 (trunk)
2012-04-14 03:56:39 +00:00
Randy Heit
280ca05554
- In P_SpawnMapThing(), pass the same flags to P_FindFloorCeiling() as the respawn functions do.
...
- Rename FFCF_3DMIDTEXRESTRICT to FF_3DRESTRICT and make it work with 3D floors too.
SVN r3562 (trunk)
2012-04-14 03:55:46 +00:00
Randy Heit
f19a6a2a29
- Fixed: Do not play skinned sounds when the player has the NOSKIN flag set.
...
SVN r3561 (trunk)
2012-04-14 03:10:07 +00:00
Randy Heit
c0bc7532ac
- Fixed: If a player has the NOSKIN flag set, do not change their appearance to that of the
...
skin when spawning or changing the skin.
SVN r3560 (trunk)
2012-04-14 03:07:28 +00:00
Randy Heit
66a1b8be9d
- Fixed: DSBarInfo did not declare its object pointers for the garbage collector.
...
SVN r3559 (trunk)
2012-04-14 02:55:47 +00:00
Christoph Oelckers
b2336f5c21
- missed one file in last commit.
...
SVN r3558 (trunk)
2012-04-13 08:16:19 +00:00
Christoph Oelckers
37f4ee53b9
- applied Xaser's A_RailAttack duration fix.
...
SVN r3557 (trunk)
2012-04-13 08:15:57 +00:00
Christoph Oelckers
1529c91b80
- fixed: FFont::GetChar was unable to handle 8 bit signed chars.
...
SVN r3556 (trunk)
2012-04-12 17:33:55 +00:00
Christoph Oelckers
52bb3a4dbe
- fixed: Boom's generalized doors are not retriggerable, even if they are not remote. (Patch by Gez)
...
SVN r3555 (trunk)
2012-04-12 12:42:00 +00:00
Randy Heit
8f5eff419d
- Fixed: When spawning actors for the rail trail, a RNG that is synchronized
...
across all machines must be used.
- Add Xaser's railgun fix for "P_RailAttack's 'sparsity' was being ignored for particle core trails, and 'maxdiff' was ignored when spawning actors."
For reals this time.
SVN r3554 (trunk)
2012-04-11 22:30:27 +00:00
Randy Heit
7bfd551f27
- Xaser's fix for XDeath states not working for rail puffs.
...
SVN r3553 (trunk)
2012-04-11 04:50:23 +00:00
Randy Heit
a85b751f7a
- Fix warnings warned by GCC.
...
SVN r3552 (trunk)
2012-04-11 04:44:12 +00:00
Randy Heit
06de818059
- Add Xaser's railgun fixes:
...
* P_RailAttack's 'sparsity' was being ignored for particle core trails,
and 'maxdiff' was ignored when spawning actors.
* Fixed the persistent core issue.
* Fixed. The default value for the new 'range' parameter was incorrectly
set to zero, causing A_FireRailgun to emit a zero-length "rail."
SVN r3551 (trunk)
2012-04-11 04:41:37 +00:00
Randy Heit
2b52d686e9
- Use 3D midtexture restrictions when respawning actors.
...
SVN r3550 (trunk)
2012-04-10 03:28:53 +00:00
Randy Heit
12e23a56f8
- Only adjust the ceiling position of solid actors in A_RestoreSpecialPosition.
...
SVN r3549 (trunk)
2012-04-10 03:22:07 +00:00
Randy Heit
da21075480
- Fixed: The onlyspawnpos handling in P_FindFloorCeiling would fail to adjust an actor's floorz
...
(and related) to a 3D midtex beneath its Z if it also touched a 3D midtex above its Z.
SVN r3548 (trunk)
2012-04-10 03:18:04 +00:00
Christoph Oelckers
d81542752a
- fixed: P_FindFloorCeiling may not use the floorsector returned by P_LineOpening when only checking 3D-floors because it will be NULL.
...
SVN r3547 (trunk)
2012-04-09 09:01:25 +00:00
Christoph Oelckers
6089347161
- fixed: A_InquisitorAttack used FRACBITS to offset the grenades' launch position instead of FRACUNIT
...
SVN r3546 (trunk)
2012-04-09 07:30:18 +00:00
Randy Heit
837126ae57
- Fixed: Do not interpolate from an actor's despawned position to its spawned position when it
...
respawns.
- Use doubles instead of floats, as appropriate, in PIT_FindFloorCeiling().
- Fixed: The second call to P_FindFloorCeiling() in A_RestoreSpecialPosition and P_NightmareRespawn()
must only consider 3D floors and midtexes.
SVN r3545 (trunk)
2012-04-08 21:12:14 +00:00
Randy Heit
9451b7c1d3
- I think this is what this comment is supposed to say. It had 匤 for me, and with Western character encodings, it was complete garbage.
...
SVN r3544 (trunk)
2012-04-08 20:20:39 +00:00
Randy Heit
22a0c92ab8
- Fixed crash when teleporting. P_TeleportMove() must not pass FFCF_ONLYSPAWNPOS to
...
P_GetFloorCeilingZ(). I got confused because its bool parameter's meaning had been the
opposite of P_FindFloorCeiling()'s bool parameter before they got changed to flags.
SVN r3543 (trunk)
2012-04-08 20:01:43 +00:00
Randy Heit
d0bba7c3c3
- Added another flag to P_FindFloorCeiling() to get it to do its standard processing but
...
without resetting the actor's sector. The 3D floor checks in P_NightmareRespawn() and
A_RestoreSpecialPosition now use this.
- Fixed: P_NightmareRespawn() did its Z clamping before checking for 3D floors.
- Fixed: Respawning actors were not clamped to the ceiling.
SVN r3542 (trunk)
2012-04-08 05:39:46 +00:00
Randy Heit
c175acb75d
- Fixed: Passing hexdd.wad with a path to the -iwad parameter would disable searching the standard
...
paths for hexen.wad.
SVN r3541 (trunk)
2012-04-08 05:12:03 +00:00
Randy Heit
d6c3d77a38
- Fixed: Stereo sound volume reduction should only be done for stereo sounds played in 3D. Head-
...
relative ones should remain full volume.
SVN r3540 (trunk)
2012-04-08 04:57:59 +00:00
Randy Heit
1e63d07f1b
- Fixed: RunScript() ignored the always parameter.
...
SVN r3539 (trunk)
2012-04-08 04:48:47 +00:00
Randy Heit
4d6447a55b
- Don't call secfriction() twice in the normal part of P_GetFriction().
...
- Fixed: The 3D floors part of P_GetFriction() did not check for friction still being set to
ORIG_FRICTION, so it only worked with lower frictions.
SVN r3538 (trunk)
2012-04-08 04:43:19 +00:00
Randy Heit
0a8ffaecd9
- I guess I should make sure things compile before I commit them.
...
SVN r3537 (trunk)
2012-04-08 04:35:39 +00:00
Randy Heit
9ea7eab7e0
- Clamp maximum particle count to 65535.
...
- Fixed: The inner railgun trail ignored the RGF_FULLBRIGHT flag.
SVN r3536 (trunk)
2012-04-08 04:34:03 +00:00
Christoph Oelckers
40c906f10d
- fixed new A_Facetarget pitch code which made some incorrect assumptions about variables' signedness.
...
- fixed a few compiler warnings.
SVN r3535 (trunk)
2012-04-07 20:44:28 +00:00
Christoph Oelckers
7443c3d167
- replaced CARRYFACTOR definition by an integer-only expression.
...
SVN r3534 (trunk)
2012-04-07 15:32:32 +00:00
Christoph Oelckers
26dbec2aae
- added FDARI*s damagetype fix
...
SVN r3533 (trunk)
2012-04-07 15:29:47 +00:00
Christoph Oelckers
4637ed53fa
- added Thomas's patch to add a Pufftype parameter to A_Explode.
...
SVN r3532 (trunk)
2012-04-07 13:17:38 +00:00
Christoph Oelckers
4ece349ee5
Expanded 'info' CCMD to also print the TID.
...
SVN r3531 (trunk)
2012-04-07 13:15:40 +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
Christoph Oelckers
34820aacd2
- added Xaser's modified version of kgsws's railgun enhancements patch.
...
SVN r3529 (trunk)
2012-04-07 12:57:44 +00:00
Christoph Oelckers
3aa759714a
- added DavidPH's A_FaceTarget with pitch submission.
...
SVN r3528 (trunk)
2012-04-07 12:48:56 +00:00
Christoph Oelckers
83620fca1f
- added Gez's NOTAUTOAIMED patch but did not set it for Heretic's pod.
...
SVN r3527 (trunk)
2012-04-07 12:40:50 +00:00
Christoph Oelckers
c3638eb338
- added FDARI's submission for A_CustomMissile options.
...
SVN r3526 (trunk)
2012-04-07 12:36:39 +00:00
Christoph Oelckers
53f4776914
- added Gez's patch to have D'Sparil transfer his translations to his second state and the teleport effect.
...
SVN r3525 (trunk)
2012-04-07 12:26:02 +00:00
Christoph Oelckers
fd2af54724
- fixed TArray compilation issue with GCC 4.7.
...
SVN r3524 (trunk)
2012-04-07 12:22:00 +00:00
Christoph Oelckers
81eef71067
- added FDARI's Default/global damagetype properties submission.
...
SVN r3523 (trunk)
2012-04-07 12:11:17 +00:00
Christoph Oelckers
b044c134d3
- fixed ammo usage issues with Dehacked modified weapons that switch attack code pointers. Unless Dehacked specifies an 'ammo use' value for a weapon any Dehacked modified weapon determines ammo use by attack function, like Doom did originally, and not by the weapon's AmmoUse property. This also addresses that the Cells/BFG shot value always modified the BFG itself.
...
- fixed: A_Saw depleted ammo after the attack so it still went through with it, even though it was out of ammo.
SVN r3522 (trunk)
2012-04-07 11:33:35 +00:00
Christoph Oelckers
35f0b32a7f
- fixed: The bounce on actors check handled infinite bouncers (bouncecount == 0) incorrectly.
...
SVN r3521 (trunk)
2012-04-07 08:21:44 +00:00
Christoph Oelckers
f6817f9544
- moved S_NoiseDebug call from FStatusBar::Draw to FStatusBar::DrawTopStuff so that it also gets drawn with the alternative HUD and stays on top of other HUD content.
...
SVN r3520 (trunk)
2012-04-06 10:32:27 +00:00
Christoph Oelckers
7642aba6ce
- fixed: It was possible to give inventory items to the base actors of something morphed. This would cause an assertion failure when unmorphing.
...
SVN r3519 (trunk)
2012-04-06 09:43:18 +00:00
Randy Heit
5358fd594b
- Fixed: A_Respawn and P_NightmareRespawn() should not check for collision with world geometry.
...
The initial spawn did not, so this can prevent respawns of things that were initially
spawned if they happen to intersect a wall.
- Fixed: Don't respawn actors inside the floor.
- Fixed: The final calls to P_FindFloorCeiling() in P_NightmareRespawn() and A_RestoreSpecialPosition
also need to pass true as the second parameter. (Because this parameter is onlyspawnpos, not
onlymidtex.)
SVN r3518 (trunk)
2012-04-06 04:46:45 +00:00
Christoph Oelckers
14730a89be
- changed calculation of soundorg for triangular sectors. In many cases the center of the bounding box won't be inside the sector but on one of the outer lines so something different is needed
...
SVN r3517 (trunk)
2012-04-04 17:33:43 +00:00
Christoph Oelckers
8dbfd21d91
- fixed wrong flag check from r3490.
...
SVN r3516 (trunk)
2012-04-03 15:13:55 +00:00
Christoph Oelckers
9f58a15e28
- check for overflows when giving inventory items.
...
SVN r3515 (trunk)
2012-04-03 09:16:19 +00:00
Randy Heit
64f0e0e984
- Fixed: A_Respawn also needs to use P_SpawnMapThing-like sector finding. Since it is exactly the
...
same situation A_RestoreSpecialPosition, it now just calls that to do the moving. This also
means it is no longer limited to respawning things on the floor.
SVN r3514 (trunk)
2012-04-03 04:31:27 +00:00
Randy Heit
498a432c8d
- Make DF2_BARRELS_RESPAWN work in all game modes without the need for alwaysapplydmflags.
...
SVN r3513 (trunk)
2012-04-03 04:18:38 +00:00
Randy Heit
c5a3d846dd
- Implement multitick viewpitch centering logic.
...
SVN r3512 (trunk)
2012-04-03 04:09:30 +00:00
Randy Heit
ee20c2169e
- Fixed: DEM_CENTERVIEW also needs to reset the LocalViewPitch if it's for the consoleplayer.
...
SVN r3511 (trunk)
2012-04-03 03:51:24 +00:00
Randy Heit
d8f509a73a
- Fixed: Monster respawning did not redo floorz/ceilingz for 3D floors after positioning the item.
...
- Fixed: Monster respawning used the newly spawned monster's SpawnPoint to determine what to
shift the Z position by. This is, naturally, always 0.
SVN r3510 (trunk)
2012-04-03 03:45:05 +00:00
Randy Heit
f312926e9f
- Fixed: Item respawning did not redo floorz/ceilingz for 3D floors after positioning the item.
...
SVN r3509 (trunk)
2012-04-03 03:35:20 +00:00
Braden Obrzut
1f6c6aafd9
- Fixed: DesignatedTeams prevented monsters from hurting themselves in teamplay.
...
SVN r3508 (trunk)
2012-04-01 20:43:14 +00:00
Christoph Oelckers
3e7473e51a
- added handling for MF5_NOINTERACTION to A_Weave.
...
SVN r3507 (trunk)
2012-04-01 11:15:16 +00:00
Christoph Oelckers
92a8f8518c
fixed: bouncing on actors neither checked nor changed mo->bouncecount.
...
SVN r3506 (trunk)
2012-04-01 11:02:05 +00:00
Randy Heit
cf0d5b3151
- Fixed: FileReader's FilePos is relative to the start of the file, not relative to the start
...
of the lump, so r3496's change to FileReader::Gets() was only valid for lumps at the start
of a wad. (This function was still incorrect before that, though, since it made FilePos
relative to StartPos after it had been used once.)
* On that note, I'm not sure GetsFromBuffer() is correct either, since it ignores StartPos,
but I don't know when this is actually used so that I could check.
SVN r3504 (trunk)
2012-04-01 04:08:38 +00:00
Randy Heit
23cda7c685
- Do the P_SightCheck() last in A_JumpIfInTargetLOS, since it's the most expensive check.
...
- Fixed: A_JumpIfInTargetLOS did the FOV cone check from self -> target rather than from
target -> self.
SVN r3503 (trunk)
2012-04-01 03:41:08 +00:00
Randy Heit
5e85f736bb
- Fixed: Reset to the PlayerPawn's default render style and alpha in G_PlayerFinishLevel().
...
SVN r3502 (trunk)
2012-04-01 03:18:34 +00:00
Randy Heit
6ea93d28e2
- Fixed: M_CreateMenus() is too soon to call UpdateJoystickMenu(). It needs to happen after
...
I_InitInput(), which happens during V_Init2().
SVN r3501 (trunk)
2012-04-01 03:03:53 +00:00
Randy Heit
19ec79d4f3
- Apply patch to prevent the flash state from being processed twice after using A_GunFlash.
...
SVN r3500 (trunk)
2012-04-01 02:49:04 +00:00
Randy Heit
d9f7a250ba
- Fixed: Disable absolute wall lighting when in the shadow of a 3D floor.
...
SVN r3499 (trunk)
2012-04-01 02:31:57 +00:00
Randy Heit
f6f8d74635
- Fixed: Trying to -playdemo a demo recorded from -loadgame would crash if you did not -loadgame
...
the corresponding save.
SVN r3498 (trunk)
2012-04-01 01:40:57 +00:00
Christoph Oelckers
10c783dde2
- changed ACS parameter truncation for Hexen so that it's only done for ACS_Old format.
...
SVN r3497 (trunk)
2012-03-31 20:53:01 +00:00
Christoph Oelckers
d64ca20b31
- fixed: FileReader::Gets did not check for a lump's end when reading through a WADs file object.
...
SVN r3496 (trunk)
2012-03-31 14:18:59 +00:00
Christoph Oelckers
6f824e5ec7
- fixed bot color issue, thanks to Gez's patch.
...
SVN r3495 (trunk)
2012-03-31 11:13:34 +00:00
Randy Heit
89790ac313
- Add DMXGUS parsing, thanks to Gez.
...
SVN r3494 (trunk)
2012-03-30 05:23:18 +00:00
Randy Heit
cfb9329c7f
- Add Gez's A_RadiusGive.
...
SVN r3493 (trunk)
2012-03-30 04:28:10 +00:00
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
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
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
Randy Heit
9f168e29e2
- Added clearlinespecial, for doom.wad e3m4 line 1069.
...
- Allow using the parameterized compatibility options with IWAD maps.
SVN r3442 (trunk)
2012-03-15 23:41:44 +00:00
Randy Heit
5f23b4f64a
- Fixed: Destroying a weapon that claimed it was its own sister would crash.
...
SVN r3441 (trunk)
2012-03-15 23:18:13 +00:00
Randy Heit
f500947814
- Apply fix from previous commit to Doom-format maps. (Previous commit only did it for Hexen.)
...
SVN r3440 (trunk)
2012-03-15 22:59:39 +00:00
Randy Heit
914ef44c59
- Fixed: In non-UDMF maps, projectile impact activation implies projectile cross activation as well.
...
SVN r3439 (trunk)
2012-03-15 22:57:00 +00:00
Randy Heit
977b2caa30
- Applied a modified version of FDARI's patch to prevent giving health to dead things:
...
* P_GiveBody() now takes a max parameter so that it can also do the bulk of the work
AHealth::TryPickup() previously did.
* Setting an actor's health to 0 or below with SetActorProperty will now kill the actor
properly.
SVN r3438 (trunk)
2012-03-15 21:21:00 +00:00
Randy Heit
6290ea4fcb
- Added setactivation command for compatibility.cpp to fix the gear boxes on hexdd.wad, map54,
...
which should be set for player uses activation but are not.
- Added some developer mode messages for setlinespecial and clearlinespecial.
SVN r3437 (trunk)
2012-03-15 20:33:33 +00:00
Randy Heit
ba2e8b2461
- Fixed: Old-style ACS has the string table record offsets from the start of the object file to
...
the strings, not from the start of the string table, so UnescapeStringTable() needs to be
told where the offsets are based.
SVN r3436 (trunk)
2012-03-15 19:08:19 +00:00
Randy Heit
58f7e72d1b
- Restored savegame compatibility that was removed in r3427.
...
SVN r3435 (trunk)
2012-03-13 02:43:24 +00:00
Randy Heit
c05345668c
- Fix wrong case 'NULL' from previous commit. (I sure hope that patch was
...
tested!)
SVN r3434 (trunk)
2012-03-12 22:23:17 +00:00
Christoph Oelckers
365311ec36
- added SMMU/Eternity method of defining warped textures (Patch by Gez)
...
SVN r3433 (trunk)
2012-03-12 14:30:45 +00:00
Randy Heit
ce43552ebb
- Use _exit() instead of exit() when Timidity++ cannot be execed, because
...
exit() can (and does) make the process hang. (It sure would be nice if
POSIX-land had a simple CreateProcess API, but I guess that would be too
easy, huh?)
SVN r3432 (trunk)
2012-03-12 04:05:15 +00:00
Randy Heit
4d64085c8a
- Fixed: The PlayerDisplay menu item ignored the FlipX property of the sprite frames.
...
SVN r3431 (trunk)
2012-03-12 01:41:19 +00:00
Randy Heit
748eb255cc
- Fixed: R_ExtendSpriteFrames() neglected to set the new spriteframes value for the sprite.
...
SVN r3430 (trunk)
2012-03-12 01:34:19 +00:00
Randy Heit
162ad601ba
- Fixed bug introduced in r3412: The SetStyle() call needs to come after the scissoring check,
...
because the latter can flush the quads, including the one SetStyle() just set a style for.
SVN r3429 (trunk)
2012-03-12 01:22:19 +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
f94b38fd7f
- Fixed: The softsynths could get stuck on the last notes of nonlooping songs.
...
SVN r3426 (trunk)
2012-03-11 04:30:35 +00:00
Randy Heit
957f67f7cc
- Fixed: FMOD as MIDI device always looped the song, even when it shouldn't (such as the title music).
...
SVN r3425 (trunk)
2012-03-11 03:56:20 +00:00
Randy Heit
51e66acc6b
- Fixed: UnescapeStringTable() used the wrong position in the script file for Hexen-style ACS.
...
SVN r3424 (trunk)
2012-03-11 03:47:45 +00:00
Randy Heit
58ed367280
- Fixed: If the first four bytes of the NODES lump are all zero, the nodes would not be loaded,
...
nor would they be generated.
SVN r3423 (trunk)
2012-03-11 03:25:04 +00:00
Randy Heit
d367b2941a
- Fixed: Monsters spawned by the Boss Brain would not go after the player unless they were in sight.
...
SVN r3422 (trunk)
2012-03-10 02:17:49 +00:00
Randy Heit
e9f832460b
- Added "misc/startupdone" sound to be played when the startup screen is closed and the game
...
is about to begin.
SVN r3420 (trunk)
2012-03-10 01:54:00 +00:00
Randy Heit
a12729670b
- Fixed: The user could interact with the conversation menu during demo playback and mess up the
...
demo.
- Fixed: The conversation menu stayed up during demo playback even after the conversation was
over.
SVN r3419 (trunk)
2012-03-10 01:24:59 +00:00
Randy Heit
6d59fb3e9f
- Fixed: If the dialogues are freed while a dialogue menu is open, we need to close that menu,
...
or it will crash because the dialogue node it refers to no longer exists.
SVN r3418 (trunk)
2012-03-10 00:38:38 +00:00
Randy Heit
2f3ea885c5
- Fixed: The identity translation for players should not be remapped through GPalette.Remap[].
...
The graphics are already mapped through this, so we don't need to do it again when translating.
Moreover, if there was no duplicate of color 0, but there was a different color with a
duplicate, this means we end up drawing players with the duplicated color wherever it should
be color 0. (Standard translations already had this right.)
SVN r3417 (trunk)
2012-03-10 00:26:42 +00:00
Randy Heit
29369b4d34
- Change some of the CMake GCC build flags from appending new ones to prepending them so they
...
can be overridden.
SVN r3416 (trunk)
2012-03-09 23:30:47 +00:00
Randy Heit
5564b99d3a
- Fixed: UseInventory from ACS should ignore the totally frozen property.
...
SVN r3415 (trunk)
2012-03-09 01:56:37 +00:00
Randy Heit
10eb15fab9
- Fixed: Standing inside a "window" with a pushable exterior wall would trigger that wall if
...
your movement was blocked, even if it wasn't that wall that blocked you. Note that this is just
a Z check against the actor and the floor and ceiling heights; it might still be possible to
goof it up, but the common case is fixed.
SVN r3414 (trunk)
2012-03-09 01:49:26 +00:00
Randy Heit
ac3b805dd9
- Fixed: ACS's ClearInventory was not equipped to handle items that destroy other items when
...
destroyed. For example, if a weapon has a sister weapon immediately after it in the inventory
list, they would both be destroyed by the call to destroy the weapon, and ClearInventory
would fail to find anything beyond the sister weapon in the inventory list.
SVN r3413 (trunk)
2012-03-09 01:19:02 +00:00
Randy Heit
76b5e7ef60
- Fixed: D3DFB::DrawTextureV() did not disable the scissor test if it was needed but SetStyle()
...
decided there was nothing to draw. In practical terms, this means that if your weapon is
completely invisible, the game would not draw anything outside of the main play area because
the scissor test would be left on for the entire frame and not just the weapon's quad.
Making the call to SetStyle() before the scissor check is enough to fix this.
SVN r3412 (trunk)
2012-03-09 00:12:04 +00:00
Randy Heit
8f8f937f9b
- The "give artifacts" and "give puzzlepieces" commands now ignore items that have been replaced.
...
"give everything" continues to give replaced items, however.
SVN r3411 (trunk)
2012-03-08 23:34:00 +00:00
Randy Heit
fdec9bdee3
- Fixed: The memmove() in AddToConsole() did not include the terminating null character.
...
SVN r3410 (trunk)
2012-03-08 23:17:53 +00:00
Randy Heit
e5e1ee00a6
- Handle ACS string escape sequences at load time rather than print time.
...
- Fixed: FBehavior::FindStringInChunk() was not big-endian safe.
- Fixed: FBehavior::LookupString() was not big-endian safe.
SVN r3406 (trunk)
2012-03-08 21:37:34 +00:00
Randy Heit
5f88d2c9f0
- All ACS debugging messages are now aware of named scripts.
...
- Identify script types by name in FBehavior::StaticStartTypedScripts().
SVN r3405 (trunk)
2012-03-08 20:48:53 +00:00
Christoph Oelckers
d3981197c5
- moved the FRenderer::StateChanged call from AActor::StaticSpawn to AActor::PostBeginPlay.
...
- ensured that all classes reach AActor's PostBeginPlay method. Some were missing a Super call.
SVN r3404 (trunk)
2012-03-07 01:03:56 +00:00
Randy Heit
f2f9bd800d
- Fixed: When processing the SFLG and SVCT chunks in ACS objects, the script number must be
...
read as a signed integer.
SVN r3402 (trunk)
2012-03-04 03:18:06 +00:00
Randy Heit
64fb6410cf
- Fixed: FStringTable::operator[] would crash when passed a NULL string pointer.
...
SVN r3401 (trunk)
2012-03-03 03:19:29 +00:00
Randy Heit
676ce338b1
- Fixed: The game would lockup when using the override polyobject specials with cyclical chains
...
of mirrored polyobjects. Fixing this has also removed lots of duplicated code for mirrored
polyobjects.
SVN r3400 (trunk)
2012-03-02 02:23:37 +00:00
Randy Heit
f6c1c0e2df
- Truncate rotating polyobjects to 7 bits of fractional precision per vertex.
...
Fixes known cases of freezing.
SVN r3399 (trunk)
2012-02-28 03:05:31 +00:00
Randy Heit
64e992f648
- Remove seeker missile restriction from A_JumpIfTracerCloser.
...
SVN r3398 (trunk)
2012-02-28 02:19:57 +00:00
Randy Heit
0fc6d9a0c6
- Unload all bound camera textures when FCanvasTextureInfo::EmptyList() is called.
...
SVN r3397 (trunk)
2012-02-28 02:17:29 +00:00
Randy Heit
fcb0840246
- Fixed: The DConversationMenu constructor is not the appropriate place to set menuactive to
...
MENU_OnNoPause.
SVN r3396 (trunk)
2012-02-28 02:07:06 +00:00
Randy Heit
d59280eadb
- Preserve the MF_BLOCKED flag on level-spawned actors that have it in their default properties.
...
SVN r3395 (trunk)
2012-02-28 01:54:35 +00:00
Randy Heit
1e21ebad5d
- Let puke and pukename take up to four script parameters.
...
- Pass ACS_ExecuteWithResult's fifth argument as a fourth script parameter.
- Simplify P_StartScript()'s usage.
SVN r3394 (trunk)
2012-02-26 03:36:05 +00:00
Randy Heit
3fae0e3906
- Enable arg0str for UDMF things and named scripts.
...
SVN r3390 (trunk)
2012-02-26 02:32:45 +00:00
Randy Heit
7106c06811
- Allow for ACS_NamedExecute and friends to be used with SetThingSpecial.
...
SVN r3389 (trunk)
2012-02-26 02:25:33 +00:00
Randy Heit
87f23f6d38
- Use a signed integer for the script number when loading the transitional ACS binary format
...
in order to be congruent with the present-day binary format.
SVN r3388 (trunk)
2012-02-26 02:10:32 +00:00
Randy Heit
77a4b9a29b
- Give actors modified via Dehacked than CANUSEWALLS flag, whether they look like monsters
...
at first glance or not.
SVN r3386 (trunk)
2012-02-23 03:24:13 +00:00
Randy Heit
22dfc82338
- Use the same darkening amount for default blood and custom blood particles.
...
- Cache particle colors so custom particle colors don't require a full scan of the palette each
time they're created. Also fixes a bug with custom blood colors.
SVN r3385 (trunk)
2012-02-23 02:50:36 +00:00
Randy Heit
9457a1b3f8
- So, apparently the XMIDI library uses a fixed 120 Hz clock for MIDI events. As a result, we
...
should ignore any tempo events in XMIDI songs that were left over from the original MIDI
files, since the converter didn't remove them.
SVN r3384 (trunk)
2012-02-23 02:22:56 +00:00
Randy Heit
c3dba9ca9a
- Added writemidi console command. If the currently playing song is a MIDI variant, this will
...
write it to disk.
SVN r3383 (trunk)
2012-02-22 03:28:33 +00:00
Randy Heit
d3ad8ca3d8
- Fixed: XMISong::ProcessInitialMetaEvents() did not set the Division for tempo events. (Why
...
does XMI modify the division based on the tempo?)
SVN r3382 (trunk)
2012-02-22 02:05:12 +00:00
Randy Heit
d6e898be38
- Fixed: UDMFParser::AddUserKey() checked against the wrong token types when determining
...
the values type. Also, GetUDMFInt() performed a float-to-fixed conversion on the value it
returned.
SVN r3381 (trunk)
2012-02-21 22:11:52 +00:00
Randy Heit
472ac1b07c
- Fixed: The nodebuilder is highly likely to renumber vertices, so we need to remember how the
...
original vertices map to the new ones until after vertex slopes are handled.
SVN r3380 (trunk)
2012-02-21 21:52:42 +00:00
Randy Heit
514f29a34a
- Added Gez's custom flechettes patch, with ArtiPoisonBag4 renamed to ArtiPoisonBagGiver and
...
ArtiPoisonBag5 renamed to ArtiPoisonBagShooter.
SVN r3379 (trunk)
2012-02-21 20:58:33 +00:00
Randy Heit
2918a87479
- Added Gez's thrupushups fix.
...
SVN r3378 (trunk)
2012-02-21 20:50:38 +00:00
Randy Heit
170284ad57
- Added Gez's HMI/XMI division fixes, and partially the XMI tempo fix (not currently used).
...
SVN r3377 (trunk)
2012-02-21 20:19:25 +00:00
Randy Heit
d54f9c3616
- Added startup screen customization, courtesy of Gez.
...
SVN r3375 (trunk)
2012-02-21 19:52:40 +00:00
Randy Heit
67bbc0f95c
- Print named script's names for the scriptstat console command.
...
SVN r3374 (trunk)
2012-02-21 19:27:30 +00:00
Randy Heit
7b5612c45a
- Added ACS_NamedExecuteWithResult for DECORATE expressions. Since this is a pretty long name,
...
you can also use CallACS, if you wish. The two are synonyms.
SVN r3373 (trunk)
2012-02-21 19:24:02 +00:00
Randy Heit
d9b8b344ff
- Added support for using named scripts with UDMF maps. On lines with ACS specials
...
(i.e. ACS_Execute, etc.), set the arg0str property to the name of the script to execute. The
standard numeric arg0 property will be ignored in this case.
SVN r3372 (trunk)
2012-02-18 02:39:01 +00:00
Randy Heit
cbf7162e16
- Allow for using ACS_NamedExecute and friends with SetLineSpecial.
...
SVN r3371 (trunk)
2012-02-18 02:17:33 +00:00
Braden Obrzut
9cd0e48ea3
- Fixed: Forgot to initialize inventoryItem to NULL in DrawBar.
...
SVN r3370 (trunk)
2012-02-18 02:01:28 +00:00
Braden Obrzut
449bd90121
- Fixed: Runtime error on Mac OS X. For whatever reason merely having the call to CFUserNotificationDisplayAlert() in I_FatalError caused exception handling to quit working. Moving it to a separate file seems to fix this. Also removed the warning about FRenderer having a non-virtual destructor.
...
SVN r3367 (trunk)
2012-02-16 22:58:17 +00:00
Randy Heit
8f516a1007
- Added pukename console command. This is mostly the same as puke, except the scripts are
...
named, and to run a script using ACS_ExecuteAlways, you need to add "always" after the script
name but before any arguments. e.g.:
pukename "A Script" 1
Will run the script "A Script" with a single argument of 1, provided the script is not
already running.
pukename "A Script" always 1
Will always run the script "A Script" with a single argument of 1.
SVN r3365 (trunk)
2012-02-16 22:13:46 +00:00
Randy Heit
7561beb212
- Added action functions that work with script names instead of script numbers. They are
...
named the same as their ACS function equivalents. e.g. From DECORATE, you can now use
ACS_NamedExecuteAlways to run a script with a name.
SVN r3364 (trunk)
2012-02-16 21:49:09 +00:00
Randy Heit
4195993023
- Make deferred scripts work with named scripts.
...
- Added ACS_Named* function variants of the ACS_* specials that take script names instead of
numbers. As these are functions and not specials, they can only be used from inside ACS.
SVN r3363 (trunk)
2012-02-16 21:23:03 +00:00
Braden Obrzut
6f17e0f51b
- Fixed: Mac universal binary build. (I actually just realized that my DRDTeam build script ended up just working because of this modification.)
...
SVN r3362 (trunk)
2012-02-16 20:18:46 +00:00
Braden Obrzut
da974c3444
- Allow any parameterized SBarInfo value to use parentheses to help make the syntax a little more consistent.
...
SVN r3361 (trunk)
2012-02-16 05:01:17 +00:00
Braden Obrzut
25b73ac023
- Added ability to use a constant for the maximum comparator for health and armor drawbars.
...
SVN r3360 (trunk)
2012-02-16 04:21:43 +00:00
Randy Heit
9ffb4c40ac
- Added support for loading named ACS scripts. You can't run them directly at the moment, but
...
you can still use them for automatically executed script types (like open and enter).
- Change the DACSThinker::RunningScripts array into a TMap so that it can catalog the new range
of ACS scripts (up to 32767).
SVN r3359 (trunk)
2012-02-15 02:18:30 +00:00
Randy Heit
ebd115e7ca
- Removed snd_3dspread, because it totally does not do what I want. I was using it to preserve
...
some of the stereoness of stereo sounds played in 3D. My testing was done only with stereo
speakers, however, and I did not realize that it was moving the perceived physical location
of the sound itself (because it sounded fine with my two speakers). So when 3D spread started
working with mono sounds as well in FMOD 4.28, sound positioning was completely broken for
everything when outputting to more than two speakers, because sounds were being spread
across a 180 degree arc.
Whoops!
Stereo sounds are now completely mono when not played by you, the listener.
SVN r3357 (trunk)
2012-02-14 03:15:13 +00:00
Randy Heit
5a95c997d1
- Added keys on the automap for Heretic in easy mode, courtesy of Gez.
...
SVN r3356 (trunk)
2012-02-12 02:45:48 +00:00
Randy Heit
540473cbe0
- Fixed: Sound limiting applied even to sounds that were already playing on the same
...
actor+channel. Since in this case, it's really just restarting the sound, it shouldn't limit
it. (Since it's already playing, we know the limit wasn't exceeded when it started playing, so
it shouldn't be exceeded if we restart it now.)
SVN r3355 (trunk)
2012-02-12 02:41:55 +00:00
Randy Heit
033b3964f1
- Fixed: C_DoKey() must disable all doublebind processing if it isn't passed any doublebindings.
...
This is because the automap calls it with its own bindings, which effectively cancelled all
doublebindings while the automap was open.
SVN r3354 (trunk)
2012-02-11 01:44:56 +00:00
Randy Heit
d2c8a86bb4
- Fixed: CheckMobjBlocking() did not consider one-sided lines without the ML_BLOCKING flag to be blocking.
...
SVN r3353 (trunk)
2012-02-11 01:17:09 +00:00
Randy Heit
cd150bd170
- Fixed: Forgot to divide the length of the SVCT chunks in ACS objects by 4 to get the actual
...
number of scripts to set VarCount for.
SVN r3352 (trunk)
2012-02-11 01:04:42 +00:00
Randy Heit
e4728ba6f0
- Fixed: DCanvas::DrawTextV needs to accept the entire tag list in one parameter. Otherwise, it
...
can't pass it to DrawTexture with a simple TAG_MORE. (Not sure why I thought the initial tag
needed to be separate, though it did catch one case where it wasn't provided.)
SVN r3351 (trunk)
2012-02-11 00:15:03 +00:00
Randy Heit
68fbd75897
- Fixed compilation with FMOD 4.38+. The removal of hardware voices and EAX was a fairly
...
major change, so I'm making no provisions for using older FMOD DLLs when compiled with the
4.38 API. However, sound positioning is still broken like in 4.28, so you are recommended
to continue building with 4.26. Also, the Freeverb-based DSP unit is no longer present in
FMOD, so the underwater effect is currently unavailable when using 4.38 until I can figure
out how to make it work with the SFX Reverb unit instead. (And on that topic, the Freeverb
DSP was officially only for stereo outputs, so I really shouldn't have been using it in the
first place.)
- Since I would like to eventually figure out the sound positioning issues with the newer
FMODs, the following have been added:
* snd_drawoutput now labels its outputs with the speakers they represent.
* DCanvas::DrawTextA was added as an alias for DrawText, since the Windows headers #define
DrawText to a Unicode/non-Unicode variant.
* The loopsound console command was added to spawn an actor at the player's location and
have it loop a sound infinitely.
Hopefully I can figure it out. FMOD's 3D example works, so I assume the problem lies with
my code, though I don't really know where to begin looking for the problem.
SVN r3350 (trunk)
2012-02-10 00:53:50 +00:00
Christoph Oelckers
5d7ee4dbfd
- fixed: Line type 49 was wrong for all games. Fixed by adding a new Ceiling_CrushAndRaiseDist special. (thanks to Gez for the patch)
...
SVN r3348 (trunk)
2012-02-09 19:59:32 +00:00
Randy Heit
ddd5fe7535
- Fixed: If an episode skips the skill menu, it should also skip the confirm skill menu
...
if the default skill requests confirmation.
SVN r3347 (trunk)
2012-01-24 03:25:06 +00:00
Randy Heit
9d67dc36e8
- Fixed: Episodes with NoSkillMenu defined had their own idea of default skill that differed
...
from episodes with skill menus (and completely ignored whichever skill is explicitly defined
as the default skill).
SVN r3346 (trunk)
2012-01-24 03:16:24 +00:00
Randy Heit
ef88515dda
- Remove all restrictions on what you can do with tags as line special arguments in xlat.
...
Something like 「(tag & 5) + (tag & 2) / 2」 is now a valid argument for a standard line
translation.
SVN r3345 (trunk)
2012-01-23 04:18:37 +00:00
Randy Heit
4b2ae689ed
- Added modulus to FParseContext/xlat.
...
- Fixed: Division of tag arguments for xlat was in the wrong order.
SVN r3344 (trunk)
2012-01-23 02:47:51 +00:00
Randy Heit
b21062c39a
- Added more tag operators for xlat: * / & | ^
...
SVN r3343 (trunk)
2012-01-23 00:24:42 +00:00
Randy Heit
f28393263b
- Improve tag support for xlat: Any combination of arguments can now be tags, and you can
...
add (or subtract) a constant to them. If you do wish to add a constant, tag must come first.
e.g. tag+3 is good, but 3+tag will not work. (As a bonus, the parser is simpler, too.)
SVN r3342 (trunk)
2012-01-22 22:55:20 +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
00d3e1975f
- Play "misc/secret" as a UI sound.
...
SVN r3340 (trunk)
2012-01-22 00:18:13 +00:00
Randy Heit
2faf92858a
- Fixed: LIGHT2SHADE would overflow with light values larger than 10 bits.
...
SVN r3339 (trunk)
2012-01-22 00:14:02 +00:00
Randy Heit
1bdbfb360e
- Remove an int->bool conversion warning.
...
SVN r3338 (trunk)
2012-01-21 23:51:24 +00:00
Randy Heit
a408a913bc
- Added missing newline characters to [BSP rebuilding] messages in p_glnodes.cpp.
...
SVN r3337 (trunk)
2012-01-21 23:48:46 +00:00
Randy Heit
83fc6cf53a
- Fixed: Hexen's ACS implementation truncates all line specials to bytes, so we need to do the
...
same for maps defined with Hexen-style MAPINFOs.
SVN r3336 (trunk)
2012-01-21 23:47:13 +00:00
Randy Heit
243197bfd4
- Fixed: Setting an actor's score with ACS also modified its nametag.
...
SVN r3335 (trunk)
2012-01-21 23:16:35 +00:00
Randy Heit
038d3cc820
- Initialize mSentAdvance to false.
...
SVN r3334 (trunk)
2011-12-25 22:45:12 +00:00
Randy Heit
8e636b8abf
- Fixed: Must not try to draw null flats in the textured automap.
...
SVN r3333 (trunk)
2011-12-14 00:36:47 +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
Christoph Oelckers
b1905c16ef
- added UDMF LOcknumber property, submitted by Nightfall.
...
SVN r3331 (trunk)
2011-12-12 16:07:32 +00:00
Braden Obrzut
3b8f5e0d39
- Fixed: levellump for drawstring should be all uppercase for consistency.
...
SVN r3330 (trunk)
2011-12-09 00:59:38 +00:00
Christoph Oelckers
893455ef61
- sync source with latest GZDoom:
...
Includes:
- Made the move tried from checking missile spawns ignore drop off height. This solves the Voodoo Gun ghostly civilian issue.
- Fixed: the NOTELEPORT flag is removed from Dehacked missiles which lose the MISSILE flag. This caused problems with certain special effects based on dehacked spawn cubes.
- Fixed: all Boom silent teleporters preserve relative height.
- support for palette independent particle colors if the renderer can handle them.
SVN r3329 (trunk)
2011-12-06 08:36:28 +00:00
Randy Heit
8e8331d44c
- Fixed: Pressing a key to advance an intermission screen only worked on
...
the local computer.
SVN r3328 (trunk)
2011-12-06 02:51:32 +00:00
Randy Heit
2f8d6beb1e
- Be less verbose when attempting to play non-ZDoom demos.
...
SVN r3327 (trunk)
2011-12-06 01:52:07 +00:00
Randy Heit
5284ab9688
- Do nothing in D_DoAdvanceDemo if gameaction is not ga_nothing.
...
SVN r3326 (trunk)
2011-12-06 01:50:38 +00:00
Randy Heit
43fed9dc89
- Need to bump demo/gameversion due to DEM_SETPITCHLIMIT. MINDEMOVERSION also
...
needs to be touched, since the default limits are now 0.
SVN r3325 (trunk)
2011-12-06 01:30:48 +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
Randy Heit
0897a593c7
- When a missile teleports, maintain velocity on the other end.
...
SVN r3322 (trunk)
2011-11-28 00:10:04 +00:00
Braden Obrzut
7d348e7148
- Fixed: The scanner triggered an assertion failure on empty strings.
...
SVN r3321 (trunk)
2011-11-26 06:59:35 +00:00
Braden Obrzut
cffae9c33c
- Applied Thomas's patch to fix physics with non-solid polyobjs, but adjusted it to work with 3D mid textures as well (at least as well as I could).
...
SVN r3320 (trunk)
2011-11-25 21:49:03 +00:00
Randy Heit
17ba09c882
- Fixed: Cht_ChangeLevel cheats should not check for disabled cheats.
...
SVN r3319 (trunk)
2011-11-24 04:36:36 +00:00
Randy Heit
7d502e7789
- Added SMF_CURSPEED flag for A_SeekerMissile to cause it to use the missile's current speed rather than its Speed property.
...
SVN r3318 (trunk)
2011-11-24 04:27:47 +00:00
Randy Heit
04387a6924
- Initialize all parameters when converting MBF_PlaySound to A_PlaySound,
...
because volume was being passed as 0 to A_PlaySound.
SVN r3317 (trunk)
2011-11-24 03:59:02 +00:00
Randy Heit
48c7423fbf
- Added flag ALF_NOFRIENDS and a friend-basis pointer to P_AimLineAttack().
...
A_DeathBallImpact uses these to avoid aiming at friends when the death ball
bounces. (The pointer is needed because the missile itself does the aiming,
not the player that shot it, and missiles are nobody's friends.)
SVN r3315 (trunk)
2011-11-07 01:23:23 +00:00
Randy Heit
f00f5d2304
- Allow subclasses when checking for PowerWeaponLevel2.
...
SVN r3314 (trunk)
2011-11-07 00:43:41 +00:00
Randy Heit
66f86add05
- Fixed: Starting in a sector with a musinfo thing would not trigger the thing.
...
SVN r3313 (trunk)
2011-11-07 00:31:17 +00:00
Christoph Oelckers
e6e15be7e0
- fixed: p_floor.cpp had some checks for 0-tags wrong (thanks to FDARI for the fix)
...
SVN r3312 (trunk)
2011-11-05 22:45:58 +00:00
Randy Heit
9acf65b9a4
- Added support for a PALVERS lump. This specifies replacement textures to
...
be used when for walls and floors when the renderer is paletted. The format
is very simple:
rgbtex1 paltex1
rgbtex2 paltex2
...
The first texture is the one to be used normally, and the second is the one
to be used in paletted modes.
The vid_nopalsubstitutions cvar can be used to ignore this lump.
SVN r3311 (trunk)
2011-11-04 01:12:53 +00:00
Braden Obrzut
e68d956208
- Fixed: 2048 should be a valid height for a Doom patch.
...
SVN r3310 (trunk)
2011-11-03 21:08:39 +00:00
Randy Heit
4816b3182b
- Add compat_badangles to the menu.
...
SVN r3309 (trunk)
2011-11-02 02:44:01 +00:00
Randy Heit
e121bd7d92
- Added compat_badangles to simulate Doom's incorrect sine table: Player
...
spawning and teleporting will be offset by one fineangle so they cannot
face directly in one of the cardinal directions.
SVN r3308 (trunk)
2011-11-01 02:58:52 +00:00
Randy Heit
c23b918596
- Fixed: restart ccmd did not reset the palette.
...
SVN r3307 (trunk)
2011-11-01 01:59:47 +00:00
Randy Heit
3401d9f2bb
- Fix incorrect line arg count for Ceiling_Waggle.
...
SVN r3306 (trunk)
2011-11-01 01:41:01 +00:00
Randy Heit
de956a9ab6
- Added a fourth paremeter to Floor_LowerToHighest. Set it to 1 to always apply
...
the offset to the target height. (This is Heretic's behavior.)
SVN r3304 (trunk)
2011-10-27 01:35:30 +00:00
Christoph Oelckers
b5cd69fe4c
- fixed: Invalid intermission string references to the string table could cause a crash.
...
SVN r3301 (trunk)
2011-10-23 09:46:31 +00:00
Randy Heit
307050d38d
- Remove the chasecam restriction that the player sprite must be visible. (When
...
crushed, the real player is turned invisible, defeating the death/chasecam.)
SVN r3300 (trunk)
2011-10-03 00:56:01 +00:00
Randy Heit
3117f657c7
- Change UDMF lineflag 'transparent' to 'translucent' to match the spec.
...
(Hopefully nobody used 'transparent'; it's not in the DoomBuilder configs,
so that should be a safe assumption.)
SVN r3298 (trunk)
2011-10-03 00:36:37 +00:00
Braden Obrzut
9c8bb236ec
- Backport r1253 through r1256 and r1259 of GZDoom.
...
* By pressing request, allow Linux users to build ZDoom with an FMOD version that doesn't give them 3D sound positioning. :p
* Fixed severe copy-pasta portal copy bug.
* 3D floors hidden by being moved above the ceiling or below the floor will no longer show in the automap.
* Reject TEXTURES scale of 0. They'd do nothing but provoke a division by zero error.
* Maybe fixed Linux compilation?
SVN r3297 (trunk)
2011-09-27 01:14:31 +00:00
Christoph Oelckers
3c47a30249
- added Gez's submission for inventory restrictions but changed the added checks to be in the main CallTryPickup function.
...
SVN r3296 (trunk)
2011-09-23 08:23:51 +00:00
Christoph Oelckers
a0bb1c2546
- added Gez's patch for proper splash checks with 3D-floors.
...
SVN r3295 (trunk)
2011-09-21 19:39:12 +00:00
Randy Heit
c12538c346
- Fixed crash when trying to play a MIDI file with no notes.
...
SVN r3294 (trunk)
2011-09-14 23:34:28 +00:00
Randy Heit
de8bf651f2
- Fix warnings reported by gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
...
SVN r3293 (trunk)
2011-09-14 23:24:32 +00:00
Braden Obrzut
d6b6a73fee
- Fixed MSVC warning.
...
SVN r3292 (trunk)
2011-09-13 20:13:26 +00:00
Braden Obrzut
faa122ede3
- Adjust VisibleToPlayerClass to accept multiple classes as well as work with inheritance.
...
SVN r3291 (trunk)
2011-09-10 04:24:40 +00:00
Braden Obrzut
c013e72caa
- Backported VisibleToTeam and VisibleToPlayerClass from Skulltag with some modifications.
...
SVN r3290 (trunk)
2011-09-08 01:28:26 +00:00
Braden Obrzut
bb1b825f24
- Backported kgsws's weapon dropitem changes from Skulltag.
...
SVN r3289 (trunk)
2011-09-08 00:55:47 +00:00
Randy Heit
7714ee3ffd
- Fix more errors found with static code analysis.
...
SVN r3288 (trunk)
2011-09-01 22:57:49 +00:00
Christoph Oelckers
f8bc459a21
- fix uninitialized string buffer in bot code.
...
SVN r3287 (trunk)
2011-08-31 22:49:24 +00:00
Christoph Oelckers
5747406776
- fixed some more potential NULL pointer accesses.
...
SVN r3286 (trunk)
2011-08-31 06:14:28 +00:00
Christoph Oelckers
f2a457206c
- fixed some potential NULL pointer accesses.
...
SVN r3285 (trunk)
2011-08-30 15:34:40 +00:00
Braden Obrzut
eafb9da2c1
- Backported GZDoom r1246:
...
* Fixed possible crash when texture for menu item patch cannot be loaded. (From Alexey's Mac OS X port.)
* Fixed iwadinfo.txt definitions of Hexen and Freedoom demos (also from Alexey's port.)
* Added missing LOF_NOJUMP definition.
SVN r3284 (trunk)
2011-08-23 02:39:20 +00:00
Braden Obrzut
edfc16906a
- Disable the save game menu when not in a level.
...
SVN r3283 (trunk)
2011-08-19 07:56:43 +00:00
Braden Obrzut
f6ddad95b7
- Set the CMAKE_MODULE_DIR so that we can use find_package instead of include for FluidSynth.
...
- Fixed: FadeTo() accepted parameters out of range.
- Fixed: "Enable autosaves" menu option didn't handle all possible values of disableautosave.
SVN r3280 (trunk)
2011-08-16 21:59:35 +00:00
Braden Obrzut
5c81cf20ba
- Merged r1236, r1237, and r1240 of GZDoom.
...
SVN r3279 (trunk)
2011-08-14 23:53:20 +00:00
Braden Obrzut
f42358ad08
- Backported FMOD Ex 4.34 fixes from gzdoom-macosx. (With changes to continue to allow compilation with 4.22-4.28.)
...
SVN r3278 (trunk)
2011-08-13 21:11:09 +00:00
Braden Obrzut
ba4630f0df
- Added ammo1capacity and ammo2capacity to drawnumber.
...
SVN r3277 (trunk)
2011-08-13 20:30:59 +00:00
Braden Obrzut
bdbea0da32
- Use kernel semaphores on Mac OS X since it doesn't support POSIX semaphores.
...
SVN r3276 (trunk)
2011-08-01 03:53:57 +00:00
Christoph Oelckers
080e769c76
- removed all asserts from the interpolation objects' Destroy methods. The condition will not be true after a failed savegame write occured.
...
- fixed: D_ErrorCleanup must clear 'savegamerestore'.
- fixed: Cleaning up when loading a savegame failed while restoring the thinker list did not work. There were two issues:
* removed the asserts in GC::SweepList because they get triggered by thinkers that were not fully initialized during loading.
* AActor::UnlinkFromWorld may not assume that the sector list has been initialized when this function is called.
SVN r3274 (trunk)
2011-07-15 13:26:36 +00:00
Braden Obrzut
c8b8cdd13b
- Fixed: SBarInfo string center alignment didn't work with non-monospace fonts.
...
SVN r3271 (trunk)
2011-07-14 09:31:39 +00:00
Braden Obrzut
dc50487432
- Lets try using semaphores on Linux instead of sleeping to implement cl_capfps.
...
SVN r3270 (trunk)
2011-07-11 02:35:33 +00:00
Christoph Oelckers
f84368677a
- updated OpenAL branch.
...
SVN r3269 (openal)
2011-07-08 22:00:23 +00:00
Christoph Oelckers
d8ea5cdad9
- fixed: BlockLinesIterator::Next could get stuck in rare situations where validcount was altered while the iterator was still running. This should probably be dealt with by using another marking method but at least this prevents the engine from freezing.
...
SVN r3268 (trunk)
2011-07-07 22:09:09 +00:00
Christoph Oelckers
ba661308d4
- added GZDoom's option not to count monsters in E1M8-style end of level sectors, but controlled by a dmflag.
...
SVN r3267 (trunk)
2011-07-07 21:55:55 +00:00
Christoph Oelckers
55bb4afac8
- backported GZDoom extensions to renderer interface.
...
SVN r3266 (trunk)
2011-07-07 21:43:49 +00:00
Braden Obrzut
85bd2e02c9
- Fixed Linux build issues.
...
SVN r3265 (trunk)
2011-07-07 20:49:55 +00:00
Christoph Oelckers
4ef68ded5d
- fixed some leftover references to the software renderer.
...
SVN r3264 (trunk)
2011-07-07 19:53:42 +00:00
Christoph Oelckers
5bfcaab25c
- separation of software renderer from the rest of the code complete. All external access to the renderer is routed through the FRenderer interface class now, with two exceptions (2D texture drawing to a canvas and polymost testing code) that are handled by #defines.
...
SVN r3263 (trunk)
2011-07-07 15:37:47 +00:00
Christoph Oelckers
3e9ffc9ac9
- copied some declarations that are needed by GZDoom's GL renderer from r_main.h to r_utility.h.
...
SVN r3262 (trunk)
2011-07-06 19:11:36 +00:00
Christoph Oelckers
f08188b0e5
- removed unneeded includes of r_local.h.
...
SVN r3261 (trunk)
2011-07-06 18:12:16 +00:00
Christoph Oelckers
463c276014
- removed more r_ header dependencies from the rest of the code.
...
SVN r3260 (trunk)
2011-07-06 15:31:05 +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
42091b1bb3
- changed AlterWeaponSprite so that it doesn't take a full vissprite as parameter.
...
- FCoverageBuffer is only used in r_things.cpp, so its declaration does not need to be in a global header that's included everywhere.
SVN r3258 (trunk)
2011-07-06 13:00:51 +00:00
Christoph Oelckers
03177090c0
- removed some unnecessary r_ header #includes.
...
SVN r3257 (trunk)
2011-07-06 10:55:04 +00:00
Christoph Oelckers
f8ba5af858
- separated sprite and skin maintenance code from r_things.cpp into a separate file.
...
SVN r3256 (trunk)
2011-07-06 10:24:40 +00:00
Christoph Oelckers
fbff5ca932
- moved r_interpolate.cpp and r_translate.cpp to r_data.
...
- merged r_jpeg.h into jpegtexture.cpp because that's the only place where it's ever used.
SVN r3255 (trunk)
2011-07-06 08:50:15 +00:00
Christoph Oelckers
5c6fd66ed5
- rename src/resources to src/r_data.
...
SVN r3254 (trunk)
2011-07-06 07:35:36 +00:00
Braden Obrzut
da7abc2a83
- Fixed: p_sectors.cpp wouldn't compile.
...
SVN r3253 (trunk)
2011-07-06 03:59:55 +00:00
Christoph Oelckers
0d43ecdd9d
- moved side_t::GetLightLevel out of software rendering code.
...
SVN r3252 (trunk)
2011-07-05 21:30:17 +00:00
Christoph Oelckers
5bf6398d85
- moved render style and border drawing code out of r_draw.cpp.
...
SVN r3251 (trunk)
2011-07-05 20:41:53 +00:00