Commit Graph

1616 Commits

Author SHA1 Message Date
jadebenn
6e781da2e7 Merge remote-tracking branch 'upstream/main' into MSVCCompilerFlags 2024-04-13 18:15:16 -05:00
jadebenn
6ccd72c6a9 add RelWithDebInfo presets and move -Werror flag into presets.json 2024-04-13 17:48:58 -05:00
David Markowitz
3a6123fe36
fix console sound (#1547) 2024-04-11 10:29:49 -05:00
David Markowitz
b8b2b687e2
inherit exception for CppSQLite3Exception (#1544)
catch any exception just in case exception isnt inherited from
2024-04-10 07:32:54 -05:00
Aaron Kimbrell
d067a8d12f
chore: split out slash commands into multiple files (#1539)
* chore: split out slash commands into multiple files
Breakup the monolithic file
don't register slashcommands on startup

* fix typo
2024-04-09 20:15:51 -05:00
jadebenn
b96cfd71a4 Merge remote-tracking branch 'upstream/main' into MSVCCompilerFlags 2024-04-09 01:47:17 -05:00
David Markowitz
1ee45639af
Update GeneralUtils.h (#1541) 2024-04-09 00:20:25 -05:00
jadebenn
db192d2cde
chore: Fix use of uninitialized variable in RemoveItemFromInventory (#1540) 2024-04-08 21:50:41 -07:00
jadebenn
c4adcee8e8 Merge remote-tracking branch 'upstream/main' into MSVCCompilerFlags 2024-04-08 22:30:35 -05:00
jadebenn
7f9fcb5b75 change gnu and clang build directories to enable consistent artifact generation 2024-04-08 22:10:01 -05:00
jadebenn
553740e8a0 update build presets 2024-04-08 21:38:34 -05:00
jadebenn
39a8029fda update github actions 2024-04-08 20:30:06 -05:00
jadebenn
7eae64f8a6 disable /WX on MSVC 2024-04-08 20:18:46 -05:00
jadebenn
24d3bc0ce6 altered cmake configuration scripts 2024-04-08 20:11:59 -05:00
David Markowitz
28ce8ac54d
remove usage of xmldoc as a ptr (#1538)
resolves a memory leak in BrickDatabase, adds stability to character save doc.

Tested that saving manually via force-save, logout and /crash all saved my position and my removed banana as expected.
The doc was always deleted on character destruction and on any updates, so this is just a semantic change (and now we no longer have new'd tinyxml2::documents on the heap)
2024-04-08 15:13:49 -05:00
David Markowitz
be0a2f6f14
fix jittering (#1537) 2024-04-08 15:13:31 -05:00
David Markowitz
3260a063cb
ignore whitespace in try parse (#1536) 2024-04-08 15:13:19 -05:00
Aaron Kimbrell
feeac2e041
feat: refactor slash commands system into more scalable system (#1510)
* WIP, but working

* Scaffolding

* testing and making it compile again

* move all commands to functions

* renaming to compile

* fix failing tests

idk how these werent failing before.  Seems to have been magic.

* move commandss into their namespace
make help command useful
fix mac error

TODO: remove the multiple not founds/ rework the structure to split into help and handling

* Just need to fill out the fields, but it's all there templated

* Add all aliases, register missing commands

* All help text

* remove test logs

* improvements

pass through added code for optimizations and cleanup as well as reduce the amount of scoping for readability and maintainability

* Update SlashCommandHandler.cpp

* only save command if it is a GM command

* simplify if checks

* remove broken delimiter

* Update SlashCommandHandler.cpp

* Update SlashCommandHandler.cpp

---------

Co-authored-by: David Markowitz <EmosewaMC@gmail.com>
2024-04-08 15:11:59 -05:00
jadebenn
368f4ccabf change defaults 2024-04-06 23:00:04 -05:00
jadebenn
7d7ea68bf9 fix preset 2024-04-06 22:23:32 -05:00
jadebenn
57d0b12f9b expand cmake presets 2024-04-06 21:50:32 -05:00
jadebenn
aa62d357bb rename gcc to gnu 2024-04-06 20:50:26 -05:00
jadebenn
d6e4edd886 change runtime output dir 2024-04-06 20:27:20 -05:00
jadebenn
abe413f239 debug try 2 2024-04-06 20:22:47 -05:00
jadebenn
c6c771b892 add debug messages (again) 2024-04-06 20:16:00 -05:00
jadebenn
6c6966afd2 was not actually fixed 2024-04-06 19:46:58 -05:00
jadebenn
fab74c90b6 are these messages actually somehow fixing the issue? 2024-04-06 19:37:02 -05:00
jadebenn
a4b6b7c0d9 see if this re-breaks mac 2024-04-06 19:27:34 -05:00
jadebenn
07626f8ebb back to debug messages 2024-04-06 19:04:59 -05:00
jadebenn
bdf9adc0e8 Revert "try disabling an apple-specific build rule"
This reverts commit 45ec66e976.
2024-04-06 18:47:55 -05:00
jadebenn
8154207848 Revert "more fiddling with mac test builds"
This reverts commit 0f843c02c9.
2024-04-06 18:47:53 -05:00
jadebenn
8f5c10d158 Revert "try and narrow down the macos build failure cause"
This reverts commit 5fd86833fa.
2024-04-06 18:47:52 -05:00
jadebenn
54876bf886 Revert "try stripping out all the custom macos test logic again"
This reverts commit cc15a26ce8.
2024-04-06 18:47:50 -05:00
jadebenn
8af35727a6 Revert "I'm really just throwing everything to the wall and seeing what sticks"
This reverts commit 1a05b027fe.
2024-04-06 18:47:48 -05:00
jadebenn
e143f22ada Revert "more macos tinkering"
This reverts commit 829ec35b57.
2024-04-06 18:47:46 -05:00
jadebenn
495e70c376 Revert "implib"
This reverts commit d41349d6ed.
2024-04-06 18:47:44 -05:00
jadebenn
37dbb52104 Revert "try manual link directory specification"
This reverts commit 0c2d40632e.
2024-04-06 18:47:42 -05:00
jadebenn
ce568189fc Revert "save me"
This reverts commit bd73aa21a9.
2024-04-06 18:47:40 -05:00
jadebenn
c420a72016 Revert "aaaaaaaaa"
This reverts commit 338279c396.
2024-04-06 18:47:36 -05:00
jadebenn
dccac945bb Revert "paths paths paths"
This reverts commit 9a7d86aa6c.
2024-04-06 18:47:08 -05:00
jadebenn
9a7d86aa6c paths paths paths 2024-04-06 18:39:08 -05:00
jadebenn
338279c396 aaaaaaaaa 2024-04-06 18:29:01 -05:00
jadebenn
bd73aa21a9 save me 2024-04-06 18:21:16 -05:00
jadebenn
0c2d40632e try manual link directory specification 2024-04-06 18:09:03 -05:00
jadebenn
d41349d6ed implib 2024-04-06 17:52:20 -05:00
jadebenn
829ec35b57 more macos tinkering 2024-04-06 17:43:47 -05:00
jadebenn
1a05b027fe I'm really just throwing everything to the wall and seeing what sticks 2024-04-06 17:18:41 -05:00
jadebenn
cc15a26ce8 try stripping out all the custom macos test logic again 2024-04-06 17:09:45 -05:00
jadebenn
5fd86833fa try and narrow down the macos build failure cause 2024-04-06 16:54:53 -05:00
jadebenn
0f843c02c9 more fiddling with mac test builds 2024-04-06 16:47:19 -05:00