Anders Jenbo
2480fbac21
Use correct lenth when forcing lowercase of asset path
4 years ago
Anders Jenbo
ae90193136
Game discovery over ZeroTier
4 years ago
obligaron
8dd5fcfc8f
Search app assets folder in SFileOpenFile
4 years ago
staphen
393d6d7fbe
Free dvlnet resources when game is shutting down
5 years ago
staphen
60492ef954
Add proper graphics for gamepad
5 years ago
Vladimir Olteanu
bcd7f89319
Have SDLWrap::AllocPalette allocate space for 256 colors by default
5 years ago
Vladimir Olteanu
e14504ae56
SVidPlayContinue: use SDLWrap::ConvertSurface*
5 years ago
Vladimir Olteanu
d226885672
Introduce SDLWrap::AllocPalette
5 years ago
Vladimir Olteanu
cc9ea97e0f
Introduce SDLWrap::CreateTexture
5 years ago
Vladimir Olteanu
e9063c578f
Introduce SDLWrap::CreateRGBSurfaceWithFormatFrom
5 years ago
Anders Jenbo
a207644d88
Rename HaveAudio to HasAudio
5 years ago
Vladimir Olteanu
f1490b7826
Fix mem leak in storm.cpp
5 years ago
Vladimir Olteanu
fae1e4eee5
Replace CCritSect with SdlMutex
5 years ago
Anders Jenbo
0889780923
Remove more usage of miniwin types
5 years ago
Jonathan Bergeron
33ad9fa187
renamed Source/mainmenu.cpp and .h to menu.cpp/.h
5 years ago
Anders Jenbo
a19e7b2a3b
Remove some more use of miniwin
5 years ago
Anders Jenbo
2ca6e37c46
Clean up sub folders using clang-tidy/Android Studio
5 years ago
ephphatha
3520dc4201
Update numeric literals to use appropriate suffix
...
Mainly things like .F for floats instead of doubles in float context.
5 years ago
Anders Jenbo
a7c7fa0030
Fully apply clang-tidy/format to all files
5 years ago
Anders Jenbo
0f2ad469ea
♻️ Clean up variable initialization
5 years ago
Anders Jenbo
8e07ef8fe5
Clang-tidy: misc-unused-parameters
5 years ago
Gleb Mazovetskiy
cdbb56150c
Enable video streaming for Haiku ( #1825 )
5 years ago
Anders Jenbo
f167bd4dfb
Clang-tidy: llvm-include-order
5 years ago
Anders Jenbo
ec8d7bebe2
Clang-tidy: modernize-use-auto
5 years ago
Anders Jenbo
7102724fda
Clang-tidy: readability-named-parameter
5 years ago
Anders Jenbo
d8fa29c972
Clean up more implicit bool conversion
5 years ago
Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
5 years ago
staphen
1ca50e65eb
Fix and reenable SNetReceiveTurns on 3DS
5 years ago
staphen
b6398b75d0
Replace std::mutex with SdlMutex
5 years ago
Anders Jenbo
e2ead2cc5e
Port engine to Android
...
Set the font path for Android
Do not check for FileExists on CharisSILB.ttf for Android, FileExists
will always fail as it doesn't detect files located in the APK
port
5 years ago
obligaron
27a1a3bbfb
Use SimpleIni build-in bool/long/double methods
5 years ago
obligaron
7d5fe022ee
Switch ini library from Radon to simpleini
5 years ago
Gleb Mazovetskiy
c79ec673f4
♻️ Implement std's Lockable for SDL mutex wrapper
...
Rather than rolling our own lock guard, implement the requirements for
using `std::lock_guard` et al and use that.
5 years ago
Anders Jenbo
34744c068f
♻️ Consitantly use %i and not %d
5 years ago
Anders Jenbo
a095bc0bf7
♻️ Migrate more code away from miniwin
5 years ago
Gleb Mazovetskiy
a3423cbc92
🧹 Move Storm code out of file_util
5 years ago
obligaron
58becefada
Define UNICODE/_UNICODE for StormLib and use SFileOpenArchive with wchar_t (TCHAR) on Windows
5 years ago
staphen
3e5e5b2696
Synchronize SFileCloseFile() access
5 years ago
Anders Jenbo
4a7ba94702
🎨 Run clang-format
5 years ago
Anders Jenbo
c11945e62b
🎨 Fix line endings
5 years ago
Gleb Mazovetskiy
987ab2533b
🐞 Synchronize SFileReadFile access
...
StormLib read function is not thread-safe: https://github.com/ladislav-zezula/StormLib/issues/175
5 years ago
Gleb Mazovetskiy
f33f7ae7eb
💨 Do not zero-initalize arrays we write to
...
`std::make_unique<T[]>(size)` always zero-initalizes the array.
C++20 has `std::make_unique_for_overwrite` to avoid that, while
older C++ versions can use the approach applied here.
5 years ago
Gleb Mazovetskiy
5820948761
♻️ Make `SFileRw` own the Storm file handle
...
All of our use-cases for `SDL_RWops` Storm file require closing the file
when closing the `SDL_RWops` -- doing this automatically simplifies the
code.
5 years ago
Gleb Mazovetskiy
3d03990cb8
♻️ Replace `SBmpLoadImage` with a simpler method
...
The new approach only makes 2 read calls and does not do any seeks.
It is also less general and is internal to `art.cpp`, allowing us to
simplify it somewhat.
5 years ago
Gleb Mazovetskiy
7bdfb0655c
🐞 Support multiple playback of the same sound
5 years ago
Gleb Mazovetskiy
c770ae676f
🎉 Stream videos on Linux and FreeBSD
...
Previously, we always loaded entire videos in memory before playing them.
`libsmacker` does not provide a streaming API but it does provide a
`FILE *` file pointer API.
We now take advantage of the `FILE *` API by streaming the videos on
platforms that support `fopencookie`.
This means faster startup and less memory usage on these platforms.
5 years ago
Vladimir Olteanu
f5d1dc756a
Make SVidBuffer unique_ptr
5 years ago
Vladimir Olteanu
06f2670406
Get rid of mem management macros from storm_sdl_rw.cpp
5 years ago
Anders Jenbo
f884ba5340
🔥 Remove more miniwin dependencies
5 years ago
Anders Jenbo
3b04f67194
🔥 Remove a chunk of miniwin types
5 years ago