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
0c2226af
Commit
0c2226af
authored
May 06, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Everything except InterMis.c compiles.
parent
97bb5845
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
23 additions
and
29 deletions
+23
-29
Doors.c
macsrc/Doors.c
+1
-1
InterMis.c
macsrc/InterMis.c
+1
-1
Main.c
macsrc/Main.c
+4
-2
Makefile
macsrc/Makefile
+2
-2
Music.c
macsrc/Music.c
+1
-1
RefBsp.c
macsrc/RefBsp.c
+1
-1
RefSprite.c
macsrc/RefSprite.c
+1
-1
Refresh.c
macsrc/Refresh.c
+1
-1
Refresh2.c
macsrc/Refresh2.c
+1
-1
WolfIO.c
macsrc/WolfIO.c
+1
-1
wolfdef.h
macsrc/wolfdef.h
+9
-17
No files found.
macsrc/Doors.c
View file @
0c2226af
#include "
W
olfdef.h"
#include "
w
olfdef.h"
#include <string.h>
/**********************************
...
...
macsrc/InterMis.c
View file @
0c2226af
#include "
WolfD
ef.h"
#include "
wolfd
ef.h"
#include <string.h>
#include <stdlib.h>
...
...
macsrc/Main.c
View file @
0c2226af
#include "
WolfD
ef.h"
#include "
wolfd
ef.h"
#include <string.h>
#include <stdlib.h>
#include <setjmp.h>
...
...
@@ -144,7 +144,7 @@ jmp_buf ResetJmp;
Boolean
JumpOK
;
extern
Word
NumberIndex
;
void
main
(
void
)
int
main
(
int
argc
,
char
*
argv
[]
)
{
InitTools
();
/* Init the system environment */
WaitTick
();
/* Wait for a system tick to go by */
...
...
@@ -171,4 +171,6 @@ DoGame:
}
}
}
return
0
;
}
macsrc/Makefile
View file @
0c2226af
...
...
@@ -6,10 +6,10 @@ CFLAGS = -g
#CFLAGS = -Os
#CFLAGS = -g -Wall -I/home/relnev/cvs/oal/include
OBJS
=
Data.o Doors.o EnMove.o EnThink.o Int
erMis.o Int
ro.o Level.o
\
OBJS
=
Data.o Doors.o EnMove.o EnThink.o Intro.o Level.o
\
Missiles.o Music.o PlMove.o PlStuff.o PlThink.o PushWall.o
\
RefBsp.o RefSprite.o Refresh.o Refresh2.o Sight.o Main.o
\
StateDef.o WolfMain.o WolfIO.o
Burger.o
StateDef.o WolfMain.o WolfIO.o
InterMis.o
SOBJS
=
$(OBJS)
XOBJS
=
$(OBJS)
GOBJS
=
$(OBJS)
...
...
macsrc/Music.c
View file @
0c2226af
#include "
W
olfdef.h"
#include "
w
olfdef.h"
/**********************************
...
...
macsrc/RefBsp.c
View file @
0c2226af
#include "
WolfD
ef.h"
#include "
wolfd
ef.h"
static
Word
checkcoord
[
11
][
4
]
=
{
/* Indexs to the bspcoord table */
{
3
,
0
,
2
,
1
},
...
...
macsrc/RefSprite.c
View file @
0c2226af
#include "
WolfD
ef.h"
#include "
wolfd
ef.h"
#include <string.h>
Word
*
src1
,
*
src2
,
*
dest
;
/* Used by the sort */
...
...
macsrc/Refresh.c
View file @
0c2226af
#include "
WolfD
ef.h"
#include "
wolfd
ef.h"
#include <string.h>
#include <math.h>
...
...
macsrc/Refresh2.c
View file @
0c2226af
#include "
WolfD
ef.h"
#include "
wolfd
ef.h"
#include <stdlib.h>
Word
MathSize
;
/* What size of math data is calculated? */
...
...
macsrc/WolfIO.c
View file @
0c2226af
#include "
WolfD
ef.h"
#include "
wolfd
ef.h"
#include <string.h>
/**********************************
...
...
macsrc/wolfdef.h
View file @
0c2226af
#ifndef __WOLFDEF__
#define __WOLFDEF__
#define DEMO
/* Define if this is the lame demo for dealers */
/* japversion has mission pics instead */
/* #define JAPVERSION */
/* If code is compiled on a IIgs, pass the compiler presets... */
#ifdef __ORCAC__
#pragma optimize 15
/* Normal optimization */
#pragma memorymodel 0
/* Force small memory model */
#pragma noroot
/* No root files */
#pragma lint -1
/* Full error checking */
segment
"Wolf3d"
;
/* Code segment */
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
/* an angle_t occupies an entire 16 bits so wraparound is automatically handled */
...
...
@@ -25,7 +17,7 @@ typedef unsigned short angle_t; /* Must be short to allow wraparound */
typedef
short
fixed_t
;
/* 8.8 fixed point number */
typedef
unsigned
short
ufixed_t
;
/* 8.8 unsigned fixed point number */
#include
<burger.h>
/* My standard system equates */
#include
"burger.h"
/* My standard system equates */
#include "States.h"
/* Think state equates */
#include "Sounds.h"
/* Sound equates */
#include "Sprites.h"
/* Sprite indexs */
...
...
@@ -540,10 +532,9 @@ extern int rw_centerangle;
extern
Boolean
rw_downside
;
/* True for dir_east and dir_south*/
extern
Byte
*
ArtData
[
64
];
extern
Byte
textures
[
MAPSIZE
*
2
+
5
][
MAPSIZE
];
/* 0-63 is horizontal, 64-127 is vertical*/
/* 128 - 132 are doors*/
/* In Mac.c, 3DO.c, AppleIIgs.c */
/* TODO - these were in Mac.c etc */
/* 128 - 132 are doors*/
/*
extern void InitTools(void);
extern void BlastScreen(void);
extern void BlastScreen2(Rect *BlastRect);
...
...
@@ -558,6 +549,7 @@ extern void EndGetPsyched(void);
extern Word ChooseGameDiff(void);
extern void ShareWareEnd(void);
extern void FinishLoadGame(void);
*/
/* In StateDef.c */
...
...
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