Skip to content

Commit

Permalink
Rename to shape
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles committed Dec 23, 2024
1 parent 82b46de commit a22717a
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@ function(add_lego_libraries NAME)
target_include_directories(geom${ARG_SUFFIX} PRIVATE "${PROJECT_SOURCE_DIR}/LEGO1/omni/include" "${PROJECT_SOURCE_DIR}/LEGO1" "${PROJECT_SOURCE_DIR}/LEGO1/lego/sources" "${PROJECT_SOURCE_DIR}/util")
target_link_libraries(geom${ARG_SUFFIX} PRIVATE)

add_library(util${ARG_SUFFIX} STATIC
LEGO1/lego/sources/util/legocolor.cpp
LEGO1/lego/sources/util/legobox.cpp
LEGO1/lego/sources/util/legomesh.cpp
LEGO1/lego/sources/util/legosphere.cpp
LEGO1/lego/sources/util/legovertex.cpp
add_library(shape${ARG_SUFFIX} STATIC
LEGO1/lego/sources/shape/legocolor.cpp
LEGO1/lego/sources/shape/legobox.cpp
LEGO1/lego/sources/shape/legomesh.cpp
LEGO1/lego/sources/shape/legosphere.cpp
LEGO1/lego/sources/shape/legovertex.cpp
)
list(APPEND list_targets util${ARG_SUFFIX})
set_property(TARGET util${ARG_SUFFIX} PROPERTY ARCHIVE_OUTPUT_NAME "util$<$<CONFIG:Debug>:d>${ARG_SUFFIX}")
target_include_directories(util${ARG_SUFFIX} PRIVATE "${PROJECT_SOURCE_DIR}/LEGO1/omni/include" "${PROJECT_SOURCE_DIR}/LEGO1" "${PROJECT_SOURCE_DIR}/LEGO1/lego/sources" "${PROJECT_SOURCE_DIR}/util")
target_link_libraries(util${ARG_SUFFIX} PRIVATE)
list(APPEND list_targets shape${ARG_SUFFIX})
set_property(TARGET shape${ARG_SUFFIX} PROPERTY ARCHIVE_OUTPUT_NAME "shape$<$<CONFIG:Debug>:d>${ARG_SUFFIX}")
target_include_directories(shape${ARG_SUFFIX} PRIVATE "${PROJECT_SOURCE_DIR}/LEGO1/omni/include" "${PROJECT_SOURCE_DIR}/LEGO1" "${PROJECT_SOURCE_DIR}/LEGO1/lego/sources" "${PROJECT_SOURCE_DIR}/util")
target_link_libraries(shape${ARG_SUFFIX} PRIVATE)

add_library(anim${ARG_SUFFIX} STATIC
LEGO1/lego/sources/anim/legoanim.cpp
Expand Down Expand Up @@ -443,7 +443,7 @@ function(add_lego_libraries NAME)
misc${ARG_SUFFIX}
3dmanager${ARG_SUFFIX}
omni${ARG_SUFFIX}
util${ARG_SUFFIX}
shape${ARG_SUFFIX}
)

foreach(tgt IN LISTS list_targets)
Expand Down
2 changes: 1 addition & 1 deletion LEGO1/lego/sources/roi/legolod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include "legoroi.h"
#include "misc/legocontainer.h"
#include "misc/legostorage.h"
#include "shape/legomesh.h"
#include "tgl/d3drm/impl.h"
#include "util/legomesh.h"

DECOMP_SIZE_ASSERT(LODObject, 0x04)
DECOMP_SIZE_ASSERT(ViewLOD, 0x0c)
Expand Down
4 changes: 2 additions & 2 deletions LEGO1/lego/sources/roi/legoroi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "misc/legocontainer.h"
#include "misc/legostorage.h"
#include "realtime/realtime.h"
#include "util/legobox.h"
#include "util/legosphere.h"
#include "shape/legobox.h"
#include "shape/legosphere.h"

#include <string.h>
#include <vec.h>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a22717a

Please sign in to comment.