Commit graph

15 commits

Author SHA1 Message Date
VDm
92a3925797 feat(ui): implement Script_GetMovieResolution method 2025-04-24 00:42:23 +04:00
VDm
957a4c7e2f
feat(glue): add realm and character handling (#7)
* fix(build): make project compilable

* feat(glue): update Character Selection screen to support switching

* fix(ui): fix CSimpleFontString::GetHeight() to use proper method

* feat(db): add static database classes from whoa-autocode

* feat(ui): use class and area IDs for Character Selection

* chore(db): update ItemRandomPropertiesRec

* feat(glue): update CCharacterSelection methods

* chore(db): uncomment DB records

* feat(glue): implement character deletion

* feat(gx): update supported text tags in GxuDetermineQuotedCode

* fix(ui): fix CSimpleFontString to use the FixedColor flag only if the string does not contain color tags

* feat(net): implement GrunLogin::LogOff

* feat(net): implement NetClient::Disconnect

* feat(login): implement trimming of realm name in LoginResponse::HandleRealmData

* feat(net): implement proper disconnection from login and realm servers

* feat(net): implement PING/PONG messages

* feat(net): add NetClient::Destroy method

* feat(net): implement ClientServices::GetRealmList (second request of Realm List)

* feat(glue): implement CGlueMgr::PollRealmList

* feat(glue): implement CGlueMgr::PollCreateCharacter

* chore(glue): add skeleton of CCharacterComponent class

* fix(build): fix build using latest features

* fix(glue): kill gotos in CGlueMgr::NetDisconnectHandler

* fix(build): include SDL3

---------

Co-authored-by: superp00t <superp00t@tutanota.com>
2025-04-16 17:32:37 -04:00
27c2ecece8 feat(ui): use compile variables to show the version/build details in Script_GetBuildInfo 2025-04-14 18:38:16 -04:00
VDm
140bcde493 feat(client): prepare EnterWorld classes and methods 2025-03-30 00:02:58 +04:00
VDm
1e8dc7aef9 feat(net): add RealmConnection::HandleCharEnum implementation 2025-03-29 23:37:24 +04:00
VDm
f525e600a2 feat(ui): add Script_GetBuildInfo 2025-03-28 00:25:15 +04:00
VDm
32cfe08d0b
feat(sound): Small script related improvements
* chore(build): rename src/util/Log.* to SysMessage.*

* chore(ui): implement SetNonSpaceWrap() for error messages

* chore(ui): move Video Script methods into CGVideoOptions class

* chore(script): temporary fix GetNumOutputDrivers to eliminate loading errors

* feat(sound): add SI2 Log methods

* chore(sound): add SI2 CVars

* chore(ui): implement Script_PlayGlueMusic

* chore(sound): update SI2::Init()

* fix: resolve compilation errors in variadic macros SI2_ERR and SI2_LOG

---------

Co-authored-by: Tristan Cormier <cormiert2@outlook.com>
2024-03-05 15:53:07 -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
Tristan 'Natrist' Cormier
6f52a6287d
chore(console): split out console library 2023-03-25 09:56:41 -05:00
fallenoak
a3a12c23a2
chore(util): permit arbitrary return values in unimplemented macro 2023-02-21 08:00:56 -06:00
fallenoak
eed060e512
feat(db): add getter for num records 2023-02-19 15:24:55 -06:00
fallenoak
5b9a4d240e
feat(glue): handle GetServerName script function 2023-02-19 14:47:41 -06:00
fallenoak
93a0d7ee83
feat(glue): handle IsConnectedToServer script function 2023-02-19 14:17:34 -06:00
fallenoak
0e04a675b3
feat(glue): add stub for GetNumAddOns script function 2023-02-19 14:09:10 -06:00
fallenoak
70b00c5c38
chore: initial commit 2023-01-02 13:17:18 -06:00