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
1eeb18de
Commit
1eeb18de
authored
Jun 04, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing old file
parent
b7b5166f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
102 deletions
+0
-102
Burger.h
macsrc/Burger.h
+0
-102
No files found.
macsrc/Burger.h
deleted
100644 → 0
View file @
b7b5166f
typedef
unsigned
int
Word
;
typedef
unsigned
long
LongWord
;
#ifndef __MACTYPES__
typedef
unsigned
char
Byte
;
typedef
unsigned
char
Boolean
;
#endif
#define BLACK 255
#define DARKGREY 250
#define BROWN 101
#define PURPLE 133
#define BLUE 210
#define DARKGREEN 229
#define ORANGE 23
#define RED 216
#define BEIGE 14
#define YELLOW 5
#define GREEN 225
#define LIGHTBLUE 150
#define LILAC 48
#define PERIWINKLE 120
#define LIGHTGREY 43
#define WHITE 0
#define __MAC__
#define __BIGENDIAN__
#define SfxActive 1
#define MusicActive 2
#define VideoSize 64000
#define SetAuxType(x,y)
#define SetFileType(x,y)
extern
unsigned
char
*
VideoPointer
;
extern
Word
KeyModifiers
;
extern
Word
ScanCode
;
extern
Word
KilledSong
;
extern
Word
SystemState
;
extern
Word
VideoWidth
;
extern
LongWord
LastTick
;
extern
LongWord
YTable
[
480
];
extern
Handle
RezHandle
;
void
DLZSS
(
Byte
*
Dest
,
Byte
*
Src
,
LongWord
Length
);
void
DLZB
(
Byte
*
Dest
,
Byte
*
Src
,
LongWord
Length
);
LongWord
SwapLong
(
LongWord
Val
);
unsigned
short
SwapUShort
(
unsigned
short
Val
);
short
SwapShort
(
short
Val
);
void
WaitTick
(
void
);
void
WaitTicks
(
Word
TickCount
);
Word
WaitTicksEvent
(
Word
TickCount
);
Word
WaitEvent
(
void
);
LongWord
ReadTick
(
void
);
void
*
AllocSomeMem
(
LongWord
Size
);
void
FreeSomeMem
(
void
*
MemPtr
);
Word
GetAKey
(
void
);
Word
AllKeysUp
(
void
);
Word
WaitKey
(
void
);
void
FlushKeys
(
void
);
Word
FixMacKey
(
EventRecord
*
MyRecord
);
void
SoundOff
(
void
);
void
PlaySound
(
Word
SndNum
);
void
StopSound
(
Word
SndNum
);
void
PlaySong
(
Word
SongNum
);
void
ClearTheScreen
(
Word
Color
);
void
ShowPic
(
Word
PicNum
);
void
InitYTable
(
void
);
void
InstallAFont
(
Word
FontNum
);
void
FontUseMask
(
void
);
void
FontUseZero
(
void
);
void
SetFontXY
(
Word
x
,
Word
y
);
void
FontSetColor
(
Word
Index
,
Word
Color
);
void
DrawAString
(
char
*
TextPtr
);
void
DrawAChar
(
Word
Letter
);
void
ultoa
(
LongWord
Val
,
char
*
TextPtr
);
Word
GetRandom
(
Word
Range
);
void
Randomize
(
void
);
void
DrawShape
(
Word
x
,
Word
y
,
void
*
ShapePtr
);
void
DrawXMShape
(
Word
x
,
Word
y
,
void
*
ShapePtr
);
void
DrawMShape
(
Word
x
,
Word
y
,
void
*
ShapePtr
);
void
EraseMBShape
(
Word
x
,
Word
y
,
void
*
ShapePtr
,
void
*
BackPtr
);
Word
TestMShape
(
Word
x
,
Word
y
,
void
*
ShapePtr
);
Word
TestMBShape
(
Word
x
,
Word
y
,
void
*
ShapePtr
,
void
*
BackPtr
);
void
SetAPalette
(
Word
PalNum
);
void
SetAPalettePtr
(
unsigned
char
*
PalPtr
);
void
FadeTo
(
Word
PalNum
);
void
FadeToBlack
(
void
);
void
FadeToPtr
(
unsigned
char
*
PalPtr
);
void
*
LoadAResource
(
Word
RezNum
);
void
ReleaseAResource
(
Word
RezNum
);
void
KillAResource
(
Word
RezNum
);
void
*
LoadAResource2
(
Word
RezNum
,
LongWord
Type
);
void
ReleaseAResource2
(
Word
RezNum
,
LongWord
Type
);
void
KillAResource2
(
Word
RezNum
,
LongWord
Type
);
void
SaveJunk
(
void
*
AckPtr
,
Word
Length
);
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