From 4d051c0fa036d245027a211bc7fd6a4afdce207f Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Mon, 13 Sep 2021 11:29:46 -0300 Subject: ZRoom cleaning 3 (#140) * Remove redundant scene member * altheaders clean * it is broken and I don't know why * fix VTXs * Fix the stuff I broke in SetRoomList * Add RoomAltHeader and SceneAltHeader * fix syotes again and set the size of each ZRoomCommand * Add SCENE_CMD_UNK_09 todo * Nuke HintSystem * run format * Remove `canHaveInner` from ZRoom since the HintSystem doesn't exists anymore * Remove sourceOutput member from ZResource * Update docs * run format * Add non 64-bits aligned textures warning * remove unused json library * Update SCENE_CMD_UNK_09 * Fix merge issues * run format * Clean up actorlist output * Fix merge conflicts * format * Fix actorlist extraction * Unify AltHeader * fix merge conflicts * Run formatter * minor style changes * fix using wrong symbols for extracted vtxs from overlays * format * fix makefile stuff * fix merge issue --- ZAPD/ZRoom/Commands/SetObjectList.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ZAPD/ZRoom/Commands/SetObjectList.cpp') diff --git a/ZAPD/ZRoom/Commands/SetObjectList.cpp b/ZAPD/ZRoom/Commands/SetObjectList.cpp index 434bf6c..9e3e9bb 100644 --- a/ZAPD/ZRoom/Commands/SetObjectList.cpp +++ b/ZAPD/ZRoom/Commands/SetObjectList.cpp @@ -57,11 +57,6 @@ std::string SetObjectList::GetBodySourceCode() const return StringHelper::Sprintf("SCENE_CMD_OBJECT_LIST(%i, %s)", objects.size(), listName.c_str()); } -size_t SetObjectList::GetRawDataSize() const -{ - return ZRoomCommand::GetRawDataSize() + (objects.size() * 2); -} - std::string SetObjectList::GetCommandCName() const { return "SCmdObjectList"; -- cgit v1.2.3