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
Christoph Oelckers
0044da1ca2
added missing VMFunction struct definition
2023-10-09 19:20:44 +02:00
Gutawer
23b489960e
- put DTA_Localize at the end of the enum for backwards compat with integer usage
2023-09-14 23:24:42 +02:00
Gutawer
44d134298a
- add support for not localizing some text functions, and modify menu text fields to use this
2023-09-14 23:24:42 +02:00
Ricardo Luís Vaz Silva
590475a8e3
Improve Services
2023-02-19 08:11:08 +01:00
Ricardo Luís Vaz Silva
c8f3aa3fd1
ZScript Custom CVars -- ONLY WORKS FROM THE CONSOLE
2023-01-29 14:42:20 -05:00
Ricardo Luís Vaz Silva
43880bbbe1
Expose StripLeft and StripLeftRight to ZScript
2022-12-19 14:00:09 +01:00
Christoph Oelckers
1e5e65546d
Revert "- add support for not localizing some text functions, and modify menu text fields to use this"
...
This reverts commit 91d3c4b606
.
This completely breaks the menus, so it needs to go.
2022-12-04 08:13:04 +01:00
Gutawer
91d3c4b606
- add support for not localizing some text functions, and modify menu text fields to use this
2022-12-03 23:30:38 +01:00
Gutawer
9f0c518be9
- add remaining quaternion function implementations
2022-11-21 07:20:43 +01:00
RaveYard
540f778047
Quaternion structure and math ops
2022-11-21 07:20:43 +01:00
Christoph Oelckers
dbd6a9dea1
- fixed DrawLine commands by giving them a consistent floating point interface.
2022-10-19 20:39:41 +02:00
Christoph Oelckers
08f66585b7
- un-deprecated the integer MSTime variant.
...
Due to undefined downconversion rules from double to int, there is no way to safely downcast the return from MSTimef, meaning the function is completely useless for retrieving integral time stamps.
The old version is essential for these cases and must be kept around.
2022-10-09 13:42:51 +02:00
Player701
78360c1888
- Exported GetDisplayTopOffset for font characters to ZScript
2022-09-30 10:07:41 +02:00
Marisa the Magician
931211b9db
Export FindLumpFullName to ZScript.
2022-08-05 20:25:02 +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
0049fea8d6
Add missing DrawText binding
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
Gutawer
937c22ff14
- add a method for filling a shape2d instead of using a texture ( #1661 )
...
Co-authored-by: Christoph Oelckers <coelckers@users.noreply.github.com>
2022-07-16 14:57:22 +02:00
Gutawer
ee0d90a983
- add stencil buffer support for 2d drawing ( #1660 )
...
Co-authored-by: Christoph Oelckers <coelckers@users.noreply.github.com>
2022-07-16 14:56:28 +02:00
Gutawer
1e27fac288
- add a system for setting all of 2D drawing's transform, not just shapes
2022-07-16 14:53:07 +02:00
nashmuhandes
c6ae73d6d2
- Expose ConsoleState to scripts
...
- Make ConsoleState uint8_t sized
2022-07-16 14:38:47 +02:00
Christoph Oelckers
ac0a68c7ca
- removed the duplicate EPrintLevel definition.
2022-07-11 19:40:58 +02:00
Ricardo Luís Vaz Silva
365131e1e3
rename PrintString to PrintfEx and make it a vararg function
2022-07-11 19:35:51 +02:00
Ricardo Luís Vaz Silva
03c8da8a44
Expose Print Flags to ZScript
2022-07-11 19:35:51 +02:00
Christoph Oelckers
c62e14d2c1
- Backend update from Raze
...
Mostly cleanup and better separation of game/backend concerns.
2022-06-06 12:09:29 +02:00
Kevin Caccamo
eb15d97fe3
Fix a few mistakes, and improve consistency
2022-05-31 09:51:24 +02:00
Kevin Caccamo
c3e9f22ca1
Remove "static" from Object intrinsic methods
2022-05-31 09:51:24 +02:00
Kevin Caccamo
f4e84d99af
Remove documentation for dynamic arrays
2022-05-31 09:51:24 +02:00
Kevin Caccamo
8817ed865c
Add details on how to call static Object methods
2022-05-31 09:51:24 +02:00
Kevin Caccamo
f4328f8187
Update documentation for vector type intrinsics
...
As suggested by MajorCooke
2022-05-31 09:51:24 +02:00
Kevin Caccamo
ef776d14ce
Make some corrections, and document more things
...
Change "class" on intrinsic types to "struct" because they are not objects, and they cannot be used in arrays.
Document IsAbstract() method.
Document Font casts.
2022-05-31 09:51:24 +02:00
Kevin Caccamo
70e26f5d30
Document intrinsic math and RNG functions
...
Also, document casts/"constructors" for Name and Sound
2022-05-31 09:51:24 +02:00
Kevin Caccamo
1801b2ee58
Add documentation about a few more things
...
- Color class
- String concatenation operator
- Object.GetClass
2022-05-31 09:51:24 +02:00
Kevin Caccamo
6f4f38a34b
Initial work on documenting ZScript intrinsics
2022-05-31 09:51:24 +02:00
Christoph Oelckers
bd885977e8
- added MSTimef script function
...
This also deprecates MSTime due to value range / overflow issues.
2022-04-29 00:47:06 +02:00
Christoph Oelckers
e5baef837a
- text screen helper stuff for cutscene system.
2022-04-26 20:50:34 +02:00
Player701
2ce5b49cab
- Exported the "paused" global variable to ZScript
2021-12-06 16:26:34 +01:00
nashmuhandes
c2b3600981
Add a render style parameter to Screen.Dim
2021-10-29 21:08:32 +02:00
Christoph Oelckers
fc2818b195
- menu system update from Raze for better control of animated menus.
2021-09-18 12:19:35 +02:00
Christoph Oelckers
28f2d36732
- removed declaration for Screen.GetTextScreenSize.
...
This function does not exist in GZDoom.
2021-08-04 08:00:49 +02:00
Christoph Oelckers
c1a8776a15
- updated common code from screenjob branch.
...
That is, all parts not related to cutscenes.
2021-08-03 12:30:44 +02:00
Christoph Oelckers
52554dc32c
- Backend update fron Raze, mainly new script exports and extensions.
2021-05-03 14:13:03 +02:00
Rachael Alexanderson
a2b8ad79ed
- implement slider background color change - https://forum.zdoom.org/viewtopic.php?f=15&t=70616
2020-11-17 11:29:39 -05:00
Christoph Oelckers
be5d25a7b1
- moved all shareable script sources to their own folder in gzdoom.pk3.
2020-10-31 12:24:13 +01:00