Christoph Oelckers
4bdb8edea6
- removed redundant argument.
2022-08-18 00:06:40 +02:00
Christoph Oelckers
03c725c0da
- use NSFileManager on macOS to handle the current directory.
2022-08-17 23:43:56 +02:00
Christoph Oelckers
532a493752
- get_current_dir_name apparently does not exist on macOS
2022-08-17 22:57:30 +02:00
Christoph Oelckers
7f3c09c918
- use get_current_dir_name for I_GetCWD on POSIX.
2022-08-17 22:51:39 +02:00
Rachael Alexanderson
e261132db0
- use char* get_current_dir_name() in Mac/Linux to save the cwd in the shell open function
2022-08-17 16:32:09 -04:00
Christoph Oelckers
a2369b945c
- fixed custom obituary lookup.
2022-08-17 21:35:59 +02:00
Christoph Oelckers
1940527dba
- carry over the tiling flag from the finished to the entering screen
2022-08-17 21:28:52 +02:00
Ed the Bat
88674b5ea0
Prevent Keyconf from adding duplicate playerclass
2022-08-17 21:12:10 +02:00
Christoph Oelckers
513d8cea8d
- fixed allocation size when constructing a string from a file system entry.
...
The internal allocator already added space for the terminazing \0, so the string's size was one character too large.
2022-08-17 21:10:15 +02:00
Christoph Oelckers
8d3c1adf05
- do not use POSIX directory functions in common code.
...
For Windows these need to redirect to Unicode system functions to properly handle paths not representable in 8 bit encodings.
2022-08-17 10:02:25 +02:00
Christoph Oelckers
c5f4967871
- cleanup of Windows's I_OpenShell* functions
...
* do not use deprecated library features (wstring_convert was deorecated in C++17) - instead use the existing WideString utility.
* do proper calculation of the current directory's path length.
* remove the mostly redundant I_OpenShellFile function and instead use ExtractFilePath to get the config's path.
2022-08-17 00:31:22 +02:00
Rachael Alexanderson
64824430fa
- make shell folder functions unicode aware
2022-08-16 22:10:09 -04:00
Rachael Alexanderson
ee132372d8
- patch for this note: 03d76027cf (commitcomment-81265953)
2022-08-15 21:35:36 -04:00
Rachael Alexanderson
a9cadd345d
- change the way posix folders are opened - fixes issue #1707
2022-08-14 18:38:20 -04:00
Rachael Alexanderson
03d76027cf
- fix issue #1708 - respect user preferences when specifying custom save/config/screenshot paths
2022-08-14 15:03:20 -04:00
Rachael Alexanderson
dd07f6513f
- encapsulate folder/file names in quotes on Windows too
2022-08-14 10:38:15 -04:00
Rachael Alexanderson
259a8e0f74
- fixed: encapsulate folders for shell commands in quotes for Linux/Mac
2022-08-12 23:20:30 -04:00
Christoph Oelckers
e27e3453f9
- fixed obituary string generation
2022-08-12 21:24:09 +02:00
Yarn366
6489f5ebf0
Add detection for the Final Doom WADs that were recently added to the Steam version of Doom II.
...
Also add detection for the Steam Unity versions of Doom and Doom II to posix/i_steam.cpp, which was apparently missed by whoever added it to the win32 version.
2022-08-12 11:39:41 +02:00
Christoph Oelckers
1b43575580
- new method to define obituaries without modifying actors.
...
Adding strings to the language file named OBITUARY_{classname}_{damagetype} or OBITUARY_{classname} will now be detected automatically and override all other definitions.
This not only allows damage type aware obituaries but also makes it easier to retroactively add them to mods that have none defined.
2022-08-11 23:46:09 +02:00
Christoph Oelckers
c89ae6358e
- Backend update from Raze, mostly maintenance changes without new functionality.
2022-08-11 22:51:19 +02:00
Christoph Oelckers
283c5d688c
Merge branch 'master' of https://github.com/coelckers/gzdoom
2022-08-11 22:39:53 +02:00
Rachael Alexanderson
8e50c59301
- remove latch flag from sv_cheats
2022-08-11 15:43:22 -04:00
nashmuhandes
50d16c75d9
Add corona actor
2022-08-11 20:38:24 +08:00
Rachael Alexanderson
04a6fa321b
- use FString instead of std::string in the Windows shell functions
2022-08-10 18:13:49 -04:00
Rachael Alexanderson
f2df781b76
- add menu entries
2022-08-10 13:10:13 -04:00
Rachael Alexanderson
82d0376520
- add openscreenshots
opensaves
and openconfig
console commands on Windows and Linux and Mac
2022-08-10 13:00:33 -04:00
Christoph Oelckers
4710a40fb5
- reapply PR 1512 which was accidentally deleted
2022-08-09 10:48:00 +02:00
Christoph Oelckers
362b41be1a
- use consistent index types for array function return values.
2022-08-05 21:16:20 +02:00
Christoph Oelckers
735c2a9545
- pass clip rect as pointer to F2DDrawer::AddLine.
2022-08-05 21:13:47 +02:00
Marisa the Magician
931211b9db
Export FindLumpFullName to ZScript.
2022-08-05 20:25:02 +02:00
Marisa Heit
4c6d0e4209
Better error message for unknown nested types
2022-08-04 07:42:46 +02:00
Marisa Heit
66460bfeb8
Add support for nested user types
...
The grammar already understood these constructs. Now the compiler does too.
2022-08-04 07:42:46 +02:00
Christoph Oelckers
ef0e9c025e
- fixed comparison checks.
2022-08-03 10:58:37 +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
Christoph Oelckers
388a5cb481
- ZScript: fixed integer type promotion for shift operator
...
* the first operand must never be sign-changed.
* the second operand should always be made unsigned. Shift by negative values is undefined and may produce undefined behavior on some systems.
2022-08-03 09:03:03 +02:00
Christoph Oelckers
8eabaf61c9
- version-restrict int to uint promotion.
...
Some mods depend on this not happening.
2022-08-03 08:45:37 +02:00
Christoph Oelckers
5cee2b5803
- fixed: The compile context for constant evaluation did not initialize its Version member.
2022-08-03 08:44:38 +02:00
Marisa Heit
f7f9746a0f
Don't throw away unsignedness when passing unsigned constants to the codegen
2022-08-02 07:48:21 +02:00
Marisa Heit
7ce29fe855
Add signed->unsigned promotion for binary operators
...
The C-style rules for integer promotion are that when you have a signed int and an unsigned int, if you can't promote to a wider type, then the signed type is promoted to an unsigned type.
2022-08-02 07:48:21 +02:00
Christoph Oelckers
15c5728f01
- fixes and improvements for survey code.
...
Check for Windows on ARM and do proper checks for GLES.
32 bit checks are still retained to catch non-official builds that disable the compile check.
2022-07-31 17:49:21 +02:00
Alexander Kromm
46d9564507
localize "Unknown" option menu string
2022-07-30 17:54:19 +02:00
Christoph Oelckers
4422f9079c
- fix menu commands with semicolon separated commands
...
C_DoCommand only executes one command, to do full processing AddCommandString is needed.
2022-07-29 08:38:34 +02:00
Christoph Oelckers
ee2c775bd8
- fix last commit
2022-07-29 08:36:26 +02:00
Christoph Oelckers
5bae588f80
- get rid of M_Malloc call in WriteSavePic
...
Use TArray instead
2022-07-29 08:25:55 +02:00
Marisa Heit
b9501a7291
Fix definition order of ZScript structs
...
Do a first pass over the Structs array in CompileAllFields() to reorder them such that if a struct uses other structs, those structs will be resolved first.
2022-07-29 08:17:33 +02:00
Magnus Norddahl
742ae8c907
Fix viewpoint buffer not getting cleared when in the menus
2022-07-28 13:52:09 +02:00
Christoph Oelckers
aae85a1b91
- backported KDE detection from Raze.
2022-07-28 10:52:26 +02:00
Christoph Oelckers
5a63044141
- Project fix for Softpoly removal.
2022-07-28 10:51:55 +02:00
Christoph Oelckers
93e934c8d0
- removed the Softpoly backend.
...
Its only relevant use case has been to use the software renderer on hardware not capable of OpenGL 3.3, but a large chunk of that can now be serviced with GLES.
In addition it has ceased further development and has not received any of the recent 2D render features which further reduces its viability.
2022-07-28 10:31:56 +02:00