Randy Heit
f7bd3acec4
Add OpenString to FScanner class
2015-04-22 17:34:36 -05:00
Christoph Oelckers
db61c1cb57
- allow multiple line IDs as well using the same method as for sector tags.
2015-04-19 17:51:34 +02:00
Christoph Oelckers
b921157f57
- uncouple sector tag storage from the sector data to allow multiple tags per sector.
...
Tags are now handled by a tag manager class which stores sector/tag pairs. This way multiple entries can be added per sector.
Since UDMF does not have any arrays the additional tags are stored as a space separated string as 'MoreIDs'.
2015-04-19 12:33:27 +02:00
Christoph Oelckers
f65a07c952
- minor bit of cleanup of tags code.
2015-04-19 08:48:20 +02:00
Christoph Oelckers
203f88ce6e
- some sanitizing of sector tag/line id management:
...
* make setting the line ID with P_TranslateLineDef explicit because there's one FraggleScript function that needs to work around the changes caused by this. There's also some functions setting only a temporary linedef. These would inevitably cause problems if the underlying data gets changed.
* remove FS function 'ChangeTag'. Fortunately this was just some long forgotten test stuff that can be removed without affecting any maps, but the feature would cause some serious problems in a more complex system.
With these changes it is guaranteed that after map setup the tag/ids won't change anymore.
2015-04-15 20:10:27 +02:00
Christoph Oelckers
418e6a16b8
- fixed UDMF user variables could be set for the base namespaces which do not define them.
2015-04-15 09:43:43 +02:00
Christoph Oelckers
902593198b
- wrapped all line ID accesss just like sector tags
2015-04-15 09:37:06 +02:00
Christoph Oelckers
2faf836aa1
- some minor rework of tag access interface after I realized that some stuff (e.g. Strife's scrolling sector special) need the primary tag to treated specially.
2015-04-14 18:48:19 +02:00
Christoph Oelckers
238046655c
- wrapped all accesses to the sector tag into accessor functions, as preparation for allowing multiple tags per sector.
2015-04-14 18:32:14 +02:00
Christoph Oelckers
51591d10b0
- handle slope things through new definition tables as well. Since these get processed outside P_SpawnMapThing it required some restructuring so that the actual spawn data is present when slope things get processed.
...
- removed FMapThing::Serialize because it isn't used anywhere - it was rather broken anyway.
2015-04-04 10:25:01 +02:00
Randy Heit
a5f8c4ead2
Fixed: UDMF loader did not set the index for sides
2015-02-20 21:51:14 -06:00
Randy Heit
9721c025c1
Remove unneeded index restriction from GetUDMFInt/Fixed
2015-02-20 20:42:30 -06:00
Christoph Oelckers
2f11a59be0
- fixed: UDMF ceiling plane properties set the map's floor plane values.
2014-10-31 08:57:43 +01:00
Christoph Oelckers
3fe8dbf660
Merge branch 'master' of https://github.com/Gaerzi/zdoom
2014-10-28 22:10:28 +01:00
Gaerzi
65cb662678
Missing break in case NAME_FillColor
...
This caused weirdness with invulnerable monsters when their fillcolor was changed.
2014-10-28 21:19:01 +01:00
Teemu Piippo
770547e661
- added udmf key midtex3dimpassible which causes the midtex to behave like a finite-height impassible line; practically this means the mid texture lets projectiles pass through it.
2014-09-28 17:17:19 +03:00
Christoph Oelckers
9cd074ddf3
- fixed: plane equation vectors must be normalized when being loaded from UDMF.
2014-06-02 10:51:17 +02:00
Christoph Oelckers
e92032e8ff
- fixed: The map setup code was still truncating texture names in several places.
2014-05-16 22:48:37 +02:00
Christoph Oelckers
47a9dab56d
- allow setting sector planes' plane equations directly from UDMF.
2014-05-14 12:16:33 +02:00
Christoph Oelckers
30f57c0b8e
- added new renderstyles AddStencil and AddShaded.
2014-05-13 21:16:06 +02: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
6a07118ea4
- added ML_BLOCKHITSCAN line flag.
2013-08-09 20:35:10 +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
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
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
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
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
0f0dcc08a2
- Added a new UDMF sidedef flag: lightfog.
...
SVN r3933 (trunk)
2012-11-03 02:02:42 +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
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
Randy Heit
3fae0e3906
- Enable arg0str for UDMF things and named scripts.
...
SVN r3390 (trunk)
2012-02-26 02:32:45 +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
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
Christoph Oelckers
b1905c16ef
- added UDMF LOcknumber property, submitted by Nightfall.
...
SVN r3331 (trunk)
2011-12-12 16:07:32 +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
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
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
5c6fd66ed5
- rename src/resources to src/r_data.
...
SVN r3254 (trunk)
2011-07-06 07:35:36 +00:00
Christoph Oelckers
17ed7aaabd
- moved the code from r_data.cpp to some better fitting places and deleted this file and r_data.h because the remaining parts of it were just a random collection of unrelated functions.
...
SVN r3248 (trunk)
2011-07-05 10:02:38 +00:00
Christoph Oelckers
4626492f50
- separated all colormap related code from v_palette.cpp and r_data.cpp into its own file.
...
SVN r3245 (trunk)
2011-07-03 10:47:35 +00:00
Randy Heit
ee8ca0de87
Fixed: Light levels outside the range [0,255] really do matter.
...
SVN r3223 (trunk)
2011-06-11 23:58:33 +00:00
Randy Heit
6c70afe0a7
- Place a limit on the number of reports per missing texture. On maps with many lines and many
...
sides of missing textures, this can take a very long time, because each missing textures causes
a scan of every single line (for the sake of packed sidedefs), and each output line also requires
an update of the hidden RichEdit logging control.
SVN r3192 (trunk)
2011-05-08 00:30:32 +00:00
Christoph Oelckers
1806e47e43
- fixed: Sector_SetLink did incorrect checks for the returned control sector
...
- added Sector_SetTranslucent special so set translucency of portal planes at run time.
- added 'additive' information for portal planes. This is no-op at the moment because the flat drawers can't handle additive translucency yet though.
SVN r3149 (trunk)
2011-02-12 09:53:40 +00:00
Christoph Oelckers
a2acc382df
- added a 'block sight' line flag.
...
- updated UDMF spec for player class and skill amount because the old menu limits no longer apply.
- fixed: FloorAndCeiling_LowerRaise needs to consider 4 args in maps to account for the Boom compatibility hack parameter.
SVN r3121 (trunk)
2011-01-23 10:52:18 +00:00
Christoph Oelckers
79c5080dda
- added DavidPH's submission for specifying vertex heights directly in UDMF.
...
SVN r3037 (trunk)
2010-12-14 00:56:44 +00:00
Christoph Oelckers
9278375064
- added 'flooralpha' and 'ceilingalpha' sector properties. They only have meaning if a sector stack portal is defined in this sector. If set to anything less than 1.0 these will override the alpha set by a portal. This is mostly for Sector_SetPortal to avoid defining multiple portals that only differ by their plane translucency.
...
SVN r2995 (trunk)
2010-11-07 22:12:38 +00:00
Christoph Oelckers
eded2ef345
- Each IWAD can now define its own config section. Hacx, Harmony and Action Doom2 now do that.
...
- moved IWAD identification data into a lump in zdoom.pk3.
- rewrote IWAD checking code
SVN r2943 (trunk)
2010-10-15 15:13:53 +00:00
Christoph Oelckers
352a926ddf
- made all references to the GameNames array an inline function call to allow easier modification later
...
- changed all parsers that check for the current game to use the same function for the game check.
- fixed: The TEAMINFO parser handled 'game Any' incorrectly.
SVN r2934 (trunk)
2010-10-12 07:14:31 +00:00