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
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
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
5564b99d3a
- Fixed: UseInventory from ACS should ignore the totally frozen property.
...
SVN r3415 (trunk)
2012-03-09 01:56:37 +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
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
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
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
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
67bbc0f95c
- Print named script's names for the scriptstat console command.
...
SVN r3374 (trunk)
2012-02-21 19:27:30 +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
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
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
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
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
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
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
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
5d65ab6e6c
- cleaned up setPointer interface.
...
- ZDoom part of setPointer/setActivator, submitted by FDARI.
SVN r3230 (trunk)
2011-06-13 10:22:47 +00:00
Christoph Oelckers
74ad869e62
- ZDoom implementation of strcpy, submitted by FDARI.
...
SVN r3227 (trunk)
2011-06-13 09:14:02 +00:00
Braden Obrzut
400442ebc1
- Added ACSF_AnnouncerSound from Skulltag to EACSFunctions.
...
SVN r3209 (trunk)
2011-05-16 23:47:58 +00:00
Christoph Oelckers
4264b05e79
- added FDARI's ACS savestring submission.
...
SVN r3204 (trunk)
2011-05-11 22:29:49 +00:00
Randy Heit
e36dc34d8f
- Fixed: When loading FBehavior::SerializeVarSet() would only zero the variables if there were
...
non-zero variables to load. This was fine when all variables defaulted to zero, but map variables
have been able to default to something else for some time now. This meant that if all map
variables were zero when the game was saved, they would be restored to their default values
when the game was loaded.
SVN r3190 (trunk)
2011-04-24 17:16:13 +00:00
Randy Heit
d3b44a4172
- Fix errors/warnings from MinGW 4.5.0 (tdm-1).
...
- Disable the missing field initializers warnings that -Wextra produces from GCC.
SVN r3173 (trunk)
2011-03-29 05:20:33 +00:00
Christoph Oelckers
1993e969b7
- GCC warning fixes (GCC stupidity for the most part.)
...
SVN r3154 (trunk)
2011-02-19 08:59:43 +00:00
Christoph Oelckers
1ea5cc8bd8
- added a function to execute action specials and changed all calls to use this function. This was done to make it easier to check such calls.
...
SVN r3152 (trunk)
2011-02-13 10:18:28 +00:00
Christoph Oelckers
b3a7c70c01
- changed ACS Checkweapon to compare names instead of strings.
...
SVN r3107 (trunk)
2011-01-17 00:33:20 +00:00
Christoph Oelckers
e4b236cbcc
- added DavidPH's A_SetMass submission.
...
SVN r3105 (trunk)
2011-01-14 22:59:20 +00:00
Christoph Oelckers
090922e1c2
- added ACS SpawnForced function.
...
SVN r3104 (trunk)
2011-01-14 10:40:59 +00:00
Christoph Oelckers
7db7886a0e
- fixed: DLevelScript always initialized the first 3 local variables, even if less were allocated.
...
SVN r3101 (trunk)
2011-01-14 09:07:00 +00:00
Christoph Oelckers
789c937635
- use FSharedStringArena to handle AActor's tag strings properly. They were names before which are not case sensitive and could cause problems.
...
- fixed FSharedStringArena::FreeAll did not NULL TopBlock.
- bumped savegame version for above changes.
SVN r3100 (trunk)
2011-01-12 00:17:13 +00:00
Christoph Oelckers
fb7a45efe4
- backport ACS CheckActorProperty fix from GZDoom.
...
SVN r3064 (trunk)
2010-12-20 19:13:12 +00:00
Christoph Oelckers
19b8e15af4
- added APROP_Dormant actor property for ACS (read only!)
...
- fixed_ When performing a restart menus and intermissions need to be closed first.
SVN r3048 (trunk)
2010-12-16 08:05:00 +00:00
Christoph Oelckers
1f43f4e961
- Added DavidPH's AProp_ScaleX/Y / A_SetScale submission.
...
SVN r3000 (trunk)
2010-11-08 00:01:21 +00:00
Christoph Oelckers
b771426ea2
- added Demolisher's APROP_Waterlevel patch.
...
SVN r2986 (trunk)
2010-11-07 07:31:58 +00:00
Randy Heit
b8fa340986
- Fixed: ACS's GetActorX, GetActorY, GetActorZ, GetActorFloorZ, GetActorCeilingZ, GetActorAngle,
...
and GetActorPitch did not have NULL pointer checks for the TID == 0 case.
SVN r2845 (trunk)
2010-09-23 01:51:00 +00:00
Christoph Oelckers
df138fe4f9
- added a ClearCounters function to AActor that handles everything necessary to un-count an item that is not supposed to be counted but has some of the COUNT* flags set.
...
- merged all places where secrets are credited into one common function.
- added the Doom64 COUNTSECRET actor flag.
- fixed: AInventory::CreateCopy did not clear the COUNTITEM flag.
- fixed: Dropping an item did not increase the item count but the dropped item could still have the COUNTITEM flag. Now this flag gets cleared when the item gets picked up so that dropped items don't count a second time.
SVN r2826 (trunk)
2010-09-19 00:06:45 +00:00
Christoph Oelckers
deef0e0a88
- oops
...
SVN r2794 (trunk)
2010-09-16 08:36:14 +00:00
Christoph Oelckers
916d4809a9
- added Demolisher's APROP_Target/TracerTID submission.
...
SVN r2793 (trunk)
2010-09-16 07:00:27 +00:00
Christoph Oelckers
106cf82f62
- added a fixed version of Demolisher's GetActor** submission for returning the activator's info when the tid is 0.
...
SVN r2787 (trunk)
2010-09-15 21:41:49 +00:00
Christoph Oelckers
dca03ac76a
- changed ACS's print n: cast to use an actor's tag for non-players instead of the class name.
...
SVN r2784 (trunk)
2010-09-15 14:47:44 +00:00
Christoph Oelckers
5647fed0cf
- fixed: armor factor application was done wrong.
...
- fixed: APROP_Invulnerable could only be set and unset but not checked.
- fixed: Two sided polyobjects applied thrust to sctors in a way that did not work.
SVN r2620 (trunk)
2010-08-28 12:57:23 +00:00
Christoph Oelckers
9a4abe0915
- merged automap branch into trunk.
...
SVN r2609 (trunk)
2010-08-27 15:20:05 +00:00
Christoph Oelckers
9102200771
- added: Let the kill CCMD also kill replacements of the monster that is specified.
...
- add a GetReplacement method to PClass to clean up some really ugly code
- Who wrote the 'kill' CCMD? The way it checked if two classes were identical was horrendously overcomplicated.
SVN r2601 (trunk)
2010-08-26 20:59:15 +00:00
Christoph Oelckers
09bd076b17
- added PinkSilver's ACS Checksight submission.
...
SVN r2532 (trunk)
2010-08-13 06:31:22 +00:00
Randy Heit
30ffe1d4b8
- Maybe enable assembly on Intel Macs?
...
SVN r2527 (trunk)
2010-08-13 03:14:05 +00:00
Randy Heit
a27304baac
- Fixed byte swapping the script count for new-style ACS. My 2poly.wad now works on PPC.
...
SVN r2525 (trunk)
2010-08-12 22:56:08 +00:00