-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Linux Port for 1.01+ #188
Commits on Jan 17, 2023
-
OpenGL/screenCapture: fix random crashes on init
On startup, screenCapture will cause random crashed because of uninitialized m_capures member. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 45af380 - Browse repository at this point
Copy the full SHA 45af380View commit details -
When freeing items with allocator_free, at some point all members of the Allocator become ALLOC_INVALID_PTR, then allcator_getHead crashes due to trying to derefence an invalid Allocator::head pointer. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1b994f6 - Browse repository at this point
Copy the full SHA 1b994f6View commit details -
Explicity initialize Archive type at class creation time
The GobMemoryArchive does not define an ARCHIVE_GOB type anywhere. To fix this, add a new constructor to the base class to set the archive type at instantiation time. This fixes a crash on Linux with Mods (quitting while running a mod, or loading a savegame away from a mod, where the memory gob freeing causes a crash). Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5da7525 - Browse repository at this point
Copy the full SHA 5da7525View commit details -
MIDI: fix length of the PROGRAM_CHANGE message
TFE sends 3 bytes for every MIDI message; however there are some, among them PROGRAM CHANGE (to define instrument to use), which only have 1 argument byte instead of 2. The Linux ALSA midi parser gets confused by the 3rd byte. So adhere to MIDI and only send 2 byte messages for PROGRAM CHANGE. (there are other midi messages with only 2 bytes, but TFE doesn't use them). This fixes the piano-only output on Linux. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 26329d0 - Browse repository at this point
Copy the full SHA 26329d0View commit details -
Fix ImGui usage bug in Input Settings page
There are 2 BeginChild() that are close with End(), fix that. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a49e8bd - Browse repository at this point
Copy the full SHA a49e8bdView commit details -
imuse: fix int to pointer cast warning
gcc and clang complain about the 2nd parameter to ImSetSoundTrigger(); Fix with a reinterpret_cast<> Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 78be16d - Browse repository at this point
Copy the full SHA 78be16dView commit details -
clang-15 stops build with this error: TheForceEngine/TFE_Jedi/IMuse/imDigitalSound.cpp:61:13: error: copying variable of type 'atomic_s32' (aka 'atomic<int>') invokes deleted constructor atomic_s32 s_digitalPause = 0; Remove the explicit initialization. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 37990ba - Browse repository at this point
Copy the full SHA 37990baView commit details -
replace windows-only functions with portable ones
- _strlwr()/_strupr() are Windows CRT only, roll our own and use them throughout the codebase. - replace the windows-oly *_s() string functions with portable equivalents
Configuration menu - View commit details
-
Copy full SHA for 9c8fefd - Browse repository at this point
Copy the full SHA 9c8fefdView commit details -
Archives: fix size of members on 64bit linux/unix
Windows and Linux/Posix have different opinions on the length of "(unsigned) long" and other C types on 64bit: Windows compilers keep 32bit and 64bit identical, while they differ on POSIX. Work around this by using the explicitly sized types, and letting the compiler sort it out.
Configuration menu - View commit details
-
Copy full SHA for f532c08 - Browse repository at this point
Copy the full SHA f532c08View commit details -
rework some macro usage to make gcc/clang happy.
gcc-13 is picky about preprocessor macros and missing arguments in place of VA_ARGS. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bc59696 - Browse repository at this point
Copy the full SHA bc59696View commit details -
include missing C++ header files
unlike previous versions, gcc-13 does no longer implicitly include a lot of c++ header files. Add them to the files that need them. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 65d3522 - Browse repository at this point
Copy the full SHA 65d3522View commit details -
fix multiple definitions in TFE_DarkForces/GameUI/pda.cpp
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5343e33 - Browse repository at this point
Copy the full SHA 5343e33View commit details -
RenderBackend: call SDL_SetWindowFullscreen
Fixes fullscreen on Linux Window managers.
Configuration menu - View commit details
-
Copy full SHA for 0e2ab6e - Browse repository at this point
Copy the full SHA 0e2ab6eView commit details -
fix template specialization errors in filestream/memorystream
GCC complains about an invalid explicit specialization outside a namespace scope: filestream.h:67:19: error: explicit specialization in non-namespace scope 'class FileStream' Work around by explicitly implementing the template. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 92b49b8 - Browse repository at this point
Copy the full SHA 92b49b8View commit details -
Add posix mutexes to audio devices support
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7ee7926 - Browse repository at this point
Copy the full SHA 7ee7926View commit details -
Implement missing pieces for Linux support: - CMake buildsystem - posix/linux specific file- and pathhandling bits. this implementation also takes case-sensitivity of unix filesystems into account. - add infrastructure to look up system files (shaders, doc, fonts, ...) independently from the main binary (for distro packaging). - fix up the linux thread implementation. - fix up 32bit target build. - crash handler skeleton. - can look for game data files in local Steam installation on multiple libraries. (GOG linux games do not leave trails about their installation paths in any central location, so gog detection is missing). based partly on previous work by Matthew Gilmore.
Configuration menu - View commit details
-
Copy full SHA for 84f7879 - Browse repository at this point
Copy the full SHA 84f7879View commit details