From e467f6ed6878dc1122e35d1a2271504108e0d827 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Thu, 29 Feb 2024 16:33:15 -0500 Subject: [PATCH] Increase object list capacity from 960 to 1200 --- autogen/lua_definitions/constants.lua | 2 +- src/game/object_list_processor.h | 2 +- src/pc/lua/smlua_constants_autogen.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autogen/lua_definitions/constants.lua b/autogen/lua_definitions/constants.lua index 72f9256b..5109e9b6 100644 --- a/autogen/lua_definitions/constants.lua +++ b/autogen/lua_definitions/constants.lua @@ -7644,7 +7644,7 @@ YOSHI_ACT_WALK = 1 YOSHI_ACT_WALK_JUMP_OFF_ROOF = 3 --- @type integer -OBJECT_POOL_CAPACITY = 960 +OBJECT_POOL_CAPACITY = 1200 --- @type integer TIME_STOP_ACTIVE = (1 << 6) diff --git a/src/game/object_list_processor.h b/src/game/object_list_processor.h index b4e531e5..1f4ab5c0 100644 --- a/src/game/object_list_processor.h +++ b/src/game/object_list_processor.h @@ -23,7 +23,7 @@ /** * The maximum number of objects that can be loaded at once. */ -#define OBJECT_POOL_CAPACITY 960 +#define OBJECT_POOL_CAPACITY 1200 /** * Every object is categorized into an object list, which controls the order diff --git a/src/pc/lua/smlua_constants_autogen.c b/src/pc/lua/smlua_constants_autogen.c index 0da502ea..f9786a92 100644 --- a/src/pc/lua/smlua_constants_autogen.c +++ b/src/pc/lua/smlua_constants_autogen.c @@ -2760,7 +2760,7 @@ char gSmluaConstants[] = "" "TIME_STOP_ALL_OBJECTS = (1 << 4)\n" "TIME_STOP_MARIO_OPENED_DOOR = (1 << 5)\n" "TIME_STOP_ACTIVE = (1 << 6)\n" -"OBJECT_POOL_CAPACITY = 960\n" +"OBJECT_POOL_CAPACITY = 1200\n" "OBJ_LIST_PLAYER = 0\n" "OBJ_LIST_UNUSED_1 = 1\n" "OBJ_LIST_DESTRUCTIVE = 2\n"