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
89713beb
Commit
89713beb
authored
May 10, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanups
parent
b9b5ef39
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
20 deletions
+4
-20
NOTES
src/NOTES
+1
-1
id_heads.h
src/id_heads.h
+1
-7
version.h
src/version.h
+1
-1
vi_xlib.c
src/vi_xlib.c
+1
-1
wl_def.h
src/wl_def.h
+0
-9
wl_main.c
src/wl_main.c
+0
-1
No files found.
src/NOTES
View file @
89713beb
Just some random facts/thoughts/ideas/musings:
http://www.warzone.com/fullnews/902317374.shtml
* Wolfenstein 3D for:
- PC (released, of course) [May 5, 1992]
- PC Spear of Destiny 1992
...
...
src/id_heads.h
View file @
89713beb
...
...
@@ -3,7 +3,7 @@
#ifdef _WIN32
/* TODO: rename dosism, because
lik
e djgpp has glob() */
/* TODO: rename dosism, because
for exampl
e djgpp has glob() */
#define DOSISM
/* for junk which isn't abstracted (namely stuff in wl_menu.c with glob/findfirst and misc.c) */
#undef HAVE_FFBLK
/* TODO: what to do with hacks like this */
...
...
@@ -22,7 +22,6 @@
#define ssize_t SSIZE_T
#else
#undef DOSISM
...
...
@@ -46,15 +45,11 @@ typedef enum {false,true} boolean;
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <math.h>
#include "misc.h"
#include "version.h"
/* ------------------------------------------------------------------------ */
...
...
@@ -83,7 +78,6 @@ typedef enum {false,true} boolean;
/* ---------------- */
typedef
unsigned
char
byte
;
typedef
unsigned
short
int
word
;
typedef
unsigned
long
longword
;
...
...
src/version.h
View file @
89713beb
...
...
@@ -6,7 +6,7 @@
/* SDM = 2 */
/* SOD = 3 */
#ifndef WMODE
#define WMODE
0
#define WMODE
3
#endif
#if WMODE == 0
...
...
src/vi_xlib.c
View file @
89713beb
...
...
@@ -295,7 +295,7 @@ void VL_Startup()
attr
.
event_mask
=
KeyPressMask
|
KeyReleaseMask
|
ExposureMask
;
attrmask
=
/*CWColormap |*/
CWEventMask
;
if
(
dga
)
{
if
(
fullscreen
||
dga
)
{
attrmask
|=
CWOverrideRedirect
;
attr
.
override_redirect
=
True
;
}
...
...
src/wl_def.h
View file @
89713beb
...
...
@@ -20,7 +20,6 @@
#define MAPSPOT(x,y,plane) (*(mapsegs[plane]+farmapylookup[y]+x))
#define ABS(x) ((int)(x)>0?(x):-(x))
#define LABS(x) ((long)(x)>0?(x):-(x))
/*
...
...
@@ -716,8 +715,6 @@ extern fixed sintable[], *costable;
extern
char
configname
[
13
];
void
HelpScreens
(
void
);
void
OrderingInfo
(
void
);
void
CalcProjection
(
long
focal
);
boolean
SetViewSize
(
unsigned
width
,
unsigned
height
);
void
NewGame
(
int
difficulty
,
int
episode
);
...
...
@@ -753,7 +750,6 @@ extern boolean spearflag;
void
DrawPlayBorder
(
void
);
void
ScanInfoPlane
(
void
);
void
SetupGameLevel
(
void
);
void
NormalScreen
(
void
);
void
DrawPlayScreen
(
void
);
void
FizzleOut
(
void
);
void
GameLoop
(
void
);
...
...
@@ -776,9 +772,7 @@ void DrawAllPlayBorderSides (void);
=============================================================================
*/
#ifdef SPEAR
extern
long
funnyticount
;
// FOR FUNNY BJ FACE
#endif
extern
exit_t
playstate
;
...
...
@@ -1043,8 +1037,6 @@ void InitAreas (void);
=============================================================================
*/
#define s_nakedbody s_static10
extern
statetype
s_grddie1
;
extern
statetype
s_dogdie1
;
extern
statetype
s_ofcdie1
;
...
...
@@ -1066,7 +1058,6 @@ extern statetype s_uberdie0;
extern
statetype
s_willdie1
;
extern
statetype
s_deathdie1
;
extern
statetype
s_grdchase1
;
extern
statetype
s_dogchase1
;
extern
statetype
s_ofcchase1
;
...
...
src/wl_main.c
View file @
89713beb
...
...
@@ -443,7 +443,6 @@ boolean LoadTheGame(int file,int x,int y)
CA_FarRead
(
file
,(
void
*
)
areabyplayer
,
sizeof
(
areabyplayer
));
InitActorList
();
DiskFlopAnim
(
x
,
y
);
CA_FarRead
(
file
,(
void
*
)
player
,
sizeof
(
*
player
));
...
...
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