projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore messages.pot
[supertux.git]
/
src
/
scripting
/
level.cpp
diff --git
a/src/scripting/level.cpp
b/src/scripting/level.cpp
index
d29e18b
..
9b6749f
100644
(file)
--- a/
src/scripting/level.cpp
+++ b/
src/scripting/level.cpp
@@
-3,8
+3,7
@@
#include <string>
#include <stdio.h>
#include "level.h"
#include <string>
#include <stdio.h>
#include "level.h"
-
-#define NOIMPL printf("%s not implemented.\n", __PRETTY_FUNCTION__);
+#include "game_session.h"
namespace Scripting
{
namespace Scripting
{
@@
-17,12
+16,12
@@
namespace Scripting
void
Level::finish()
{
void
Level::finish()
{
-
NOIMPL
;
+
GameSession::current()->finish()
;
}
void
}
void
- Level::spawn(const std::string&
, const std::string&
)
+ Level::spawn(const std::string&
sector, const std::string& spawnpoint
)
{
{
-
NOIMPL
;
+
GameSession::current()->respawn(sector, spawnpoint)
;
}
}
}
}