Jan Laupetin
f811c14cc2
chore: use enum class for non-game enums
2025-11-10 21:45:57 +01:00
Jan Laupetin
049fa2b8ae
chore: do not make filename constants separate variables
2025-11-10 21:45:56 +01:00
Jan Laupetin
9114cf5d7d
chore: replace explicit nullptr checks with negation checks
2025-11-10 21:45:56 +01:00
Jan Laupetin
5e06df6286
chore: use std::format instead of string concat
2025-11-10 21:45:56 +01:00
Jan Laupetin
a55146a9de
chore: addEmptyFootstepTableAsset does not need to return something
2025-11-10 21:45:56 +01:00
Jan Laupetin
98292abb09
chore: use constexpr calculations for angle conversions
2025-11-10 21:45:55 +01:00
Jan Laupetin
84a168cfb6
chore: use trailing comma for string enumerations
2025-11-10 21:45:55 +01:00
Jan Laupetin
8f08aca15a
chore: use nodiscard whenever applicable
2025-11-10 21:45:55 +01:00
Jan Laupetin
9471cbc1f4
chore: use auto instead of repeated types
2025-11-10 21:45:55 +01:00
Jan Laupetin
e9e0c7f511
chore: use const and reference whenever possible
2025-11-10 21:45:52 +01:00
Jan Laupetin
08a8a5cd07
chore: move using namespace out of namespace
2025-11-10 21:45:42 +01:00
Jan Laupetin
a8fc10df74
chore: remove unused included headers
2025-11-10 21:45:42 +01:00
Jan Laupetin
b7a250eb10
chore: do not use relative include paths
2025-11-10 21:45:41 +01:00
Jan Laupetin
a8456f88a4
chore: use std min and std max in bsp utils
2025-11-10 21:45:41 +01:00
Jan Laupetin
bbb07e2b59
chore: remove unused bsp util methods
2025-11-10 21:45:41 +01:00
Jan Laupetin
c4152ff039
chore: do not use using namespace in headers
2025-11-10 21:45:41 +01:00
Jan Laupetin
c3d9f91a2a
chore: use available methods from Utils component
2025-11-10 21:45:38 +01:00
Jan Laupetin
02a3d4e7cf
chore: use std::string comparison instead of compare
2025-11-06 18:24:17 +01:00
Jan Laupetin
4eb6dcc469
chore: remove pragma once from cpp source file
2025-11-06 17:52:30 +01:00
LJW-Dev
c9aa8e373b
Moved the re-ordering of indices to the BSP creator instead of the BSP asset linker.
2025-11-04 18:32:29 +08:00
LJW-Dev
0f70c29532
Fixed a crash related to AABB Tree children counts exceeding the maximum limit
2025-11-04 18:13:31 +08:00
LJW-Dev
6cd89a31b2
Extended BSP creation to support X, Y and Z splitting and simplified clipmap BSP generation.
2025-11-04 17:13:55 +08:00
LJW-Dev
e4f6e195f6
Moved coordinate conversion to BSP creator instead of the BSP linker, and added a console print of the maximum number of objects in a collision leaf.
2025-11-04 15:09:00 +08:00
LJW-Dev
b7162d6290
Undo changes to JsonMaterialLoader as they are no longer needed.
2025-11-04 14:05:19 +08:00
LJW-Dev
f7a36f938a
WIP: Updated premake scripts, removed non-submodule ufbx code, ported BSPCreator to use the submodule. OAT link still fails due to unknown premake issue.
2025-11-01 20:13:49 +08:00
LJW-Dev
323a882b1d
Refactored files to use CLANG formatting and linux compatabillty.
2025-11-01 17:50:01 +08:00
LJW-Dev
3948feaaf8
Assets with a name starting with ',' will now be always loaded as a default dependency.
2025-11-01 17:27:32 +08:00
LJW-Dev
56186d1d80
The FinalizeZone step can now fail and the zone link will not ouput a fastfile if the FinalizeZone step fails.
2025-11-01 17:25:14 +08:00
LJW-Dev
81e0331252
Updated BSP linker to load assets on the FinalizeZone step.
2025-11-01 17:06:08 +08:00
LJW-Dev
3d2e890e34
Added the zone definition to the parameters of ConfigureCreatorCollection. ObjLoaderT6 has also been changed to conditionally add the BSP creator if the map type isn't NONE.
2025-11-01 16:19:06 +08:00
LJW-Dev
208d305cc6
CLANG formatted ObjLoaderT6
2025-10-31 17:03:20 +08:00
LJW-Dev
b054cfc990
Updated missing image and colour only image asset names to use materials loaded by the game.
2025-10-31 16:28:12 +08:00
LJW-Dev
0fa473eadd
Formatted all BSP loading files using clang.
2025-10-27 20:43:30 +08:00
LJW-Dev
0e19f365ff
Refactored to make x64 builds succeed
2025-10-27 20:23:13 +08:00
LJW-Dev
9268342ca1
Refactored GFX world loading
2025-10-27 20:00:32 +08:00
LJW-Dev
fc88b9af80
Refactored clipmap generation, further refactored other files to better use c++
2025-10-27 19:07:21 +08:00
LJW-Dev
9d4c32b6b4
Refactor to improve C++ and safe code use
2025-10-26 18:20:04 +08:00
LJW-Dev
173565c7b3
WIP: Finished updating BSP linker to use seperate files for each asset.
2025-10-24 15:34:44 +08:00
LJW-Dev
948ba5ba8b
WIP: Converted custom map linker into different asset files
2025-10-24 02:56:17 +08:00
LJW-Dev
a81944a7be
WIP: Prepared project for updating CustomMapLinker.h
2025-10-22 16:42:12 +08:00
LJW-Dev
e53779517d
WIP:
...
- Updated file structure to use BSP naming scheme
- Re-wrote BSP creator to use c++ more efficiently
2025-10-22 16:06:59 +08:00
LJW-Dev
b4073d74d9
WIP:
...
- Updated names to allign with the BSP naming structure
- Updated constants file and assoicated uses
2025-10-21 18:54:26 +08:00
LJW-Dev
7d09877d02
WIP:
...
- Converted BSP tree generation to use unique ptrs
- Updated the linker to use BSP tree unique ptrs and use the new structure of custom map structs
2025-10-21 17:37:56 +08:00
LJW-Dev
e19a3a142a
WIP: Updating code to follow laupentin's code review.
...
Done:
- Moved custom map structures to their own objcommon header file
- Updated GfxLightGridRow struct
- Reverted shader_bin file path
- Renamed Project Creator to BSP Creator
- Removed model loading from BSP creator
- Cleaned up BSP Creator and updated the names of structs
WIP:
- Update BSP calculation code to be more readable and use unique/shared ptrs
2025-10-20 18:04:03 +08:00
LJW-Dev
15918506c3
Added a default entity string if the entity file isn't given
2025-10-11 19:01:48 +08:00
LJW-Dev
2906a9cf92
FIxed techset dumping and loading to be the same, as well as added a missing image check to the BSP compiler to reduce the output prints when an image is missing.
2025-10-11 18:42:09 +08:00
LJW-Dev
8737fdf2e7
Updated Json Material loader to support passing JSON instead of a stream, and added techset loading code
2025-10-09 01:10:21 +08:00
LJW-Dev
249e6426ff
Updated custom map objloading code to match new structure.
2025-10-09 00:31:37 +08:00
LJW-Dev
ce2aec3ab7
Merge fixup
2025-10-09 00:05:49 +08:00
LJW-Dev
d302073074
Another refactor to remove leacy code that isn't used anymore
2025-10-08 21:33:13 +08:00