Christoph Oelckers
48ba63c022
added even more explicit GetChars() calls.
2023-10-03 15:55:08 +02:00
Christoph Oelckers
1717ff47b2
add GetChars() accessors to many FString uses where const char* is wanted.
...
By no means complete, it's just a start to get rid of that automatic type conversion operator.
2023-10-03 14:27:39 +02:00
Ricardo Luís Vaz Silva
e61ab4cbe2
Expose OF_Transient to actors as bNoSaveGame
2023-09-14 16:28:23 +02:00
Christoph Oelckers
8a5d3c096b
- return a std::string from GetFileFullPath
2023-08-22 22:18:54 +02:00
Boondorl
fe1acc7f40
Localized fix to its own field
2023-08-02 00:41:39 -04:00
Ricardo Luís Vaz Silva
793d6af5d1
add CountSectorTags/CountSectorTags/CountLineIDs/GetLineID
2023-08-02 00:41:10 -04:00
Boondorl
239a288a9a
Exported reflection functionality
...
Localized reflection code to a single function. Fixed an error where NOSHIELDREFLECT was being checked on the wrong Actor. Fixed an oversight where MIRRORREFLECT was checking for valid target despite not needing one.
2023-08-02 00:40:01 -04:00
inkoalawetrust
150e893c67
Added ShadowAimFactor and ShadowPenaltyFactor.
...
These properties allow to specify how much an actors' aim is degraded when shooting at a shadow actor. And how much the shadow actor itself affects the shooters' aim, respectively.
2023-08-02 00:39:35 -04:00
inkoalawetrust
814c6f2188
Added MF9_SHADOWAIMVERT.
...
This flag causes the vertical aiming of monsters to also be affected when they aim at shadow actors.
2023-08-02 00:39:35 -04:00
inkoalawetrust
c729b831af
Added MF9_SHADOWBLOCK.
...
Actors in the line of fire with this flag trigger the MF_SHADOW aiming penalty. The shooter needs to have MF9_DOSHADOWBLOCK to check for actors with this flag.
2023-08-02 00:39:35 -04:00
inkoalawetrust
162dbf0554
Added MF9_SHADOWAIM.
...
This flag allows actors with MF6_SEEINVISIBLE to still get an aim penalty by trying to shoot at a shadow actor.
2023-08-02 00:39:35 -04:00
inkoalawetrust
d882a41824
Added a ninth actor flag field.
2023-08-02 00:39:35 -04:00
inkoalawetrust
194f73a94b
Added (XF/RADF)_CIRCULAR.
...
This flag makes explosions use a spherical radius, instead of a cubic one. Only took almost 30 years.
2023-08-02 00:37:58 -04:00
Christoph Oelckers
81fb9a26b2
- backend update from Raze.
...
* add QualifiedName to VMFunction and allocate these static names from the class data memory arena instead of using FStrings.
* null pointer type checks in the VM added to avoid crash on bad codegen.
2023-07-22 09:55:49 +02:00
Christoph Oelckers
c1cb7783a6
- fixed a few more leftover Clang warnings.
2023-03-26 09:27:46 +02:00
CandiceJoy
89fb5d0a92
Fixed incorrect parameter type in A_CheckForResurrection.
2023-03-18 08:47:19 +01:00
Rachael Alexanderson
4475240da8
- rename the flags MNOTVISIBLE and VISALWAYSFAIL to MINVISIBLE and MVISBLOCKED respectively, to reflect what they really do
2023-02-15 11:51:48 -05:00
Rachael Alexanderson
45f67bdd50
- add +VISALWAYSFAIL flag
2023-02-14 23:14:35 -05:00
Rachael Alexanderson
8af2f5aaf6
- add +mnotvisible flag as per feature suggestion: https://forum.zdoom.org/viewtopic.php?t=77277
2023-02-13 13:32:44 -05:00
Boondorl
f6128f0e9e
Fixed global TerrainDef array not being exported correctly
2023-01-20 22:33:12 +01:00
Boondorl
dd7cb8649f
Exported LinePortals
...
Added helper functions for lines related to portals
2023-01-15 22:01:37 +01:00
Boondorl
3dce874621
Exported bounce functions
2023-01-12 17:44:28 +01:00
Marisa the Magician
6f8901ea87
Rename ValidLock to IsLockDefined (more descriptive).
2022-12-23 22:48:01 +01:00
Marisa the Magician
b85add01c7
Additional lock-related ZScript functions.
...
* Key.ValidLock: returns whether a lock number is valid (can be unlocked) or belongs to a "does not work" door.
* Key.GetMapColorForLock: returns the automap color for a lock number (or -1 if the lock isn't valid).
* Key.GetMapColorForKey: likewise, but for a specific key.
2022-12-23 17:47:31 +01:00
Christoph Oelckers
941c0850ba
- Backend update from Raze.
...
Mainly optimizations for the sound system and texture manager.
2022-12-18 16:19:18 +01:00
Boondorl
0d4d5587b5
Added FOV Interpolation
2022-12-18 08:23:19 +01:00
Ricardo Luís Vaz Silva
dce456783d
Add support for Vector types as properties
2022-12-08 18:12:27 +01:00
Ricardo Luís Vaz Silva
cd46f97dcc
Structified A_SpawnParticle/Ex
2022-12-03 23:54:52 +01:00
Boondorl
964534f4b0
Added Method For Getting Portal Group Count
2022-12-03 23:27:01 +01:00
Boondorl
ad80593cb7
Allow Getting Portal Group Offsets
2022-12-03 23:27:01 +01:00
Christoph Oelckers
65a26d6779
- removed the string constructors from FSoundID.
...
Due to C++ conversion rules this was a bit too volatile. There's really not enough places where being able to pass a string directly into the sound API was beneficial - the two most frequent functions now got overloaded variants.
2022-11-24 23:52:52 +01:00
Christoph Oelckers
d173c0453c
- handle all remaining places of sound ID conversions after removing the conversion operators.
2022-11-24 23:52:52 +01:00
Christoph Oelckers
160633a4a2
- migrate a large part of the sound code to FSoundIDs.
...
This has always been a wild mixture of IDs and ints.
2022-11-24 23:52:52 +01:00
Christoph Oelckers
d13f12cc37
- this should take care of the S_* interface.
2022-11-24 23:52:52 +01:00
UnizoneDev
a21d0c70e4
Mark the PushSound property as meta
2022-11-13 07:38:07 +01:00
UnizoneDev
9af664d117
Add PushSound property and Slide state
...
First Commit, hip hip hooray!
2022-11-13 07:38:07 +01:00
Boondorl
fc7bb4a7e6
Exposed LevelLocals' LookupString functionality
2022-11-11 07:32:56 +01:00
Boondorl
aea346f1f3
Improved Slam functionality:
...
*Added ONLYSLAMSOLID flag to ignore non-solid Actors that aren't shootable while SKULLFLY is on.
*Added Slam state that gets entered when slamming an Actor.
2022-11-10 22:55:43 +01:00
Christoph Oelckers
72aa6fe3b8
- did some cleanup on p_mobj.cpp
...
* deleting some unused code
* turned several class methods into static local functions in cases where they never were used outside this file.
* inlined the dangerous assignment operator in the only place where it was used.
2022-11-05 12:00:43 +01:00
Christoph Oelckers
ec1525b0c4
- added PARAM_NULLCHECK to the block iterator creation functions.
2022-11-05 09:16:55 +01:00
ZZYZX
662027f429
Fix typo that was always calling SetXOffset even in SetYOffset
2022-09-20 15:08:02 -04:00
Rachael Alexanderson
ca6a2152b9
- add freezetics actor property
2022-09-03 17:58:16 -04:00
Christoph Oelckers
4032576519
- blocked off direct access to TAngle’s internal storage.
2022-08-26 18:09:29 +02:00
Christoph Oelckers
f0fbdba593
- disable implicit conversions from float to TAngle
2022-08-26 18:01:26 +02:00
Rachael Alexanderson
8468f712e0
- fix arti teleport and arti teleother not respecting useplayerstartz mapflag
2022-08-26 04:11:29 -04:00
Christoph Oelckers
5cee2b5803
- fixed: The compile context for constant evaluation did not initialize its Version member.
2022-08-03 08:44:38 +02:00
Magnus Norddahl
e2778ba442
Move TexMan.GetCanvas and GetTextureCanvas to common
2022-07-25 18:50:16 +02:00
Magnus Norddahl
bb503950df
Add canvastexture definition to animdefs.
...
Split canvas texture rendering from camera texture rendering.
2022-07-25 18:50:16 +02:00
Magnus Norddahl
4f0b02b396
Add a 2d drawer to canvas textures
2022-07-25 18:50:16 +02:00
Emile Belanger
edc8204a61
If the system uses very high memory addresses this error will be hit
2022-07-10 22:26:57 +02:00