projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20091024-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
main.c
diff --git
a/src/game_sp/main.c
b/src/game_sp/main.c
index ce409eb4551e3fe882a64f3af7ba37adbb003573..9f343318407a45100de8d4673dd1ed83b385143f 100644
(file)
--- a/
src/game_sp/main.c
+++ b/
src/game_sp/main.c
@@
-3,8
+3,14
@@
#include "global.h"
#include "global.h"
+struct GameInfo_SP game_sp_info;
+struct LevelInfo_SP native_sp_level;
+
void InitGameEngine_SP()
{
void InitGameEngine_SP()
{
+ game_sp_info.LevelSolved = FALSE;
+ game_sp_info.GameOver = FALSE;
+
#if 0
menPlay_Click();
#else
#if 0
menPlay_Click();
#else
@@
-20,4
+26,12
@@
void BlitScreenToBitmap_SP(Bitmap *target_bitmap)
void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)
{
void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)
{
+ byte single_player_action = action[0];
+
+ subMainGameLoop_Main(single_player_action, warp_mode);
+}
+
+void RedrawPlayfield_SP(boolean force_redraw)
+{
+ subDisplayLevel();
}
}