Commit graph

21536 commits

Author SHA1 Message Date
Dileep V. Reddy
dc897eacc0 Changed all of the isometric functionality to mapinfo and playerinfo variables. Retained function of most of the CVars. 2024-01-21 03:34:00 -05:00
Dileep V. Reddy
d2c2c93cf1 Adding isometric camera mode with orthographic projection to current state of master branch of GZDoom. 2024-01-21 03:34:00 -05:00
Major Cooke
278ebf3202 Aded FLIPSPRITEOFFSET<X/Y> for actors and bFlipOffset<X/Y> for visual thinkers.
- Inverts the direction that (Sprite)Offset pushes the sprite without affecting *any* other offsets, allowing them to combine seemlessly.
2024-01-21 03:33:48 -05:00
Major Cooke
4e48250cf2 CalculateVertices Refactor
- Added roll support for Y billboarding
- Fixed a bunch of broken checks that prevented Y billboarding from working properly
- Y billboarding takes precedence over sprite facing
- Optimized ROLLCENTER: now combines the sprite's embedded offsets with SpriteOffsets instead of doing wasteful transforms before/after rotations
- Greatly cleaned up a bunch of cruft
2024-01-21 03:33:48 -05:00
Rachael Alexanderson
1c7f195353
- reverse y offset for SpriteOffset to be consistent with software renderer and past versions 2024-01-18 03:00:44 -05:00
Rachael Alexanderson
f9a88f10ed
- use correct isHostile checks for target considerations 2024-01-18 02:59:48 -05:00
Professor Hastig
cfb4e4f105 fix file names in mounted directories.
This used the normalized file name for access which only works on case insensitive file systems and only as long as no character gets mangled by Unicode normalization.
2024-01-18 07:05:32 +01:00
Ricardo Luís Vaz Silva
79d9217340 Add action versions of the animation/model methods 2024-01-16 10:27:08 -05:00
Ricardo Luís Vaz Silva
b708e16193 fix serialization 2024-01-16 10:27:08 -05:00
Ricardo Luís Vaz Silva
98e6330eaa allow modeldef flags to be overriden 2024-01-16 10:27:08 -05:00
Major Cooke
d789676b26 Fixed music unpausing when alt-tabbing back. 2024-01-12 16:53:56 +01:00
Christoph Oelckers
04e6eba9e0 activate localization of tabs and text update. 2024-01-11 17:50:26 +01:00
Magnus Norddahl
63f1326e62 Add support for changing the tab labels 2024-01-11 16:52:12 +01:00
Christoph Oelckers
53c6002746 attempt to fix compilation on macOS 2024-01-11 16:41:21 +01:00
Andrey Shustov
0aa140194d Fix "unexpected end of TTF file" error
Changed returnv vector size to 3 by default and set size 5 for WIN32
only.
2024-01-11 16:35:38 +01:00
Rachael Alexanderson
64096658e5
- reverse allowduplicates check since it is a misnomer to what it actually did 2024-01-11 08:02:44 -05:00
Christoph Oelckers
55d90a18dc fix render API selection 2024-01-10 23:26:45 +01:00
Magnus Norddahl
8cc531e283 Implement mouse event propagation 2024-01-10 23:23:13 +01:00
Magnus Norddahl
a0f52411d3 Add tabs to the launcher window 2024-01-10 17:09:50 +01:00
Magnus Norddahl
762ce6f14c Add a tab widget 2024-01-10 17:08:50 +01:00
Christoph Oelckers
c7778b9332 implemented language selection on the IWAD picker. 2024-01-09 20:52:52 +01:00
Christoph Oelckers
eb9e9133c9 use the string table for the picker's texts. 2024-01-09 18:18:51 +01:00
Christoph Oelckers
ab010f9830 Text update. 2024-01-09 18:13:41 +01:00
Christoph Oelckers
f7a4f00177 adapted string table so that it can be initialized without full game data being available.
This is for the IWAD picker which runs before many things are known.
2024-01-09 17:22:59 +01:00
Magnus Norddahl
48c18e1730 Remove schrift from zwidget 2024-01-09 16:50:03 +01:00
Christoph Oelckers
963209e8af removed external stuff from tarray.h 2024-01-09 16:47:24 +01:00
Christoph Oelckers
0838433d1f make adjustments to the font substitution and load Japanese and Korean fonts from the Windows font folder. 2024-01-09 16:37:17 +01:00
Christoph Oelckers
a016bf1ef2 cleaner constructor interface. 2024-01-09 16:37:17 +01:00
Magnus Norddahl
10ce3abb77 Add support for getting TTC font names and sharing the font file data between multiple TrueTypeFont instances 2024-01-09 16:37:17 +01:00
Magnus Norddahl
96b812e880 Add support for opening TTC fonts 2024-01-09 16:37:17 +01:00
Ricardo Luís Vaz Silva
b7e5d3d052 rename SPF_STANDALONE_ANIMATIONS to SPF_LOCAL_ANIM 2024-01-09 06:38:08 -05:00
Ricardo Luís Vaz Silva
8ae93fb87f use map instead of linear search to find texture indices for animation 2024-01-09 06:38:08 -05:00
Ricardo Luís Vaz Silva
3bd80ab8f6 Do the same for Visual Thinkers 2024-01-09 06:38:08 -05:00
Ricardo Luís Vaz Silva
7eab519795 Implement animated particles that aren't tied to the global animation timer 2024-01-09 06:38:08 -05:00
Christoph Oelckers
9dd6460fe6 removed libschrift. 2024-01-08 17:29:12 +01:00
Christoph Oelckers
216f477b90 make things compile again with the font substitution wrapper. 2024-01-08 17:26:43 +01:00
Magnus Norddahl
0f9d3b4a66 Fix mouse wheel scroll bug 2024-01-08 17:25:23 +01:00
dpjudas
ba274757be Fix the LSB alignment and switch to the internal TTF implementation 2024-01-08 16:58:58 +01:00
Magnus Norddahl
ccdbc8450a Fix contour decoding bug 2024-01-08 16:58:58 +01:00
Magnus Norddahl
edb1e3cb83 Add composite glyph support 2024-01-08 16:58:58 +01:00
Magnus Norddahl
e3d3ba2c86 Sync zwidget upstream changes 2024-01-08 16:58:58 +01:00
Magnus Norddahl
cbb89315e7 Add internal truetype font class 2024-01-08 16:58:58 +01:00
Rachael Alexanderson
2334a88229 - add arm setup cross compiler (requires x64 precompiled version in build/) 2024-01-08 08:19:52 -05:00
Christoph Oelckers
ea65768e0b fixed compile errors. 2024-01-07 12:28:21 +01:00
Christoph Oelckers
0e51c5832d fix compilation 2024-01-07 10:05:03 +01:00
Christoph Oelckers
f13ae3b706 addressed a few things pointed out by static analysis
* marking move assignments noexcept
* using [[fallthrough]] consistently.
* getting rid of alloca.
2024-01-07 08:46:47 +01:00
Ricardo Luís Vaz Silva
35e56d3f42 Minor optimizations to VisualThinker
* remove duplicated fields
* make native functions use direct calls
* remove unnecessary pointer from particle_t
* create HWSprite directly in Construct
2024-01-06 20:06:57 -05:00
Boondorl
5895b88799 Fixed bytes being written incorrectly 2024-01-06 15:40:31 -05:00
Christoph Oelckers
83aa9388ca backend update from Raze
* moving large allocations off the stack
* use proper printf formatters for size_t and ptrdiff_t.
* adding some missing 'noexcept'.
2024-01-06 15:24:10 +01:00
Boondorl
df9b2cd9bf Added 64-bit networking support
Mainly for use with doubles as ZScript can now take advantage of it. Enforced sizing on ints passed to and read from net functions.
2024-01-05 23:33:15 +01:00