projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added type checking for __custom functions
[supertux.git]
/
src
/
world.cpp
diff --git
a/src/world.cpp
b/src/world.cpp
index
24d22c8
..
26ace8b
100644
(file)
--- a/
src/world.cpp
+++ b/
src/world.cpp
@@
-19,7
+19,7
@@
// 02111-1307, USA.
#include <config.h>
// 02111-1307, USA.
#include <config.h>
-#include <
cstddef
>
+#include <
stddef.h
>
#include <physfs.h>
#include <stdexcept>
#include <physfs.h>
#include <stdexcept>
@@
-33,6
+33,7
@@
#include "log.hpp"
#include "worldmap/worldmap.hpp"
#include "mainloop.hpp"
#include "log.hpp"
#include "worldmap/worldmap.hpp"
#include "mainloop.hpp"
+#include "player_status.hpp"
static bool has_suffix(const std::string& data, const std::string& suffix)
{
static bool has_suffix(const std::string& data, const std::string& suffix)
{
@@
-128,7
+129,7
@@
World::run()
current_ = this;
current_ = this;
- // create new squirrel table for persisten game state
+ // create new squirrel table for persisten
t
game state
HSQUIRRELVM vm = Scripting::global_vm;
sq_pushroottable(vm);
HSQUIRRELVM vm = Scripting::global_vm;
sq_pushroottable(vm);