Open
Conversation
…ordinates in Ice Cold Killa Fixes CookiePLMonster#249
Stupid typo.
We now don't create DirectDraw on startup and instead fake the VRAM readings. Should be safer and may even speed up the startup times, as creating DDraw may not be instant.
…RAM (like in the 1.01 patch). Fixes CookiePLMonster#184, a SP regression triggering this bug in more circumstances was fixed in the previous commit.
Happens with a stock PC timecyc.dat, the game can now handle it gracefully. Fixes CookiePLMonster#261
This fixes missing header issues on a case-sensitive filesystem with MinGW GCC
This avoids compile warnings on MinGW GCC (because standard C++ headers eventually import the Windows stuff)
MSVC (wrongly) allows those casts to succeed with static_cast: https://stackoverflow.com/questions/74002657/why-cant-i-static-cast-a-void-to-a-pointer-to-function (so adjust those casts for better compiler compatibility including MinGW GCC)
And switch to a common define for this attribute (this fixes compile warnings on MinGW GCC)
…ions This fixes compile warnings with MinGW GCC
ff976aa to
2ba651c
Compare
MinGW GCC's linker can't find them otherwise
The .def file is either going to have issues on MSVC or MinGW GCC (so replace it with a pragma on MSVC)
This works around the MinGW GCC type strictness
Redefining them can cause strange compile errors with MinGW GCC
MinGW GCC doesn't seem to unwind the layers of the macro define properly (which causes it to not find the declaration type)
MinGW GCC can't locate it in some files otherwise
MinGW GCC doesn't have this MSVC-specific function
This makes sure the fixed-width integer types are included in SVF.h
It's required for the modf() function (and it isn't implicitly included on MinGW GCC)
MinGW GCC doesn't implicitly include it either
MinGW GCC doesn't like this JavaScript-style coding pattern
I doubt MSVC compiled this chunk of code without errors
These almost work on llvm-mingw too (but there's some stubborn call instructions)
This also includes a small wrapper to call a C++ function from GCC-style inline ASM These statements almost work on llvm-mingw too (but there's some stubborn call instructions)
2ba651c to
248ffd7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.