Rachael Alexanderson
1f2809244d
Update service.zs
...
remove erroneous semicolon
2023-02-19 10:14:36 -05:00
Ricardo Luís Vaz Silva
d6e72b5264
Add data-scoped getters for Services
2023-02-19 08:11:08 +01: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
4c7e9c6193
Change CheckValue
to multi-return, due to unsupported out int/bool
2023-01-25 17:32:54 +01:00
Ricardo Luís Vaz Silva
698bd251ea
Mark non-modifying map functions as const
2023-01-21 16:40:47 +01:00
Ricardo Luís Vaz Silva
decba68225
Map::GetIfExists and Map::CheckValue
2023-01-21 16:40:47 +01:00
Ricardo Luís Vaz Silva
43880bbbe1
Expose StripLeft and StripLeftRight to ZScript
2022-12-19 14:00:09 +01:00
Ricardo Luís Vaz Silva
8b6a714d41
Map<K,V> and MapIterator<K,V> for ZScript
2022-12-04 15:11:00 +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
Ricardo Luís Vaz Silva
58a64e4f5d
Remove leftover variable in CustomMessageBox
2022-11-25 00:39:35 +01:00
Boondorl
f322792783
Added animation support for OptionMenus
...
Adds Animated and AnimatedTransition MENUDEF instructions for OptionMenus. Added DontDim and DontBlur MENUDEF instructions for all menus.
2022-11-25 00:39:05 +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
Ricardo Luís Vaz Silva
0f7e7744b0
CustomMessageBox Formatting
2022-11-18 07:42:45 +01:00
Ricardo Luís Vaz Silva
724b89bb1d
CustomMessageBox
2022-11-18 07:42:45 +01:00
Christoph Oelckers
fdeec5e0a5
- fixed bad index check in CanWipe.
...
This can be called with index == -1, which should check the first element of the intermission.
2022-11-06 23:23:31 +01:00
Christoph Oelckers
70df444660
- Backend update from Raze
...
* fix for serializing vector arrays.
* a few adjustments for asan on Windows.
* NOMUSICCUTOFF flag for movie player.
* a bit of cleanup.
2022-10-20 20:12:06 +02: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
Christoph Oelckers
519005ff4d
- snd_reset cannot be shared.
2022-10-02 20:22:23 +02:00
Player701
78360c1888
- Exported GetDisplayTopOffset for font characters to ZScript
2022-09-30 10:07:41 +02:00
Christoph Oelckers
362b41be1a
- use consistent index types for array function return values.
2022-08-05 21:16:20 +02:00
Marisa the Magician
931211b9db
Export FindLumpFullName to ZScript.
2022-08-05 20:25:02 +02: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
Alexander Kromm
46d9564507
localize "Unknown" option menu string
2022-07-30 17:54:19 +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
71ce8aa79a
- block wipes when streaming movies are playing.
...
For synchronization purposes they cannot be interrupted by the wipe loop.
This also groups the cutscene state in a struct for readability purposes.
2022-06-06 12:30:47 +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
Alexander Kromm
ea007f56f2
fix scrolling when selecting item by key
2022-06-02 19:49:39 +02:00
Alexander Kromm
5cced2721a
scroll if item selected by menu shortcut is out of screen
2022-05-31 10:00:56 +02:00
Alexander Kromm
38fcfa5ba9
get rid of unnecessary string conversions in option menu shortcuts
2022-05-31 10:00:56 +02:00
Alexander Kromm
7eb12fa9fb
implement jumps in option menus
...
Enables shortcuts for option menus. Press a key to immediately jump to the next
option menu entry which starts with this key. Hold Alt to jump backwards.
Compatible with localized menus (checked on Russian).
2022-05-31 10:00:56 +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