Commit Graph

502 Commits

Author SHA1 Message Date
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
VDm
f86f6d6d09
feat(build): add StormLib (#4)
* feat(app): add StormLib

* feat(app): add OpenArchives

* feat(util): update SFile to work with StormLib

* feat(app): update SFile

* feat(util): update SFile with logging (Windows only)

* feat(ui): implemented termination w/o notice

* chore(build): update StormLib

* chore(util): replace std::string with SStr* functions

* fix(stormlib): dwFlags argument for SFileOpenPatchArchive

* chore(ui): add Script_* stubs

* chore(util): clean up SFile::OpenEx

* chore(build): update StormLib

---------

Co-authored-by: Phaneron <superp00t@tutanota.com>
2024-02-11 17:19:18 -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
fallenoak
967534c96b
chore(model): improve argument names 2024-01-18 22:06:42 -06: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
superp00t
76b92d1199 fix(util): bytesread, not bytesRead 2023-12-04 19:09:40 -05:00
superp00t
f072312386 fix(util): forward declare Blizzard::File::StreamRecord inside of SFile.hpp 2023-12-04 19:08:41 -05:00
superp00t
0e665e8c5e fix(util): link BlizzardCore to util module 2023-12-04 19:01:43 -05:00
superp00t
0302864f8d feat(util): SFile functions now use the BlizzardCore filesystem utilities 2023-12-04 18:54:37 -05:00
superp00t
5eff48097f chore(build): update dependencies 2023-12-04 17:31:15 -05:00
superp00t
bc7cfc2baf chore(build): update dependencies 2023-12-02 12:51:11 -05:00
superp00t
1570d3dc99 fix(gx): create GLSDL graphics device on Linux 2023-12-02 12:28:53 -05:00
superp00t
b379e06194 fix(gx): add missing include <cstring> 2023-12-02 12:18:48 -05:00
superp00t
8b52de363d Merge branch 'master' of github.com:thunderbrewhq/thunderbrew 2023-12-02 12:14:08 -05:00
superp00t
8eef6bb279 chore(build): update dependencies 2023-12-02 12:13:43 -05:00
superp00t
56439993ba feat(gx): implement GLSDLDevice::SetScissor 2023-11-30 22:32:07 -05:00
superp00t
1620994f02 fix(gx): typo 2023-11-30 16:13:08 -05:00
superp00t
47b9878e3e fix(gx): restore old behavior to GLSDL 2023-11-30 16:11:40 -05:00
superp00t
29edb4e032 fix(gx): return fallback sample count 2023-11-26 15:38:57 -05:00
superp00t
697f3ca9f6 fix(gx): disable unused code block pertaining to multisamples 2023-11-26 15:12:00 -05:00
superp00t
bf0fa09160 fix(gx): do glFlush() before swapping buffers 2023-11-26 15:11:22 -05:00
superp00t
83f0e9ac2e chore(build): update dependencies 2023-11-26 15:03:14 -05:00
superp00t
3da866cfb0 fix(gx): include CGxDeviceGLSDL 2023-11-26 14:52:03 -05:00
superp00t
884d208bd0 feat(gx): resize GLSDL window with SDL resize event 2023-11-26 14:51:01 -05:00
superp00t
21dcc7d8ae feat(gx): handle SDL window resize event 2023-11-26 14:42:47 -05:00
superp00t
dbac391d9e fix(gx): change charactersize to int32 2023-11-26 12:43:31 -05:00
superp00t
2dd65b2b5d fix(gx): SUniSGetUTF8, not SUniGetUTF8 2023-11-26 12:25:07 -05:00