Commit graph

20944 commits

Author SHA1 Message Date
Ricardo Luís Vaz Silva
99850ea216 fix the ammocount parameter in Weapon.CheckAmmo 2023-07-09 10:47:39 +02:00
Jacob Alexander Tice
bcfa43b7d6 Replace .local/share/Steam with .steam/steam
.local/share/Steam doesn't exist on all distros, but .steam/steam does.
2023-07-05 21:40:32 -04:00
Ricardo Luís Vaz Silva
7235058f09 scan secondary library folders on windows 2023-07-05 21:28:42 -04:00
Ricardo Luís Vaz Silva
7e8bb6ea30 fix steamapps folder case 2023-07-05 21:28:42 -04:00
Rachael Alexanderson
e23bb092b4
Update README.md
- use alternate vanity service for discord link
2023-07-05 09:20:16 -04:00
Professor Hastig
602c7c4e24 fix UMAPINFO boss action clearing.
This did not handle the case where the actions were cleared without adding new ones and also did not clear the MBF21 boss action flags.
2023-07-05 09:17:37 -04:00
Ricardo Luís Vaz Silva
71d4eb66f2 Clear Services Map during VM Shutdown 2023-06-28 20:19:43 +02:00
Ricardo Luís Vaz Silva
a8b8de94d6 misc cleanup/fixes 2023-06-26 23:28:26 +02:00
Ricardo Luís Vaz Silva
abcc0421e4 Fix size miscalculation for surfaceSkinIDs 2023-06-26 23:28:26 +02:00
Ricardo Luís Vaz Silva
c6978c23ab Disable FName as a native parameter 2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
0e438f10f3 fix CMDL_HideModel 2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
49eae74272 assert that FName is a POD and as such is passed directly on registers, so that if it changes to be a non-pod, it won't silently break parameters 2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
61d68eb2d6 Rewrite changed model rendering code, and change how model skins are handled 2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
b55ffdbfd3 major A_ChangeModel cleanup 2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
5b85557ddb add TArray::AppendFill for appending a single value multiple times 2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
30e7b30c45 Simplify DirectNativeDesc, allow FName as a native parameter 2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
7dda6570ec remove memory leak in A_ChangeModel 2023-06-26 00:36:36 -04:00
Rachael Alexanderson
bc41356b35 - minor formatting fix 2023-06-19 04:38:35 -04:00
l2ksolkov
01dfcc7d95 Fix compilation on FreeBSD
Fixes #2073
Changes get_current_dir_name to functionally equivalent getcwd. Also moves "printf.h" to outside linux ifdef.
2023-06-19 04:31:18 -04:00
Christoph Oelckers
c675d60bac - finish the implementation for nosectionmerge. 2023-06-18 09:44:34 +02:00
Christoph Oelckers
4538236a38 - cleaned i_music.h off external dependencies.
* take I_BuildMIDIMenuList out of it
* pass the command line state to disable music from the init call.
* don't declare internal 'nomusic' variable in the header.
2023-06-17 09:49:15 +02:00
Christoph Oelckers
99c76a3ff5 - BCOMPATF_NOSECTIONMERGE is not safe for the self referencing sector hacks in the Final doom IWADs. 2023-06-16 21:53:42 +02:00
Christoph Oelckers
89d8c7b4fe - minor cleanup of i_soundinternal.h. 2023-06-16 20:51:26 +02:00
Christoph Oelckers
62b9243142 - made some changes to vectors.h so that it can be used without the floating point function replacements.
Using __has_include and providing fallback implementations.
2023-06-16 20:51:25 +02:00
Christoph Oelckers
40679294df - fixed some warnings. 2023-06-16 20:50:48 +02:00
alexey.lysiuk
3ddf72104b - added detection of macOS 14 2023-06-11 12:14:58 +03:00
alexey.lysiuk
170cc8d7ba - reduced string duplication in macOS detection 2023-06-11 12:14:35 +03:00
l2ksolkov
245dac814e Add missing include guards 2023-05-29 07:35:26 +02:00
Christoph Oelckers
acfe82b9a8 - Backend update from Raze. 2023-05-27 09:31:17 +02:00
Ricardo Luís Vaz Silva
677b084064 Fill in ECompatFlags 2023-05-14 08:14:47 +02:00
Ricardo Luís Vaz Silva
1589afb46e Add Voodoo Zombie Compatflag 2023-05-14 08:14:47 +02:00
Chris Cowan
ca0db39027 Fix BUILD_SHARED_LIBS build option on Windows
This commit fixes the build error "unresolved external symbol GetModuleInformation" when the project is built on Windows with BUILD_SHARED_LIBS enabled.

