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
8e70f4b8
Commit
8e70f4b8
authored
Apr 20, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed more old modex junk
parent
0d5404c8
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
6 additions
and
79 deletions
+6
-79
id_heads.h
src/id_heads.h
+0
-14
id_vh.c
src/id_vh.c
+0
-2
wl_act2.c
src/wl_act2.c
+1
-7
wl_def.h
src/wl_def.h
+0
-4
wl_game.c
src/wl_game.c
+4
-31
wl_inter.c
src/wl_inter.c
+1
-8
wl_main.c
src/wl_main.c
+0
-6
wl_play.c
src/wl_play.c
+0
-7
No files found.
src/id_heads.h
View file @
8e70f4b8
...
...
@@ -103,25 +103,11 @@ typedef struct
void
Quit
(
char
*
error
);
// defined in user program
//
// replacing refresh manager with custom routines
//
#define PORTTILESWIDE 20 // all drawing takes place inside a
#define PORTTILESHIGH 13 // non displayed port of this size
#define UPDATEWIDE PORTTILESWIDE
#define UPDATEHIGH PORTTILESHIGH
#define MAXTICS 10
#define DEMOTICS 4
extern
unsigned
mapwidth
,
mapheight
,
tics
;
extern
byte
*
updateptr
;
extern
unsigned
uwidthtable
[
UPDATEHIGH
];
extern
unsigned
blockstarts
[
UPDATEWIDE
*
UPDATEHIGH
];
extern
byte
fontcolor
,
backcolor
;
#define SETFONTCOLOR(f,b) fontcolor=f;backcolor=b;
...
...
src/id_vh.c
View file @
8e70f4b8
...
...
@@ -2,8 +2,6 @@
#include "id_heads.h"
#define PIXTOBLOCK 4
/* 16 pixels to an update block */
/* ======================================================================== */
pictabletype
*
pictable
;
...
...
src/wl_act2.c
View file @
8e70f4b8
...
...
@@ -3832,13 +3832,7 @@ void A_StartDeathCam (objtype *ob)
//
// go back to the game
//
temp
=
bufferofs
;
for
(
i
=
0
;
i
<
3
;
i
++
)
{
bufferofs
=
screenloc
[
i
];
DrawPlayBorder
();
}
bufferofs
=
temp
;
DrawPlayBorder
();
fizzlein
=
true
;
switch
(
ob
->
obclass
)
...
...
src/wl_def.h
View file @
8e70f4b8
...
...
@@ -812,15 +812,11 @@ extern statobj_t statobjlist[MAXSTATS],*laststatobj;
extern
doorobj_t
doorobjlist
[
MAXDOORS
],
*
lastdoorobj
;
extern
unsigned
farmapylookup
[
MAPSIZE
];
extern
byte
*
nearmapylookup
[
MAPSIZE
];
extern
byte
tilemap
[
MAPSIZE
][
MAPSIZE
];
// wall values only
extern
byte
spotvis
[
MAPSIZE
][
MAPSIZE
];
extern
objtype
*
actorat
[
MAPSIZE
][
MAPSIZE
];
#define UPDATESIZE (UPDATEWIDE*UPDATEHIGH)
extern
byte
update
[
UPDATESIZE
];
extern
boolean
singlestep
,
godmode
,
noclip
;
extern
int
extravbls
;
...
...
src/wl_game.c
View file @
8e70f4b8
...
...
@@ -779,15 +779,7 @@ void DrawPlayBorderSides (void)
void
DrawAllPlayBorderSides
(
void
)
{
unsigned
i
,
temp
;
temp
=
bufferofs
;
for
(
i
=
0
;
i
<
3
;
i
++
)
{
bufferofs
=
screenloc
[
i
];
DrawPlayBorderSides
();
}
bufferofs
=
temp
;
DrawPlayBorderSides
();
}
/*
...
...
@@ -799,15 +791,7 @@ void DrawAllPlayBorderSides (void)
*/
void
DrawAllPlayBorder
(
void
)
{
unsigned
i
,
temp
;
temp
=
bufferofs
;
for
(
i
=
0
;
i
<
3
;
i
++
)
{
bufferofs
=
screenloc
[
i
];
DrawPlayBorder
();
}
bufferofs
=
temp
;
DrawPlayBorder
();
}
/*
...
...
@@ -848,22 +832,13 @@ void DrawPlayBorder (void)
void
DrawPlayScreen
(
void
)
{
int
i
,
j
,
p
,
m
;
unsigned
temp
;
VW_FadeOut
();
temp
=
bufferofs
;
CA_CacheGrChunk
(
STATUSBARPIC
);
for
(
i
=
0
;
i
<
3
;
i
++
)
{
bufferofs
=
screenloc
[
i
];
DrawPlayBorder
();
VWB_DrawPic
(
0
,
200
-
STATUSLINES
,
STATUSBARPIC
);
}
bufferofs
=
temp
;
DrawPlayBorder
();
VWB_DrawPic
(
0
,
200
-
STATUSLINES
,
STATUSBARPIC
);
UNCACHEGRCHUNK
(
STATUSBARPIC
);
...
...
@@ -1172,11 +1147,9 @@ void Died (void)
//
FinishPaletteShifts
();
bufferofs
+=
screenofs
;
VW_Bar
(
0
,
0
,
viewwidth
,
viewheight
,
4
);
IN_ClearKeysDown
();
FizzleFade
(
bufferofs
,
displayofs
+
screenofs
,
viewwidth
,
viewheight
,
70
,
false
);
bufferofs
-=
screenofs
;
IN_UserInput
(
100
);
SD_WaitSoundDone
();
...
...
src/wl_inter.c
View file @
8e70f4b8
...
...
@@ -14,7 +14,6 @@
void
ClearSplitVWB
(
void
)
{
memset
(
update
,
0
,
sizeof
(
update
));
WindowX
=
0
;
WindowY
=
0
;
WindowW
=
320
;
...
...
@@ -941,13 +940,7 @@ void LevelCompleted (void)
#endif
VW_FadeOut
();
temp
=
bufferofs
;
for
(
i
=
0
;
i
<
3
;
i
++
)
{
bufferofs
=
screenloc
[
i
];
DrawPlayBorder
();
}
bufferofs
=
temp
;
DrawPlayBorder
();
UnCacheLump
(
LEVELEND_LUMP_START
,
LEVELEND_LUMP_END
);
}
...
...
src/wl_main.c
View file @
8e70f4b8
...
...
@@ -1066,15 +1066,9 @@ void InitGame (void)
for
(
i
=
0
;
i
<
MAPSIZE
;
i
++
)
{
nearmapylookup
[
i
]
=
&
tilemap
[
0
][
0
]
+
MAPSIZE
*
i
;
farmapylookup
[
i
]
=
i
*
64
;
}
for
(
i
=
0
;
i
<
PORTTILESHIGH
;
i
++
)
uwidthtable
[
i
]
=
UPDATEWIDE
*
i
;
updateptr
=
&
update
[
0
];
ReadConfig
();
...
...
src/wl_play.c
View file @
8e70f4b8
...
...
@@ -20,7 +20,6 @@ objtype objlist[MAXACTORS],*new,*obj,*player,*lastobj,
*
objfreelist
,
*
killerobj
;
unsigned
farmapylookup
[
MAPSIZE
];
byte
*
nearmapylookup
[
MAPSIZE
];
boolean
singlestep
,
godmode
,
noclip
;
int
extravbls
;
...
...
@@ -33,11 +32,6 @@ objtype *actorat[MAPSIZE][MAPSIZE];
// replacing refresh manager
//
unsigned
mapwidth
,
mapheight
,
tics
;
byte
*
updateptr
;
unsigned
mapwidthtable
[
64
];
unsigned
uwidthtable
[
UPDATEHIGH
];
unsigned
blockstarts
[
UPDATEWIDE
*
UPDATEHIGH
];
byte
update
[
UPDATESIZE
];
//
// control info
...
...
@@ -721,7 +715,6 @@ void CheckKeys (void)
//
if
(
Paused
)
{
bufferofs
=
displayofs
;
LatchDrawPic
(
20
-
4
,
80
-
2
*
8
,
PAUSEDPIC
);
SD_MusicOff
();
IN_Ack
();
...
...
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