100 Commits
Author SHA1 Message Date
superp00t f1d1dad08b chore(build): upgrade dependencies 2024-12-09 13:14:00 -05:00
superp00t b6ee76054f refactor(gx): name all function parameters in header 2024-11-28 05:00:33 -05:00
superp00t 6bb67d8a44 chore(build): upgrade dependencies 2024-11-22 04:54:41 -05:00
superp00t 1721e09741 fix(gx): reflect OG behavior better in Screen 2024-09-10 20:30:24 -04:00
superp00t c90a7e2ad8 style(build): space after control flow 2024-09-10 20:29:20 -04:00
superp00t 7240aa5dd2 fix(gx): removed DirectXMath-less matrix multiplication shim 2024-09-10 20:21:03 -04:00
superp00t 90a75ca55c chore(build): link standard libraries statically in MinGW 2024-09-08 19:53:50 -04:00
superp00t 71a13b65df fix(build): disable non-library Lua source files that break MinGW finding WinMain 2024-09-08 12:10:21 -04:00
superp00t 0770f6f347 chore(build): upgrade dependencies 2024-09-08 11:13:11 -04:00
superp00t de4ea78e8f fix(build): correctly configure GLSDL on windows 2024-09-07 22:34:12 -04:00
superp00t 0fb3dea2ee fix(app): resource compilation on MinGW 2024-09-07 20:44:57 -04:00
superp00t c9829ca5e1 feat(app): specific WHOA_APP_DEBUG macro passed to resource file 2024-09-07 19:44:07 -04:00
superp00t 0080934ed9 fix(app): use forward slash for resource files 2024-09-07 14:39:13 -04:00
superp00t 1325fc9b1f feat(gx): include directxmath when not on MSVC 2024-09-07 14:23:28 -04:00
superp00t 3e77eb935a feat(gx): add directxmath for MinGW 2024-09-07 13:54:54 -04:00
superp00t 0d09dee4b3 refactor(sound): use changed STORM_LOG defines 2024-09-07 13:05:38 -04:00
superp00t eeee2fffe3 chore(build): upgrade dependencies 2024-09-07 13:02:24 -04:00
superp00t 44617f6ed7 fix(test): resort link order to prevent error 2024-09-07 01:01:10 -04:00
superp00t db75585bb4 style(build): pretty 2024-09-07 00:00:15 -04:00
superp00t b0566ad8d7 feat(client): OsGui functions for linux 2024-09-06 23:39:33 -04:00
superp00t eef37c109d fix(gx): if WHOA_BUILD_GLSDL, link SDL2 to event module 2024-09-06 14:17:24 -04:00
superp00t ddcdff5e51 fix(gx): use std::abs instead of std::fabsf 2024-09-06 14:00:38 -04:00
superp00t fc79e77e56 chore(build): upgrade dependencies 2024-09-06 13:48:24 -04:00
superp00t 0ec76b4305 chore(build): add cursor module to source 2024-09-06 12:33:11 -04:00
superp00t 9fc5476ef7 feat(gx): add broken cursor drawing implementation 2024-09-06 12:32:50 -04:00
superp00t 520b6254b3 feat(gx): add more readable error for initializing an unknown device 2024-09-06 12:32:26 -04:00
superp00t c6e1751bbe feat(texture): implemented TextureLoadImage API, also support loading and mipping TGA files 2024-09-06 12:31:08 -04:00
superp00t 3425aefc73 fix(sound): use WHOA_BUILD_SOUND 2024-09-06 12:29:58 -04:00
superp00t e954521204 feat(util): implement SFile::{FileExistsEx, FileExists, SetFilePointer} 2024-09-06 12:28:57 -04:00
superp00t 4c6f78eda4 feat(ui): CSimpleTop::SetCursor 2024-09-06 12:27:55 -04:00
superp00t 671fd73fd3 feat(glue): set up cursor image from CGlueMgr 2024-09-06 12:26:04 -04:00
superp00t dd7dee7232 feat(event): implement OsInputGetMousePosition; add common behavior for SDL interaction regardless of your OS 2024-09-06 12:24:35 -04:00
superp00t 29bc21a242 feat(cursor): add cursor module that stores and updates various cursor images 2024-09-06 12:22:01 -04:00
superp00t 7a2376741d fix(console): use WHOA_BUILD_GLSDL macro to detect whether GLSDL device is supported in g_gxApiSupported 2024-09-06 12:20:55 -04:00
superp00t 1931efdfb5 refactor(style): indent ugly data block 2024-09-06 12:19:31 -04:00
superp00t f28817df6a feat(app): provide icons and resource info for Windows builds 2024-09-06 12:18:29 -04:00
superp00t 1340e60a8a chore(build): upgrade dependencies 2024-09-06 12:17:50 -04:00
superp00t 65fd067db5 fix(build): pass WHOA_BUILD_GLSDL option as C define in zig build script 2024-07-22 17:26:08 -04:00
superp00t 422a36cd93 fix(gx): log what api is being used when initializing device 2024-07-22 16:16:41 -04:00
superp00t 6fa58683ad fix(glsdl): use SDL2 'centered' values for new window 2024-07-22 16:15:35 -04:00
superp00t d6611f7aab chore(build): update dependencies 2024-07-22 03:51:50 -04:00
superp00t b93c615368 fix(build): correctly disable sanitizers in zig build script when WHOA_UB_SAN is false or release mode is not debug 2024-07-22 02:05:52 -04:00
superp00t 1b4f1dba86 fix(gx): simplified gx device creation according to api enum 2024-07-22 01:21:08 -04:00
superp00t 45f23fb3ba fix(build): add WHOA_UB_SAN and WHOA_BUILD_GLSDL options to zig build script 2024-07-22 01:07:27 -04:00
superp00t 5229b9b972 fix(gx): only use GLSDL if compiled with CMake variable WHOA_BUILD_GLSDL 2024-07-22 00:43:39 -04:00
superp00t 35cc734cdc style(build): fix formatting 2024-07-21 23:49:11 -04:00
superp00t a5245092f8 fix(github): okay, try runner.os == 'Linux' 2024-07-21 20:50:58 -04:00
superp00t e9d14feb50 fix(github): hmmm 2024-07-21 20:48:49 -04:00
superp00t 8c3ecfdf8d fix(github): try using runner.os? matrix.os == 'windows-latest' is just a skip 2024-07-21 20:45:55 -04:00
superp00t 06ccd053a5 fix(github): try using runner.os? matrix.os == 'windows-latest' is just a skip 2024-07-21 20:43:59 -04:00
superp00t bbd3f28adf fix(github): install Ubuntu dependencies before running test app 2024-07-21 20:37:44 -04:00
superp00t 03cf683cdd fix(build): UBsan is enabled and disabled with the WHOA_UB_SAN option now 2024-07-21 20:09:16 -04:00
superp00t 58d72f10ce fix(build): CMake is not C 2024-07-21 20:06:00 -04:00
superp00t d067eb1ae2 feat(build): UBsan can be enabled or disabled with WHOA_UB_SAN. GLSDL can be toggled with WHOA_BUILD_GLSDL 2024-07-21 20:04:32 -04:00
superp00t c2a86dd72c fix(build): WHOA_ALLOW_UNDEFINED_BEHAVIOR is now required to disable UBsan in Debug build mode 2024-07-21 19:38:51 -04:00
superp00t b3be0e0a7c fix(ui): link sound, not FMOD 2024-07-21 19:25:57 -04:00
superp00t 491c201bad fix(build): DEFINED 2024-07-21 19:11:25 -04:00
superp00t f061cd0cc0 chore(build): WHOA_BUILD_FMOD variable now determines whether FMOD is used 2024-07-21 18:45:24 -04:00
superp00t 2a46ce4d6d feat(build): to compile with FMOD support, WHOA_BUILD_FMOD must be passed into CMake 2024-07-21 18:39:52 -04:00
superp00t 5f3eadea1e fix(font): specify 'std' namespace when accessing floor() to avoid double function 2024-07-21 18:30:33 -04:00
superp00t 3f8055ea56 fix(build): or should be OR 2024-07-21 17:16:37 -04:00
superp00t d9b4b75236 feat(build): enable UBsan by default when using GCC and Clang 2024-07-21 17:12:14 -04:00
superp00t b5902f5230 chore(build): revert to sdl2 2024-07-21 17:06:25 -04:00
superp00t 20f392cd74 chore(build): make Thunderbrew zig-buildable 2024-07-21 16:41:14 -04:00
Joshua Achorn c6e2947506 fix(gx): size_t is declared in <cstddef>, not <cstdint> 2024-03-29 22:53:29 -04:00
Joshua Achorn 64f20e6fee fix(gx): removed some bad class declaration 2024-03-29 22:47:30 -04:00
superp00t f81a6fb92b fix(gx): dispatch SDL window events in SceneClear() 2024-03-05 16:39:45 -05:00
superp00t 2fb754a83a refactor(thunderbrew): use static size members instead of null-termination to delimit FrameScript_Method arrays 2024-03-05 16:24:33 -05:00
superp00t 8596860120 fix(glsdl): move SDL event dispatching to different function 2024-03-05 01:52:10 -05:00
superp00t 962bcc6a1e chore(doc): improve README.md to be more relevant to Thunderbrew 2024-02-24 13:37:49 -05:00
superp00t 8cbb7f9613 chore(build): update dependencies 2024-02-19 17:04:50 -05:00
superp00t 5240db6e0f chore(util): fix indentation in scoped switch cases 2024-02-19 01:34:23 -05:00
superp00t 6a06eb16e7 fix(util): SFile::Open() should set to nullptr even in the case of a failure 2024-02-17 21:58:52 -05:00
superp00t 1be8d5539c fix(util): fix SFile typos 2024-02-17 21:54:35 -05:00
superp00t f135e8746b fix(util): add missing STORM_ASSERT include 2024-02-17 21:38:58 -05:00
superp00t ac395c287d fix(util): convert void pointer to StreamRecord pointer when trying to read 2024-02-17 21:38:34 -05:00
superp00t 70642dec21 fix(gx): SFile can read from an MPQ-archived file or a plain file 2024-02-17 21:31:52 -05:00
superp00t e20f185f75 fix(gx): file pointer should be initialized to nullptr because its value is used as a condition 2024-02-17 21:29:01 -05:00
superp00t 18d7f60df0 fix(client): SetPaths() before OpenArchives(), for obvious reasons 2024-02-12 17:35:02 -05:00
superp00t 5dc5040e24 chore(build): update dependencies 2024-02-12 17:17:29 -05:00
superp00t c2a22d8672 fix(model): add missing <cstdio> include for sprintf 2024-02-11 17:29:52 -05:00
superp00t c5e0034604 Merge branch 'whoahq-master' 2024-02-05 18:39:46 -05:00
superp00t 00d69919dd chore(build): merge changes to vendor/CMakeLists.txt 2024-02-05 18:39:41 -05:00
superp00t d731564ef1 fix(console): use correct logic for handling slow WTF file loading 2023-12-19 04:23:33 -05:00
superp00t 0193f00bbc fix(console): use correct WTF\ alternate path when opening cvar 2023-12-19 04:18:17 -05:00
superp00t 25063fa34a fix(console): createDisposition is not a bitfield but an enum 2023-12-19 04:17:05 -05:00
superp00t 0f04abb9de fix(gx): remove stub NewGLSDL when compiling for macOS 2023-12-16 21:03:53 -05:00
superp00t d6de5b56ec fix(console): use InternalSet() when setting the launch value of CVar gxApi 2023-12-16 20:28:23 -05:00
superp00t 742e53f148 feat(event): make OsInputGet dispatch queued events on Linux 2023-12-13 20:28:12 -05:00
superp00t 4ecdf64491 fix(console): set gxApi after being hinted 2023-12-10 22:40:10 -05:00
superp00t 7859f381ce fix(console): gxApi string comparison should be case-insensitive 2023-12-10 22:35:51 -05:00
superp00t 30679155be chore(build): update dependencies 2023-12-10 22:18:01 -05:00
superp00t 073c7d7dc0 fix(gx): CGxDeviceGLSDL should set its gxApi value to GxApi_GLSDL 2023-12-10 19:19:03 -05:00
superp00t 6bf87c4f2d feat(gx): detach CGxDeviceGLSDL from GxApi_OpenGl handling 2023-12-10 19:04:57 -05:00
superp00t c6cf2814df fix(gx): supportedApi, not supported 2023-12-10 19:02:00 -05:00
superp00t 8fe559c2d8 feat(console): allow graphics device to be initialized using hints from CVar as well as a command-line override 2023-12-10 18:56:40 -05:00
superp00t f03ea10648 fix(gx): create CGxDeviceGLSDL using GxApi_GLSDL 2023-12-10 18:55:04 -05:00
superp00t bd9e145557 feat(gx): add EGxApi value GxApi_GLSDL 2023-12-10 18:53:52 -05:00
superp00t 051d104ff7 feat(event): run event scheduler on Linux 2023-12-04 19:22:13 -05:00
superp00t 2aa3bd3d04 fix(util): nest forward declaration of StreamRecord 2023-12-04 19:15:37 -05:00