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
e13d79d1
Commit
e13d79d1
authored
Nov 30, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small cleanups
parent
8cb83d7e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
31 deletions
+28
-31
IDEAS
src/IDEAS
+4
-5
Makefile
src/Makefile
+1
-0
fmopl.c
src/fmopl.c
+2
-0
id_vh.c
src/id_vh.c
+3
-3
wl_def.h
src/wl_def.h
+15
-22
wl_draw.c
src/wl_draw.c
+2
-0
wl_main.c
src/wl_main.c
+1
-1
No files found.
src/IDEAS
View file @
e13d79d1
...
...
@@ -11,15 +11,14 @@
* Network support!
* Fully compile with no warnings/errors using -Wall -ansi -pedantic and with
other compilers (would need to turn off warnings about unused parameters)
* Port to: Linux/SVGAlib, Linux/X (Windowed and DGA), Linux/OpenGL,
DOS/Allegro?, Win32/GDI?, Win32/DX
, Win32/D3D?, Win32/OpenGL, BeOS?, Mac
OS?,
QNX?
* Port to: Linux/SVGAlib, Linux/X (Windowed and DGA), Linux/OpenGL
?
,
DOS/Allegro?, Win32/GDI?, Win32/DX
?, Win32/D3D?, Win32/OpenGL, Be
OS?,
MacOS?,
QNX?
* Ease in using demos. Playing demos from files, recording to files, batch
playing, and so on.
* Make Wolf3D the game it was originally planned to be... More strategy...
* Empty TODO File (TODO states a list of things which need to/should be done
regardless of future plans [IDEAS]) and no TODO/FIXMEs in the source
code
regardless of future plans [IDEAS]) and no TODOs in the source code
* Test with other available mods (that were compatible with the original
game)
* Unified input handling
...
...
src/Makefile
View file @
e13d79d1
...
...
@@ -2,6 +2,7 @@ CC = gcc
#CFLAGS = -Wall -O6 -fomit-frame-pointer -ffast-math -funroll-loops -mpentiumpro -mcpu=pentiumpro -march=pentiumpro
CFLAGS
=
-g
-Wall
#CFLAGS = -g -Wall -pedantic
#CFLAGS = -Os -Wall
#CFLAGS = -Os -Wall -fomit-frame-pointer -ffast-math -mpentiumpro -mcpu=pentiumpro -march=pentiumpro
...
...
src/fmopl.c
View file @
e13d79d1
...
...
@@ -20,7 +20,9 @@
#define PI 3.14159265358979323846
#endif
#ifndef INLINE
#define INLINE inline
#endif
void
logerror
(
const
char
*
text
,
...)
{
...
...
src/id_vh.c
View file @
e13d79d1
...
...
@@ -7,7 +7,7 @@
pictabletype
*
pictable
;
int
px
,
py
;
byte
fontcolor
,
backcolor
;
byte
fontcolor
,
backcolor
;
int
fontnumber
;
boolean
screenfaded
;
...
...
@@ -209,7 +209,7 @@ void VL_FadeOut(int start, int end, int red, int green, int blue, int steps)
//
// final color
//
VL_FillPalette
(
red
,
green
,
blue
);
VL_FillPalette
(
red
,
green
,
blue
);
screenfaded
=
true
;
}
...
...
@@ -245,7 +245,7 @@ void VL_FadeIn(int start, int end, const byte *palette, int steps)
}
VL_WaitVBL
(
1
);
VL_SetPalette
(
&
palette2
[
0
][
0
]);
VL_SetPalette
(
&
palette2
[
0
][
0
]);
}
//
...
...
src/wl_def.h
View file @
e13d79d1
...
...
@@ -885,8 +885,6 @@ extern fixed viewx,viewy; // the focal point
extern
int
viewangle
;
extern
fixed
viewsin
,
viewcos
;
extern
unsigned
postx
;
extern
int
horizwall
[],
vertwall
[];
extern
unsigned
pwallpos
;
...
...
@@ -908,9 +906,6 @@ void ThreeDRefresh (void);
#define SPDPATROL 512
#define SPDDOG 1500
extern
dirtype
opposite
[
9
];
extern
dirtype
diagonal
[
9
][
9
];
void
SpawnNewObj
(
unsigned
tilex
,
unsigned
tiley
,
statetype
*
state
);
void
NewState
(
objtype
*
ob
,
statetype
*
state
);
...
...
@@ -943,8 +938,6 @@ typedef struct
/* table data after dataofs[rightpix-leftpix+1] */
}
PACKED
t_compshape
;
extern
int
maxscale
;
void
SetupScaling
(
int
maxscaleheight
);
void
ScaleShape
(
int
xcenter
,
int
shapenum
,
unsigned
height
);
void
SimpleScaleShape
(
int
xcenter
,
int
shapenum
,
unsigned
height
);
...
...
@@ -1123,7 +1116,7 @@ void SpawnHitler (int tilex, int tiley);
=============================================================================
*/
extern
void
HelpScreens
(
void
);
extern
void
EndText
(
void
);
extern
void
HelpScreens
(
);
extern
void
EndText
(
);
#endif
src/wl_draw.c
View file @
e13d79d1
...
...
@@ -38,6 +38,8 @@ static unsigned postx;
static
void
AsmRefresh
();
void
xBuildCompScale
(
int
height
,
byte
*
source
,
int
x
);
#define NOASM
#ifndef NOASM
#define FixedByFrac(x, y) \
({ unsigned long z; \
...
...
src/wl_main.c
View file @
e13d79d1
...
...
@@ -653,7 +653,7 @@ void CalcProjection(long focal)
===================
*/
void
SetupWalls
(
void
)
void
SetupWalls
(
)
{
int
i
;
...
...
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