Commit 22ab23a2 authored by Steven Fuller's avatar Steven Fuller

Finished moving (removed Scaler remnants)

parent aa0e3710
......@@ -316,10 +316,7 @@ Boolean StartupRendering(Word NewSize)
memset(textures[130],DOORPIC+1,MAPSIZE); /* lock 1*/
memset(textures[131],DOORPIC+2,MAPSIZE); /* lock 2*/
memset(textures[132],DOORPIC+3,MAPSIZE); /* elevator*/
ReleaseScalers(); /* Release any compiled scalers */
if (!SetupScalers()) { /* Redo any scalers */
return FALSE;
}
MathSize = NewSize;
return TRUE;
......
......@@ -58,6 +58,7 @@ TODO:
* Finish GTK+ code
* vi_glx.c will probably be the most updated of the frontends. Be sure to
update the others later.
* Finish moving things out of stub.c
BUGS:
* Software Drawing seems like its imprecise, stationary sprites move back and
......
......@@ -316,7 +316,6 @@ void PrepPlayLoop()
StartSong(SongListPtr[gamestate.mapon+2]); /* start music */
if (!SetupGameLevel()) { /* Load the game map */
ReleaseMap(); /* Release map memory */
ReleaseScalers(); /* Release the compiled scalers */
PlaySong(0);
while (!SetupGameLevel()) { /* Try loading it again */
Again:
......@@ -329,7 +328,6 @@ Again:
}
}
if (!StartupRendering(GameViewSize)) {
ReleaseScalers();
goto Again;
}
topspritescale = 0; /* No overlay sprite */
......
......@@ -81,15 +81,6 @@ void PrintTimeCounter(TimeCounter *t, char *header)
printf("Min: %lu, max:%lu\n", t->mintime, t->maxtime);
}
Boolean SetupScalers()
{
return TRUE;
}
void ReleaseScalers()
{
}
LongWord PsyTime;
void ShowGetPsyched(void)
......
......@@ -750,10 +750,6 @@ extern void IO_ClearViewBuffer(void);
extern void IO_ScaleWallColumn(Word x,Word scale,Word tile,Word column);
extern void IO_DisplayViewBuffer(void);
/* In SetupScalers.c */
extern Boolean SetupScalers(void);
extern void ReleaseScalers(void);
extern void IO_ScaleMaskedColumn(Word x,Word scale, unsigned short *sprite,Word column);
extern void DrawSmall(Word x,Word y,Word tile);
extern void MakeSmallFont(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment