argc = tokenizebyseparator(cvar_string(original_cvar), " ");
+ tmp_string = "";
for(i = 0; i < argc; ++i)
if(argv(i) != removal)
tmp_string = strcat(tmp_string, " ", argv(i));
i = stof(db_get(rpn_db, "stack.pointer"));
db_put(rpn_db, "stack.pointer", ftos(i+1));
db_put(rpn_db, strcat("stack.", ftos(i)), s);
+ if(!i)
+ db_put(rpn_db, "stack.pos", "0");
}
- if(!i)
- db_put(rpn_db, "stack.pos", "0");
} else if(rpncmd == "dbpop") {
i = stof(db_get(rpn_db, "stack.pointer"));
if(i)
return;
}
}
-}
\ No newline at end of file
+}
spawnpoints = 0;
spawnplaces = 0;
_MapInfo_Map_worldspawn_music = "";
+ mapMins = '0 0 0';
+ mapMaxs = '0 0 0';
for(;;)
{
{
if(me.src)
draw_BorderPicture('0 0 0', me.src, '1 1 0', me.color, 1, me.borderVec);
+
if(me.fontSize > 0)
{
- vector ro, rf, df;
-
if(me.recalcPos)
me.recalcPositionWithText(me, me.text);
if(me.isNexposeeTitleBar)
{
+ vector ro, rf, df;
+
// me.parent.Nexposee_animationFactor 0 (small) or 1 (full)
// default values are for 1
ro = me.realOrigin;
me.realOrigin = ro * me.parent.Nexposee_animationFactor + me.realOrigin_Nexposeed * (1 - me.parent.Nexposee_animationFactor);
me.realFontSize = rf * me.parent.Nexposee_animationFactor + me.realFontSize_Nexposeed * (1 - me.parent.Nexposee_animationFactor);
draw_fontscale = globalToBoxSize(boxToGlobalSize(df, me.realFontSize), rf);
- }
- SUPER(BorderImage).draw(me);
+ SUPER(BorderImage).draw(me);
- if(me.isNexposeeTitleBar)
- {
// me.Nexposee_animationState 0 (small) or 1 (full)
// default values are for 1
me.realOrigin = ro;
me.realFontSize = rf;
draw_fontscale = df;
}
+ else
+ SUPER(BorderImage).draw(me);
}
else
{
void Dialog_configureDialog(entity me)
{
- entity closebutton;
float absWidth, absHeight;
me.frame = spawnBorderImage();
if(me.closable && me.borderLines > 0)
{
- closebutton = me.closeButton = spawnButton();
+ entity closebutton;
+ closebutton = me.closeButton = me.frame.closeButton = spawnButton();
closebutton.configureButton(closebutton, "", 0, me.closeButtonImage);
closebutton.onClick = Dialog_Close; closebutton.onClickEntity = me;
closebutton.srcMulti = 0;
me.addItem(me, closebutton, '0 0 0', '1 1 0', 1); // put it as LAST
}
-
- me.frame.closeButton = closebutton;
}
void Dialog_close(entity me)
scalemode = SCALEMODE_CROP;
+ l = 0;
for(i = 0; i < strlen(algn); ++i)
{
c = substring(algn, i, 1);
s = gethostcachestring(SLIST_FIELD_QCSTATUS, i);
m = tokenizebyseparator(s, ":");
+ typestr = "";
if(m >= 2)
{
typestr = argv(0);
freeslots = -1;
sflags = -1;
modname = "";
+ pure = 0;
for(j = 2; j < m; ++j)
{
if(argv(j) == "")