projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19981005-1
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index fc81ebe09a6bee9e175a28daa927ee138172ebc5..85ae127e3f95d4f66f0b6741af5558edebb1759e 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-745,7
+745,7
@@
void LevelEd(int mx, int my, int button)
edit_mode = FALSE;
break;
case ED_BUTTON_FILL:
edit_mode = FALSE;
break;
case ED_BUTTON_FILL:
-
AreYouSure("Caution ! Flood fill mode ! Choose area !",AYS
_OPEN);
+
Request("Caution ! Flood fill mode ! Choose area !",REQ
_OPEN);
use_floodfill = TRUE;
return;
break;
use_floodfill = TRUE;
return;
break;
@@
-1010,7
+1010,7
@@
void LevelEd(int mx, int my, int button)
edit_mode = TRUE;
break;
case ED_BUTTON_CLEAR:
edit_mode = TRUE;
break;
case ED_BUTTON_CLEAR:
- if (
AreYouSure("Are you sure to clear this level ?",AYS
_ASK))
+ if (
Request("Are you sure to clear this level ?",REQ
_ASK))
{
for(x=0;x<MAX_LEV_FIELDX;x++)
for(y=0;y<MAX_LEV_FIELDY;y++)
{
for(x=0;x<MAX_LEV_FIELDX;x++)
for(y=0;y<MAX_LEV_FIELDY;y++)
@@
-1020,7
+1020,7
@@
void LevelEd(int mx, int my, int button)
break;
case ED_BUTTON_UNDO:
if (leveldir[leveldir_nr].readonly ||
break;
case ED_BUTTON_UNDO:
if (leveldir[leveldir_nr].readonly ||
-
AreYouSure("Exit without saving ?",AYS_ASK | AYS
_STAY_OPEN))
+
Request("Exit without saving ?",REQ_ASK | REQ
_STAY_OPEN))
{
CloseDoor(DOOR_CLOSE_BOTH);
game_status=MAINMENU;
{
CloseDoor(DOOR_CLOSE_BOTH);
game_status=MAINMENU;
@@
-1038,7
+1038,7
@@
void LevelEd(int mx, int my, int button)
if (leveldir[leveldir_nr].readonly)
{
if (leveldir[leveldir_nr].readonly)
{
-
AreYouSure("This level is read only !",AYS
_CONFIRM);
+
Request("This level is read only !",REQ
_CONFIRM);
break;
}
break;
}
@@
-1048,12
+1048,12
@@
void LevelEd(int mx, int my, int button)
figur_vorhanden = TRUE;
if (!figur_vorhanden)
figur_vorhanden = TRUE;
if (!figur_vorhanden)
-
AreYouSure
("No Level without Gregor Mc Duffin please !",
-
AYS
_CONFIRM);
+
Request
("No Level without Gregor Mc Duffin please !",
+
REQ
_CONFIRM);
else
{
else
{
- if (
AreYouSure
("Save this level and kill the old ?",
-
AYS_ASK | AYS
_STAY_OPEN))
+ if (
Request
("Save this level and kill the old ?",
+
REQ_ASK | REQ
_STAY_OPEN))
{
for(x=0;x<lev_fieldx;x++)
for(y=0;y<lev_fieldy;y++)
{
for(x=0;x<lev_fieldx;x++)
for(y=0;y<lev_fieldy;y++)