Commit Graph

44 Commits

Author SHA1 Message Date
Lioncache
04f73a9687 Externals: Update LibCommon
Fixes a bug in string splitting that broke the texture selection dialogs
in the model editor. They should now populate properly and let you
change textures if you want to do a little modding or something of the
sort.

It also exposed a bug where we had a stack overflow case
that was never hit until now. IsValidDirectoryPath() was intended to be
calling IsValidDirectoryName() on the consitituent parts of the path,
but was calling into itself. The only reason this was never hit in
practice is because the bugged Split() function would keep discarding
the end character in the strings recursively over the course of
execution until the strings were completely empty (oof!).

It also turns out that the handler for the indirect texture handling was
never hooked up to a slot in the model window. So, not only could the
model never have it's indirect texture changed, but would never render
it either, since the respective material would never be set.

We essentially smoked 3 bugs with a one-liner at the same time.
2025-12-08 18:46:24 -05:00
Lioncache
db7e832f32 Editor: Update to C++23
Track the latest standard instead of being stuck on C++17.
2025-12-01 01:51:47 -05:00
Lioncache
682290c8d1 externals: Update LibCommon
Tracks the latest commit to make use of tinyxml2 11.0.0 instead of 7.0.0
2025-11-30 17:33:00 -05:00
Bearborg
e85f7cc560 Update dependencies 2023-05-21 13:31:11 -04:00
Henrique Gemignani Passos Lima
f20d1c17f6 Update LibCommon 2021-06-20 22:59:12 +03:00
4831847197 Compile fixes, update submodules 2020-10-08 19:20:42 -07:00
Lioncash
c7ff608d1a externals: Update LibCommon 2020-06-18 16:14:06 -04:00
Lioncash
ecce151aaf externals: Update LibCommon 2020-06-18 13:21:08 -04:00
Lioncash
21d89d0a23 externals: Update LibCommon 2020-06-16 23:15:20 -04:00
Lioncash
31bfca7aac externals: Update LibCommon 2020-06-16 22:00:11 -04:00
Lioncash
e6d2421de3 externals: Update LibCommon 2020-06-16 19:58:36 -04:00
Lioncash
849906c8c4 externals: Update LibCommon 2020-06-12 17:27:09 -04:00
Lioncash
55eee5da65 externals: Update LibCommon 2020-06-11 20:26:26 -04:00
Lioncash
6a97a13e1e externals: Update LibCommon 2020-06-11 13:08:16 -04:00
Lioncash
77000ca6fd externals: Update LibCommon 2020-06-11 12:40:59 -04:00
Lioncash
094d3afc77 externals: Update LibCommon 2020-06-11 11:27:28 -04:00
Lioncash
61a6151afe externals: Update LibCommon 2020-06-11 11:10:04 -04:00
Lioncash
76ec0df8a2 externals: Update LibCommon 2020-06-11 10:49:37 -04:00
Lioncash
06bf677089 externals: Update LibCommon submodule 2020-06-11 10:41:21 -04:00
Jack Andersen
6e08f95d10 Replace deprecated Qt APIs, Windows fixes 2020-03-30 18:07:18 -10:00
Jack Andersen
842c72ac45 Update LibCommon 2019-11-24 22:19:55 -10:00
Jack Andersen
e55b6b43e3 Fixes for building on ubuntu 2019-11-19 05:06:03 +00:00
Jack Andersen
cfea90e9d2 Segfault fixes 2019-11-16 15:24:46 -10:00
Jack Andersen
e6a1837450 Compatibility with CMake 3.12 2019-06-11 17:22:25 -10:00
Jack Andersen
b507196851 LibCommon now being integrated as an add_subdirectory submodule 2019-06-04 14:44:39 -10:00
Jack Andersen
b6191dc330 Initial round of CMake refactoring 2019-05-23 13:04:29 -10:00
Aruki
7de85a5a2d Quickplay support 2019-04-06 15:53:05 -07:00
Aruki
3507be8e42 Polished collision editor UI a bit 2019-02-18 03:59:19 -07:00
Aruki
4e1560a99c Reorganized collision data classes & added basic collision editor window with an OBB tree visualization 2019-02-12 02:50:07 -07:00
Aruki
1baa48de34 Merge branch 'StringEditing' 2019-02-03 03:32:34 -07:00
Aruki
96c1aae27f Added support for deleting resources + minor fixes 2019-02-03 02:22:36 -07:00
Aruki
56843e214d Added ability to create brand new SCAN/STRG assets. Added ability to update old projects. 2019-02-02 17:32:19 -07:00
Aruki
1360202ee5 Added commandline-operated test for verifying cooker output 2019-01-30 01:05:52 -07:00
Aruki
e2d554ae8b Tweak templates for MP2, MP3, and DKCR 2019-01-27 16:47:56 -07:00
Aruki
6e3a07a967 Updated LibCommon 2019-01-12 23:44:04 -08:00
Aruki
2c80e60b78 Updated LibCommon 2018-12-27 20:17:00 -07:00
Aruki
12ff0d1f73 Integrated lzokay 2018-12-23 22:41:21 -07:00
Aruki
0ae7b8686e More changes to how we handle text encoding, fixing up the code so it compiles now 2018-12-23 21:44:31 -07:00
Aruki
e92a9fc6b0 Rewrote CStringTable (currently doesn't compile) 2018-12-20 02:46:46 -07:00
Aruki
9dbe24adbb Fixed lzo and nod submodules 2018-12-18 17:11:32 -07:00
Aruki
c4829f5fda Cleanup & refactoring 2018-12-16 14:00:40 -07:00
Aruki
2287b05bc3 Refactor so PWE compiles with the newly externalized LibCommon 2018-12-11 22:50:46 -07:00
Aruki
dacd21d7fc Added LibCommon as a submodule (PWE code still needs to be updated to compile correctly with LibCommon changes) 2018-12-09 18:48:02 -07:00
Aruki
6cbc2a3208 Re-commit of VS2017/submodule/library changes 2018-07-07 17:17:33 -06:00