#include "log.hpp"
#include "level.hpp"
#include "physfs/physfs_stream.hpp"
-#include "../random_generator.hpp"
+#include "random_generator.hpp"
#ifdef ENABLE_SQDBG
#include <sqdbg/sqrdbg.h>
// register supertux API
register_supertux_wrapper(global_vm);
- // TODO remove this at some point... it shoud just be functions not an object
+ // TODO remove this at some point... it should just be functions not an object
expose_object(global_vm, -1, new Scripting::Level(), "Level", true);
sq_pop(global_vm, 1);
throw Scripting::SquirrelError(vm, msg.str());
}
- int result;
+ SQInteger result;
if(SQ_FAILED(sq_getinteger(vm, -1, &result))) {
std::ostringstream msg;
msg << "Couldn't get int value for '" << name << "' from table";