Commit graph

21057 commits

Author SHA1 Message Date
CandiceJoy
ef0dcc9956 Easier MacOS Compilation w/Open AL
Added frameworks CoreAudio and AudioUnit for OpenAL on Mac.

Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-02-09 17:42:51 -05:00
Ricardo Luís Vaz Silva
1dcdfcc4d3 Mark const methods as const in pseudo-generics 2023-02-09 17:02:40 +01:00
Ricardo Luís Vaz Silva
569263efe9 Extend pseudo-generics system used by maps to dynarrays 2023-02-09 17:02:40 +01:00
Rachael Alexanderson
e29011ecde - (win32) increase compatibility with indirect renders/inputs - instruct the operating system that the cursor is actually hidden - for some API's this actually gives a hint that the cursor is grabbed, which allows for relative mouse movement. In particular, Parallels and Microsft RDP need this. 2023-02-07 13:47:39 -05:00
Rachael Alexanderson
4ac76d82d8 - redirected maps need to be defined in order to redirect 2023-02-03 20:21:40 -05:00
Ricardo Luís Vaz Silva
b50d7f4db5 Let custom CVar handlers to be called on cloned cvars 2023-02-01 10:35:28 -05:00
Rachael Alexanderson
82b7e93d26 - oops, nullptr check 2023-02-01 10:23:30 -05:00
Rachael Alexanderson
33b217bcc9 - unlatch cvars before checking cvar map redirections 2023-02-01 01:56:10 -05:00
Rachael Alexanderson
04ea28defc - add RedirectCVAR directive for loading alternate maps based on a Bool CVAR setting 2023-02-01 00:06:01 -05: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
8dbe0ae353 Don't change static variable when updating callback for single CVars 2023-01-29 14:42:20 -05:00
Emile Belanger
7349c95623 Fixes bones when using OpenGL 3.3 (UBO bone data) 2023-01-29 20:03:58 +01:00
Emile Belanger
c8bd2deb1e GLES: Fix first wipe 2023-01-29 20:03:05 +01:00
CandiceJoy
4d9e60574d Added scroll bar for wad picker to Linux.
Min height is set to 150 for GTK3, or none for GTK2.

Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-01-29 04:14:20 -05:00
Christoph Oelckers
03bab7aceb - extended the 5 remaining fonts to cover all relevant European languages. 2023-01-28 14:16:57 +01:00
Christoph Oelckers
ec04a95929 - validate the buffer size in HWViewpointBuffer::Set2D.
This was causing crashes in Dragon Sector when writing past the buffer's end.
2023-01-27 18:25:13 +01:00
CandiceJoy
70d355cfa3 Fixed a bug where calling an invalid virtual function would cause a crash. 2023-01-26 08:52:23 -05:00
Christoph Oelckers
10b6d21ba2 - new characters for Hexen's BigFont and all of Strife's fonts. 2023-01-25 23:43:57 +01:00
Hugo Locurcio
ad49d52b1c Add cvars to sprite shadows progressively according to thing <-> floor distance
This also adds the `r_actorspriteshadowalpha` and `r_actorspriteshadowfadeheight`
cvars for greater control (only effective in hardware renderers).
These are set to 0.5 and 0 by default, which means this fading behavior
is disabled by default.

When enabled, this has two benefits:

- It becomes easier for the player to judge an entity's height since
  the shadow opacity now gives this information.
- Entities that are far high above the ground no longer cast a shadow,
  which looked strange.
