Corrected comments
Because this file was originally copied from the map API, there were references to the map. I've corrected this.
This commit is contained in:
@@ -21,14 +21,14 @@
|
|||||||
*/
|
*/
|
||||||
#include "room_system_api.hpp"
|
#include "room_system_api.hpp"
|
||||||
|
|
||||||
//all map API headers
|
//all room API headers
|
||||||
#include "room_api.hpp"
|
#include "room_api.hpp"
|
||||||
#include "room_manager_api.hpp"
|
#include "room_manager_api.hpp"
|
||||||
|
|
||||||
//useful "globals"
|
//useful "globals"
|
||||||
//...
|
//...
|
||||||
|
|
||||||
//This mimics linit.c to create a nested collection of all map modules.
|
//This mimics linit.c to create a nested collection of all room modules.
|
||||||
static const luaL_Reg funcs[] = {
|
static const luaL_Reg funcs[] = {
|
||||||
{nullptr, nullptr}
|
{nullptr, nullptr}
|
||||||
};
|
};
|
||||||
@@ -36,7 +36,6 @@ static const luaL_Reg funcs[] = {
|
|||||||
static const luaL_Reg libs[] = {
|
static const luaL_Reg libs[] = {
|
||||||
{"Room", openRoomAPI},
|
{"Room", openRoomAPI},
|
||||||
{"RoomManager", openRoomManagerAPI},
|
{"RoomManager", openRoomManagerAPI},
|
||||||
// {"TileSheet", openTileSheetAPI},
|
|
||||||
{nullptr, nullptr}
|
{nullptr, nullptr}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -53,4 +52,4 @@ int openRoomSystemAPI(lua_State* L) {
|
|||||||
lua_setfield(L, -2, lib->name);
|
lua_setfield(L, -2, lib->name);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user