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
98b2de85
Commit
98b2de85
authored
Apr 20, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few more cleanups and fixes
parent
d9003143
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
23 deletions
+2
-23
id_ca.c
src/id_ca.c
+0
-1
wl_act2.c
src/wl_act2.c
+0
-2
wl_debug.c
src/wl_debug.c
+2
-3
wl_game.c
src/wl_game.c
+0
-5
wl_menu.c
src/wl_menu.c
+0
-12
No files found.
src/id_ca.c
View file @
98b2de85
...
...
@@ -938,7 +938,6 @@ void CA_CacheScreen (int chunk)
//
/* TODO: this cheats and expands to the 320x200 screen buffer */
CAL_HuffExpand
(
source
,
gfxbuf
,
expanded
,
grhuffman
);
VW_MarkUpdateBlock
(
0
,
0
,
319
,
199
);
MM_FreePtr
(
&
bigbufferseg
);
}
...
...
src/wl_act2.c
View file @
98b2de85
...
...
@@ -3778,7 +3778,6 @@ void A_StartDeathCam (objtype *ob)
VW_Bar
(
0
,
0
,
320
,
200
-
STATUSLINES
,
127
);
FizzleFade
(
bufferofs
,
displayofs
,
320
,
200
-
STATUSLINES
,
70
,
false
);
PM_UnlockMainMem
();
CA_UpLevel
();
CacheLump
(
LEVELEND_LUMP_START
,
LEVELEND_LUMP_END
);
#ifdef JAPAN
...
...
@@ -3789,7 +3788,6 @@ void A_StartDeathCam (objtype *ob)
Write
(
0
,
7
,
STR_SEEAGAIN
);
#endif
CA_DownLevel
();
PM_CheckMainMem
();
VW_UpdateScreen
();
...
...
src/wl_debug.c
View file @
98b2de85
...
...
@@ -224,7 +224,7 @@ static char buf[10];
US_Print
(
"
\n
Address: "
);
addr
=
PM_GetPageAddress
(
i
);
sprintf
(
buf
,
"
0x%04x"
,(
word
)
addr
);
sprintf
(
buf
,
"
%p"
,
addr
);
/* TODO: might wanna check */
US_Print
(
buf
);
if
(
addr
)
...
...
@@ -236,11 +236,10 @@ static char buf[10];
//
postx
=
128
;
postwidth
=
1
;
postsource
=
((
long
)((
unsigned
)
addr
))
<<
16
;
for
(
x
=
0
;
x
<
64
;
x
++
,
postx
++
,
postsource
+=
64
)
{
wallheight
[
postx
]
=
256
;
FarScalePost
(
);
ScalePost
((
byte
*
)
addr
,
x
);
}
}
else
if
(
i
<
PMSoundStart
)
...
...
src/wl_game.c
View file @
98b2de85
...
...
@@ -189,7 +189,6 @@ void UpdateSoundLoc(void)
void
ClearMemory
(
void
)
{
PM_UnlockMainMem
();
SD_StopDigitized
();
MM_SortMem
();
}
...
...
@@ -996,7 +995,6 @@ void RecordDemo (void)
SetupGameLevel
();
StartMusic
();
PM_CheckMainMem
();
fizzlein
=
true
;
PlayLoop
();
...
...
@@ -1062,7 +1060,6 @@ void PlayDemo (int demonumber)
SetupGameLevel
();
StartMusic
();
PM_CheckMainMem
();
fizzlein
=
true
;
PlayLoop
();
...
...
@@ -1250,7 +1247,6 @@ restart:
ingame
=
true
;
StartMusic
();
PM_CheckMainMem
();
if
(
!
died
)
PreloadGraphics
();
else
...
...
@@ -1283,7 +1279,6 @@ startplayloop:
gamestate
.
mapon
=
20
;
SetupGameLevel
();
StartMusic
();
PM_CheckMainMem
();
player
->
x
=
spearx
;
player
->
y
=
speary
;
player
->
angle
=
spearangle
;
...
...
src/wl_menu.c
View file @
98b2de85
...
...
@@ -773,8 +773,6 @@ int CP_CheckQuick(unsigned scancode)
lasttimecount
=
TimeCount
;
PM_CheckMainMem
();
#ifndef SPEAR
UNCACHEGRCHUNK
(
C_CURSOR1PIC
);
UNCACHEGRCHUNK
(
C_CURSOR2PIC
);
...
...
@@ -815,11 +813,6 @@ int CP_CheckQuick(unsigned scancode)
SD_StopSound
();
MenuFadeOut
();
//
// SHUT-UP THE ADLIB
//
for
(
i
=
1
;
i
<=
0xf5
;
i
++
)
alOut
(
i
,
0
);
Quit
(
NULL
);
}
...
...
@@ -2828,11 +2821,6 @@ void CP_Quit(void)
SD_MusicOff
();
SD_StopSound
();
MenuFadeOut
();
//
// SHUT-UP THE ADLIB
//
for
(
i
=
1
;
i
<=
0xf5
;
i
++
)
alOut
(
i
,
0
);
Quit
(
NULL
);
}
...
...
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