2023-01-25 17:43:04 -05:00
Boondorl
2d94321887 Added OnEngineInitialize() for static event handlers 2023-01-25 17:41:48 -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
CandiceJoy
1e39202484 Added check for invalid class on in-VM instantiation
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-01-24 22:10:34 +01:00
Christoph Oelckers
e97ec4f167 - Greek characters for Hexen's BigFont 2023-01-24 21:05:56 +01:00
Christoph Oelckers
ebd81ddbef - fixed bad character indices. 2023-01-24 20:58:51 +01:00
Christoph Oelckers
d7e2a82ded - Greek characters for Heretic's BigFont 2023-01-24 19:12:15 +01:00
Christoph Oelckers
fe514aa66c - new characters for Heretic's BigFont. 2023-01-24 18:22:14 +01:00
Christoph Oelckers
8191282831 - more characters for Doom's BigUpper font. 2023-01-24 17:20:40 +01:00
Christoph Oelckers
d0b519926c - Greek characters for Raven's small font. 2023-01-24 17:04:30 +01:00
Christoph Oelckers
1022fb571a - renamed a few files. 2023-01-24 16:38:52 +01:00
CandiceJoy
66625a4c6e Added GitHub CodeSpaces development environment. 2023-01-24 07:19:45 -05:00
Emanuele Disco
faaf938b18 refactor: add some logs to help understand what is happening during soundfont selection.
It helps understand what soundfont is currently used

refs: https://github.com/ZDoom/ZMusic/pull/44
2023-01-24 07:19:23 -05:00
Christoph Oelckers
54d9472766 - one more new font character. 2023-01-23 23:49:21 +01:00
Christoph Oelckers
68c2a01f83 - more new font characters. 2023-01-23 17:51:39 +01:00
Ricardo Luís Vaz Silva
b47aa37919 Add missing methods (GetIfExists/CheckValue) to Map pseudo-generics 2023-01-23 17:15:08 +01:00
Christoph Oelckers
33fd8270b1 - text update 2023-01-22 20:19:21 +01:00
Christoph Oelckers
e268a4195c - cleanup of the Chex Quest small font.
This no longer bases its diacritcal characters on Doom's font, it also fills in all characters already present in Doom's small font.
2023-01-21 21:30:19 +01:00
Hugo Locurcio
2fa88aa5a7 Implement antialiasing for automap lines
This implements a bruteforce approach for 2D line antialiasing.
It's not perfect by any means, but it seems to do its job well enough.
Since it draws 9 lines instead of 1 line per segment, it's significantly
more expensive but should still be usable on modern hardware (except
on very complex maps).

Automap line antialiasing is disabled by default and can be enabled
with the `am_lineantialiasing 1` cvar.
2023-01-21 11:40:25 -05:00
Ricardo Luís Vaz Silva
a397a93c25 Add Missing Read Barriers to Map Get Functions 2023-01-21 16:40:47 +01:00
Ricardo Luís Vaz Silva
fed2d11be5 Fix iterator invalidation for Map::Get 2023-01-21 16:40:47 +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
Christoph Oelckers
0b9fdf2d99 - convert characters to Doom patch format. 2023-01-20 23:25:25 +01:00
Ricardo Luís Vaz Silva
ed6384edc6 Add internal variable support to files outside gzdoom.pk3 2023-01-20 22:34:26 +01:00
Ricardo Luís Vaz Silva
d4e9438273 rename CheckWritable to IsWritable, and invert its output since it's always negated 2023-01-20 22:34:26 +01:00
Ricardo Luís Vaz Silva
da06212134 Add mDefFileNo to Fields 2023-01-20 22:34:26 +01:00
Ricardo Luís Vaz Silva
5ba1e96d29 Add mDefFileNo to Classes/Structs 2023-01-20 22:34:26 +01:00
Boondorl
f6128f0e9e Fixed global TerrainDef array not being exported correctly 2023-01-20 22:33:12 +01:00
Christoph Oelckers
04fc19c32d - 4 non-letter characters for Chex. 2023-01-20 21:03:21 +01:00
Christoph Oelckers
bdd2281760 - new characters for Doom's SmallFont and BigFont.
This covers all somewhat relevant languages using the Latin alphabet for these two fonts.
2023-01-20 19:43:53 +01:00
Blue Shadow
4c0b5cbb32 - alt HUD: use NewSmallFont for drawing player's coordinates if ui_generic is enabled 2023-01-18 18:18:13 +01:00