projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20070219-1-src
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 49006fa1f8d547466c514a458bc3f3bc927d7ce0..0521c3b7d5b3852e5d2ae4ade8c3589b7b6ea622 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-975,6
+975,8
@@
static void set_graphic_parameters(int graphic)
graphic_info[graphic].fade_delay = -1;
graphic_info[graphic].post_delay = -1;
graphic_info[graphic].auto_delay = -1;
graphic_info[graphic].fade_delay = -1;
graphic_info[graphic].post_delay = -1;
graphic_info[graphic].auto_delay = -1;
+ graphic_info[graphic].align = ALIGN_CENTER; /* default for title screens */
+ graphic_info[graphic].sort_priority = 0; /* default for title screens */
#if 1
/* optional zoom factor for scaling up the image to a larger size */
#if 1
/* optional zoom factor for scaling up the image to a larger size */
@@
-1167,6
+1169,10
@@
static void set_graphic_parameters(int graphic)
graphic_info[graphic].post_delay = parameter[GFX_ARG_POST_DELAY];
if (parameter[GFX_ARG_AUTO_DELAY] != ARG_UNDEFINED_VALUE)
graphic_info[graphic].auto_delay = parameter[GFX_ARG_AUTO_DELAY];
graphic_info[graphic].post_delay = parameter[GFX_ARG_POST_DELAY];
if (parameter[GFX_ARG_AUTO_DELAY] != ARG_UNDEFINED_VALUE)
graphic_info[graphic].auto_delay = parameter[GFX_ARG_AUTO_DELAY];
+ if (parameter[GFX_ARG_ALIGN] != ARG_UNDEFINED_VALUE)
+ graphic_info[graphic].align = parameter[GFX_ARG_ALIGN];
+ if (parameter[GFX_ARG_SORT_PRIORITY] != ARG_UNDEFINED_VALUE)
+ graphic_info[graphic].sort_priority = parameter[GFX_ARG_SORT_PRIORITY];
}
static void set_cloned_graphic_parameters(int graphic)
}
static void set_cloned_graphic_parameters(int graphic)
@@
-3451,6
+3457,17
@@
void InitElementPropertiesStatic()
-1
};
-1
};
+ static int ep_acid_pool[] =
+ {
+ EL_ACID_POOL_TOPLEFT,
+ EL_ACID_POOL_TOPRIGHT,
+ EL_ACID_POOL_BOTTOMLEFT,
+ EL_ACID_POOL_BOTTOM,
+ EL_ACID_POOL_BOTTOMRIGHT,
+
+ -1
+ };
+
static int ep_keygate[] =
{
EL_GATE_1,
static int ep_keygate[] =
{
EL_GATE_1,
@@
-3920,6
+3937,7
@@
void InitElementPropertiesStatic()
{ ep_belt_active, EP_BELT_ACTIVE },
{ ep_belt_switch, EP_BELT_SWITCH },
{ ep_tube, EP_TUBE },
{ ep_belt_active, EP_BELT_ACTIVE },
{ ep_belt_switch, EP_BELT_SWITCH },
{ ep_tube, EP_TUBE },
+ { ep_acid_pool, EP_ACID_POOL },
{ ep_keygate, EP_KEYGATE },
{ ep_amoeboid, EP_AMOEBOID },
{ ep_amoebalive, EP_AMOEBALIVE },
{ ep_keygate, EP_KEYGATE },
{ ep_amoeboid, EP_AMOEBOID },
{ ep_amoebalive, EP_AMOEBALIVE },