Gzdoom must be linked against "psapi". When BUILD_SHARED_LIBS is off (default), it gets linked because the discord-rpc library is linked against it and then statically linked into the project. The issue is fixed by making Gzdoom itself explicitly link against "psapi" too.
2023-05-14 07:21:27 +02:00
Chris Cowan
6f964e8d35 add changeskill command 2023-05-14 07:20:09 +02:00
Ricardo Luís Vaz Silva
9ca30826db Fix win32 mouse cursor permanently disappearing 2023-05-14 07:15:41 +02:00
Rachael Alexanderson
39cea95dba - fix language grammar in language.def 2023-04-30 10:54:51 -04:00
Rachael Alexanderson
a5f0174e07 - addendum to previous commit: forgot one line 2023-04-30 10:50:14 -04:00
Rachael Alexanderson
e5fcb331df - remove vid_gpuswitch and all its handling; it is only as of now useful in old unsupported versions of Windows 7/8/10 which are no longer supported 2023-04-30 10:38:46 -04:00
Christoph Oelckers
993d44c33b - deduplication of text content.
This mainly maps the item tags to other available text with the same content.
2023-04-30 08:43:35 +02:00
Ricardo Luís Vaz Silva
86bc9cafd4 Fix value of X = Y when Y is an int constant 2023-04-12 22:57:06 +02:00
Blue Shadow
40cb7f14d0 - added MaxEffectTics field to Powerup 2023-04-12 16:25:15 +02:00
Christoph Oelckers
e3f8230035 - fixed handling for Turkish i's.
* islowermap and isuppermap were not set for the new characters.
* special handling for the lowercase dotted i in allcaps fonts returned the wrong character.
2023-04-05 19:01:19 +02:00
Christoph Oelckers
78ef506f5f - corrected 3 character y-offsets 2023-04-05 18:59:04 +02:00
Christoph Oelckers
61d9156184 - text update 2023-04-05 18:58:38 +02:00
Mitchell Richters
f1f6e3a607 - Move invertmouse CVARs into common code.
* Removes duplication of CVAR definitions between Raze and GZDoom.
2023-04-04 17:11:28 +02:00
Mitchell Richters
034202e6f6 - Properly fix default mouse x sensitivity. 2023-04-04 17:08:02 +02:00
Christoph Oelckers
25c984ff6e - fixed crash when checking the extended character list for the current language.
For English this will be null because it got no extended characters.
2023-04-03 17:03:44 +02:00
Christoph Oelckers
15465f0785 - backported RapidJSON fix from Raze. 2023-04-01 12:45:55 +02:00
Christoph Oelckers
7e1982fa65 - adapted font system to properly handle Turkish.
Those i's are really messy, especially when dealing with allcaps or pure lowercase fonts.
2023-03-31 17:40:19 +02:00
Jan Engelhardt
a6b9dd0c30 build: resolve missing includes under gcc-13
$ make
...
~/gzdoom/libraries/ZVulkan/src/vulkanbuilders.cpp: In member function ‘std::unique_ptr<VulkanShader> ShaderBuilder::Create(const char*, VulkanDevice*)’:
~/gzdoom/libraries/ZVulkan/src/vulkanbuilders.cpp:168:28: error: ‘runtime_error’ is not a member of ‘std’
~/gzdoom/libraries/ZVulkan/include/zvulkan/vk_mem_alloc/vk_mem_alloc.h: In function ‘void VmaUint32ToStr(char*, size_t, uint32_t)’:
~/gzdoom/libraries/ZVulkan/include/zvulkan/vk_mem_alloc/vk_mem_alloc.h:2410:9: error: ‘snprint ’ was not declared in this scope
2023-03-31 08:01:55 -04:00
Christoph Oelckers
9fbac8f1d4 - moved all service code to 'common'.
This needs to work on Raze as well!
2023-03-26 10:55:09 +02:00