alexey.lysiuk
79880b2bd9
- extended level post-processing with editor numbers and angles
2019-11-10 11:37:02 +02:00
alexey.lysiuk
a2a50f34d5
- added things related getters to level post-processing
...
New functions cover existing interface only
Unsigned integers are now used instead signed for indices and bitfields
2019-11-10 11:37:02 +02:00
alexey.lysiuk
59bdebb20a
- added generic level post-processing script class
...
It was extracted from LevelCompatibility class, and native code was moved accordingly
2019-11-10 11:37:02 +02:00
alexey.lysiuk
b40e0ae38d
- made GL nodes loader more resilient to broken data
...
https://forum.zdoom.org/viewtopic.php?t=66086
2019-10-12 12:41:14 +03:00
Christoph Oelckers
cbd4479628
- reinstated the old scriptwait implementation as a compatibility option.
...
Daedalus's MAP19 needs this.
2019-09-07 09:34:50 +02:00
alexey.lysiuk
c3edfdd946
- temporary solution to fix build of non-MSVC targets
...
Precompilation of prefix header for GCC and Clang requires some efforts thanks to CMake which doesn't support this feature out of the box
Existing thirparty solutions must be tuned to our needs, and our configuration should be adjusted to a chosen module
2019-08-22 11:30:40 +03:00
Christoph Oelckers
0abc66dbff
- uncoupled the decompressors from ZDoom's internal error handling.
...
This code made it hard to repurpose this code for other tools, so now the error handler must be passed as a callback to OpenDecompressor.
2019-08-20 23:14:00 +02:00
Christoph Oelckers
3cfda930ea
- removed all Doom specific dependencies from cmdlib.cpp/h.
...
This meant moving CleanseString and ParseHex elsewhere and removing the I_Error call from ScanDirectory.
2019-08-20 23:12:23 +02:00
Rachael Alexanderson
0d2bdfca99
- fix typo
2019-08-15 21:27:11 -04:00
alexey.lysiuk
73f46089cc
- added validation of LevelCompatibility.Apply() signature
2019-07-03 13:11:48 +03:00
alexey.lysiuk
4a8438ebb4
- fixed crash on loading map in Hexen format without any nodes
2019-06-09 12:57:57 +03:00
alexey.lysiuk
c222b24c0a
- removed erroneous assignment of dialog reply
...
https://forum.zdoom.org/viewtopic.php?t=64943
2019-06-07 17:40:36 +03:00
alexey.lysiuk
a54bc61678
- fixed conversation links with pages referenced by name
...
https://forum.zdoom.org/viewtopic.php?t=64177
2019-05-26 15:46:30 +03:00
drfrag
afa644fe47
- Fixed compilation with old gcc and clang.
2019-05-22 18:25:24 -04:00
Rachael Alexanderson
a27990885e
- add some debugging information for GZSDF pagenames feature
2019-05-22 11:50:53 -04:00
alexey.lysiuk
f5d80d0d8b
- made setting actor TID more explicit
...
Now it's no longer possible to manipulate TID hash from arbitrary location
For example, this prevents linking of destroyed object into the hash
TID member is still public but writing to it is limited to a few very specific cases like serialization and player traveling between levels
https://forum.zdoom.org/viewtopic.php?t=64476
2019-05-10 11:49:57 +02:00
Christoph Oelckers
0341a3d75b
- made the gross railing hack for Strife a compatibility option and restricted it to MAP04
...
The side effects here broke other maps and this is really too glitchy to be turned on unless really necesasary.
2019-03-26 00:38:54 +01:00
Christoph Oelckers
04c103811c
- changed Strife dialogue setup so that STRIFE00 is being processed and the random texts explicitly excluded.
...
This fixes the stray "Peasant" in this file.
2019-03-24 12:52:03 +01:00
Christoph Oelckers
dc67355e95
- added A_Explode compatibility options.
...
There are two options here - one only disables the vertical thrust and the other goes back fully to the original non-z-aware code.
Both options are settable through MAPINFO.
For the compatibility presets, the normal ones only disable the vertical thrust, the strict ones force use of the old code entirely.
2019-03-24 12:42:57 +01:00
Christoph Oelckers
5da2ecda66
- fix the compat_pointonline flag.
2019-03-23 15:28:10 +01:00
Christoph Oelckers
8c06a00ee6
- moved all dialogue loading code into the map loader.
2019-02-22 19:07:58 +01:00
Christoph Oelckers
8bdbd2e915
- fixed layout of summary screen.
2019-02-21 00:16:48 +01:00
alexey.lysiuk
d4d010ac32
- added compatibility flag for buggy CheckSwitchRange behavior
...
https://forum.zdoom.org/viewtopic.php?t=63008
https://forum.zdoom.org/viewtopic.php?t=63650
2019-02-11 17:57:03 +01:00
Christoph Oelckers
4cdbc99877
- fixed creation of phased light sequences.
2019-02-07 09:39:36 +01:00
Christoph Oelckers
546d3d1bf5
- allow localization of Hexen's original ACS strings.
...
This way of looking up strings is intentionally limited to content from Hexen.wad and Hexdd.wad.
2019-02-05 11:51:19 +01:00
Christoph Oelckers
e41c898817
Merge branch 'master' into new_level_refactor
2019-02-04 13:11:01 +01:00
Christoph Oelckers
496eba3acb
- fix polyobject init
2019-02-04 13:10:53 +01:00
Christoph Oelckers
af9636b7c3
- fixed glitches with some poorly set up sector stack portals.
2019-02-04 13:08:30 +01:00
Christoph Oelckers
8d83f03138
- changed the linedef translator into a struct and reorganized its storage to allow having different ones at the same time.
...
This was the last piece of data that couldn't be distinct for more than one level.
2019-02-02 01:22:12 +01:00
Christoph Oelckers
f6a91e1722
- moved the I_Error prototypes to doomerrors.h to avoid having to include the low level system header for this.
2019-01-31 19:38:04 +01:00
Christoph Oelckers
1dcdfec733
- Unload behavior with the map, not outside.
2019-01-31 17:58:18 +01:00
Christoph Oelckers
65f3fec283
- copied a few more map information CCMDs to g_ccmd.
2019-01-31 03:03:56 +01:00
Christoph Oelckers
18b8a03f05
- cleaned up the header list in maploader.cpp.
2019-01-31 01:23:06 +01:00
Christoph Oelckers
c18a0e7736
- replaced DWORD_MAX with UINT_MAX globally.
...
This was the last remnant of ZDoom's old integer types.
2019-01-30 22:34:11 +01:00
Christoph Oelckers
8bbdee5c28
- redirect most references to the global players array through FLevelLocals.
...
The Map loader may not access any global state at all - everything it can touch must be exchangable.
Furthermore, if we want to sandbox each level, there may be no direct access to any kind of global state whatsoever from the play code.
2019-01-30 01:15:32 +01:00
Christoph Oelckers
ebdb2643c4
- moved UDMF custom properties into FLevelLocals.
2019-01-30 00:47:20 +01:00
Christoph Oelckers
6451b7d592
- moved the combined compatibility flags into FLevelLocals.
2019-01-29 19:28:22 +01:00
Christoph Oelckers
14101fa447
- health groups and software rendering textures freed of 'level'
...
Edited cherry-pick of an older commit.
2019-01-29 16:06:17 +01:00
Christoph Oelckers
60873bc5d6
Moved the PointInSector functions into FLevelLocals
2019-01-29 01:30:41 +01:00
Christoph Oelckers
68667e5eaa
- moved particle storage into FLevelLocals.
...
- moved parts of the render setup out of the separate render functions.
Things like particle and polyobject linking were duplicated several times for rendering different things in different renderers.
These things only need to be set up once before the renderer is started so it makes a lot more sense to consolidate them into one place outside the actual rendering code.
2019-01-29 01:09:02 +01:00
Christoph Oelckers
648e472744
- handled approx. half of all cases where the address of level is taken.
2019-01-28 00:55:21 +01:00
Christoph Oelckers
b4acb857ad
- the final batch of easy level replacements.
...
What's left will require a bit more work...
2019-01-27 21:59:19 +01:00
Christoph Oelckers
8c542e9be8
- removed level references in the software renderers.
2019-01-27 17:21:36 +01:00
Christoph Oelckers
4f540c1703
- give the sector a level reference.
2019-01-27 17:12:03 +01:00
Christoph Oelckers
73696e2781
- handled most level references in actorinlines.h and p_mobj.cpp.
2019-01-27 16:08:22 +01:00
Christoph Oelckers
8323524014
- give thinkers a 'level' member and change linking to the chain to happen outside the constructor.
2019-01-27 01:49:20 +01:00
Christoph Oelckers
ba114f6f23
- give the hardware renderer's drawinfo its own level pointer
2019-01-25 01:26:16 +01:00
Christoph Oelckers
bf3dc2f99b
Merge branch 'rolling_back' into new_level_refactor
2019-01-25 00:57:01 +01:00
Christoph Oelckers
b2ee99c7cc
- call level compatibility handlers for all levels and pass the map name as a second parameter.
...
This is for user-made handlers for which the checksum is rather useless both for deciding whether to call the handler and for identifying the map.
2019-01-25 00:56:15 +01:00
Christoph Oelckers
3cef56249d
- moved most functions of portals.cpp into FLevelLocals.
...
Much of this is used during level init and needs to be independent of the current level.
2019-01-25 00:30:55 +01:00