projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed calculating window size percentage after resizing
[rocksndiamonds.git]
/
src
/
game_em
/
input.c
diff --git
a/src/game_em/input.c
b/src/game_em/input.c
index e314272f5315158d1b6aaca80a3587dcf8cbc37e..4028f19a553f692e9dc7a3541358f0ab24d27918 100644
(file)
--- a/
src/game_em/input.c
+++ b/
src/game_em/input.c
@@
-83,7
+83,7
@@
void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode)
for (i = 0; i < MAX_PLAYERS; i++)
readjoy(action[i], &ply[i]);
for (i = 0; i < MAX_PLAYERS; i++)
readjoy(action[i], &ply[i]);
- UpdateEngineValues(screen_x / TILEX, screen_y / TILEY);
+ UpdateEngineValues(screen_x / TILEX, screen_y / TILEY
, ply[0].x, ply[0].y
);
if (frame == 7)
{
if (frame == 7)
{
@@
-110,8
+110,6
@@
void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode)
game_em.any_player_snapping, any_player_dropping);
RedrawPlayfield_EM(FALSE);
game_em.any_player_snapping, any_player_dropping);
RedrawPlayfield_EM(FALSE);
-
- BlitScreenToBitmap_EM(backbuffer);
}
/* read input device for players */
}
/* read input device for players */