Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wolf3d
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
wolf3d
Commits
22ab23a2
Commit
22ab23a2
authored
Jun 14, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished moving (removed Scaler remnants)
parent
aa0e3710
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
19 deletions
+2
-19
Refresh.c
macsrc/Refresh.c
+1
-4
TODO
macsrc/TODO
+1
-0
WolfMain.c
macsrc/WolfMain.c
+0
-2
stub.c
macsrc/stub.c
+0
-9
wolfdef.h
macsrc/wolfdef.h
+0
-4
No files found.
macsrc/Refresh.c
View file @
22ab23a2
...
...
@@ -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
;
...
...
macsrc/TODO
View file @
22ab23a2
...
...
@@ -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
...
...
macsrc/WolfMain.c
View file @
22ab23a2
...
...
@@ -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 */
...
...
macsrc/stub.c
View file @
22ab23a2
...
...
@@ -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
)
...
...
macsrc/wolfdef.h
View file @
22ab23a2
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment