Major Cooke
a3e0ef4c51
Renamed zsprite.zs to visualthinker.zs for consistency
2023-11-22 17:01:24 -05:00
Major Cooke
b6b1b25035
Added ZSprites.
...
- Effectively similar to Actors, but without the excess.
- Can be created with either the `level` function or the static `Spawn` function in ZSprite.
- STAT_SPRITE belongs to ZSprites only; ZSprites cannot be moved out of, nor can anything else be moved in to, this statnum.
Misc:
- Fixed (Sprite)Offset taking roll into account.
Crediting phantombeta, RicardoLuis0 and RaveYard for assistance.
2023-11-17 08:06:11 -05:00
Ricardo Luís Vaz Silva
0ce4b3e7fb
update/cleanup function pointers
2023-10-11 19:12:48 +02:00
Ricardo Luís Vaz Silva
e3704605d8
Implement Static Function Pointers
2023-10-11 19:12:48 +02:00
Ricardo Luís Vaz Silva
8b6a714d41
Map<K,V> and MapIterator<K,V> for ZScript
2022-12-04 15:11:00 +01:00
Ricardo Luís Vaz Silva
724b89bb1d
CustomMessageBox
2022-11-18 07:42:45 +01:00
Christoph Oelckers
29b4418c3a
- added 'foreach' loop to ZScript.
...
Syntax:
foreach(variable : array)
{
}
the variable's type is automatically deducted.
2022-11-15 21:34:45 +01:00
nashmuhandes
50d16c75d9
Add corona actor
2022-08-11 20:38:24 +08:00
Christoph Oelckers
3563c99ead
- made adjustments for proper int type promotion to allow internal ZScript to compile with it on.
...
* Emit a warning when relational comparisons are made between signed and unsigned ints.
* Handle shift operators so that they do not fail for constant definitions.
* changed return type of Array::Size() to signed int as most code out there is using it this way and would otherwise drown in warnings.
* fixed a few deprecation warnings.
2022-08-03 10:26:29 +02:00
Christoph Oelckers
1bb750c061
Screenjob WIP stuff
2022-04-26 20:50:35 +02:00
Christoph Oelckers
933fa62782
- added the script side core module for the cutscene system.
2022-04-26 20:50:34 +02:00
Christoph Oelckers
84458ddb9f
- redid postprocessing shader interface to be free of the player dependency.
...
This is something that really should be done in higher level code - the shader interface should only concern itself with the shader and not the conditions that block its use.
The Shader class has been redone as a thin wrapper and been deprecated.
2022-01-17 00:07:43 +01:00
Christoph Oelckers
441cd0796f
- merged gzdoom-gles2 and fixed some issues with pipeline size validation.
2021-08-03 20:12:19 +02:00
Christoph Oelckers
483c1f6dcf
- MBF21: added the weapon functions.
2021-07-01 17:42:24 +02:00
Christoph Oelckers
c700682a36
- MBF21: ported the code pointers to ZScript.
...
So far it's just the functions and some initial changes to Dehacked's parser. None of this is usable yet.
2021-07-01 00:53:15 +02:00
Alexander Kromm
7b31ba7cc8
move Service to engine directory
2021-05-22 16:11:35 +02:00
Alexander Kromm
988f83a73f
remove duplicate entry for dictionary in zscript.txt
2021-05-22 16:11:35 +02:00
Alexander Kromm
c7658b691c
add service interface
2021-05-22 16:11:35 +02:00
Christoph Oelckers
e6c96bcb75
- move VM exports to the proper class.
2020-10-31 12:24:14 +01:00
Christoph Oelckers
be5d25a7b1
- moved all shareable script sources to their own folder in gzdoom.pk3.
2020-10-31 12:24:13 +01:00
Christoph Oelckers
f25896021e
- added the missing image scroller class.
...
MENUDEF handling was already present for it but the implementation was not.
2020-10-28 07:23:42 +01:00
Christoph Oelckers
f99ac8b28b
- allow struct extensions in zscript.
...
This is mainly for splitting the Doom specific content off the main definitions for easier reuse.
2020-10-16 22:57:27 +02:00
Christoph Oelckers
a08d87beb3
- added a customization hook class for the menu.
...
Currently the only thing it does is abstracting the menu caption, but more can be added here.
Not exposed to modding yet, though, that's for later.
2020-10-16 22:57:26 +02:00
Christoph Oelckers
0b317b432e
- split the Doom specific menu extensions into their own file.
2020-10-16 22:57:24 +02:00
Christoph Oelckers
731c68e69e
- version bump for last commit.
2020-09-27 14:20:47 +02:00
Player701
3a526c9e5a
- Implement return type covariance for ZScript virtual functions
2020-09-27 14:18:15 +02:00
Christoph Oelckers
c0b9bb6e76
- bumped ZScript version to 4.3 and silenced the remaining deprecation warnings.
2020-01-04 14:25:56 +01:00
Christoph Oelckers
f647f3c132
- added the Dehacked extensions from Crispy/Doom Retro.
...
All empty placeholders for mods to fill in, no new functionality.
2019-12-31 21:13:18 +01:00
Alexander Kromm
703686beee
export TMap<FString, FString> to ZScript
2019-12-29 13:37:38 +01: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
Christoph Oelckers
c64aedb262
- reimplemented the Harmony status bar in ZScript
...
* the Doom status bar has been partially virtualized to allow overriding specific parts of it, most notably the ammo display
* the internal Harmony status bar has been removed because it only works with the now disabled Dehacked patch.
* the SBARINFO definition has been removed, instead it uses a ZScript-based status bar now which overrides the ammo display to use the new ammo types instead.
2019-07-17 00:36:38 +02:00
Rachael Alexanderson
777a4c600a
- bump zscript version to 4.2 - if this gets feature updates it should give warnings ahead of time, this time
2019-04-29 00:14:03 -04:00
alexey.lysiuk
63d30e27a6
- bump versions to match the latest release
...
we don't want to miss deprecation warnings
2019-04-28 11:24:24 +03:00
Christoph Oelckers
c45c7cdb4b
- reimplemented as an OptionsMenu.
...
This is both for consistency and better localizability. The old code is retained to ensure that mods inheriting from the old menu continue to work.
2019-04-14 14:03:24 +02:00
Alexander
dbb93d6c08
option search improvements
...
1. Top-level menu names are now properly handled.
2. Changing "Any or All terms" option now immediately updates the results.
3. Reformatted menu.zs to have tabs instead of spaces.
2019-03-17 20:28:38 +01:00
Alexander
73d81d3983
added option search menu
2019-03-16 18:40:13 +01:00
Christoph Oelckers
b542d1371d
- reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting.
2019-02-23 12:08:27 +01:00
Christoph Oelckers
dab68184f5
- moved the global spot state into FLevelLocals.
...
This way it doesn't even have to be a thinker.
2019-01-05 10:04:27 +01:00
Christoph Oelckers
2258a71c36
- took several methods out of the native PlayerPawn implementation, either by scriptification or moving them to other places.
2019-01-03 13:59:46 +01:00
Christoph Oelckers
4a1f011dc1
- Alt HUD scriptification, part 1.
2018-12-02 14:34:08 +01:00
Christoph Oelckers
a426655d61
- scriptified AddInventory.
2018-12-01 17:03:58 +01:00
Christoph Oelckers
460c400315
- scriptified ApplyKickback.
2018-11-25 01:12:45 +01:00
Christoph Oelckers
e071be8371
- scriptified A_FireBullets and A_CustomBulletAttack.
2018-11-24 13:50:27 +01:00
Christoph Oelckers
6fc63b9b78
- started with a ScriptUtil class which will allow moving function implementations for ACS and FraggleScript to zscript.txt
...
So far 3 functions for testing implemented.
2018-11-24 13:06:01 +01:00
ZZYZX
a276ebfb08
Exported destructible geometry to ZScript
2018-11-07 00:12:37 +01:00
Christoph Oelckers
b9f2cce8de
- versioned the return mismatch check to demote it to a warning for older versions than 3.7.
2018-11-01 11:30:53 +01:00
Christoph Oelckers
b65b83edb3
- removed the hard screen resolution switch that still was present on Windows and cleaned up the entire video backend code from the remaining support code for this.
...
Like Linux and macOS this will only support borderless fullscreen in the active desktop resolution now, which is what modern systems need.
The list of discrete resolutions has been removed as it makes no sense anymore with a fixed video mode - all the other scaling options remain active, though.
2018-06-17 20:08:35 +02:00
Christoph Oelckers
cf8447d19c
-protected critical portal data from getting written to by user code.
...
This data is game critical and may only be altered by code that knows what is allowed and what not. It must never be altered by any user code ever.
However, since the SkyViewpoint actors need to set up some relations between themselves and the default sky portals the previously purely internal 'internal' flag has been exported as a new keyword.
2018-04-15 12:13:02 +02:00
alexey.lysiuk
640948703f
Level compatibility via ZScript -- PoC
2018-04-09 17:54:12 +03:00
Christoph Oelckers
3ae5f8c09f
- initial work on a reverb editor based on the menu system.
...
This is to get rid of some ugly Windows code and make this platform independent.
2017-11-25 22:03:18 +01:00