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
59f8e415
Commit
59f8e415
authored
Dec 07, 2000
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id_ca.c, id_ca.h: Changed filename bases to #defines (instead of arrays)
parent
84604a9b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
18 deletions
+11
-18
TODO
src/TODO
+1
-0
id_ca.c
src/id_ca.c
+9
-11
id_ca.h
src/id_ca.h
+1
-7
No files found.
src/TODO
View file @
59f8e415
...
...
@@ -69,6 +69,7 @@ function with same parameters, only difference is the name)
* look for places where gfx needs to be redrawn, like back to game etc
* fizzlefade is hackish, stipple buf would work ok in opengl, maybe only
update once per frame or such...
no idea how to do fizzlefade in TrueColor X
* check filehandling (ex, file missing, bad file type, and such)
PlayDemoFromFile specifically
* make sure all infinite loops are found (looping around Keyboard)
...
...
src/id_ca.c
View file @
59f8e415
/* id_ca.c */
#include "id_heads.h"
typedef
struct
...
...
@@ -30,15 +28,15 @@ maptype *mapheaderseg[NUMMAPS];
byte
*
audiosegs
[
NUMSNDCHUNKS
];
byte
*
grsegs
[
NUMCHUNKS
];
char
extension
[
5
]
,
gheadname
[
10
]
=
"vgahead."
,
gfilename
[
10
]
=
"vgagraph."
,
gdictname
[
10
]
=
"vgadict."
,
mheadname
[
10
]
=
"maphead."
,
gmapsname
[
10
]
=
"gamemaps."
,
aheadname
[
10
]
=
"audiohed."
,
afilename
[
10
]
=
"audiot."
,
pfilename
[
10
]
=
"vswap."
;
char
extension
[
5
]
;
#define gheadname "vgahead."
#define gfilename "vgagraph."
#define gdictname "vgadict."
#define mheadname "maphead."
#define gmapsname "gamemaps."
#define aheadname "audiohed."
#define afilename "audiot."
#define pfilename "vswap."
static
long
*
grstarts
;
/* array of offsets in vgagraph, -1 for sparse */
static
long
*
audiostarts
;
/* array of offsets in audio / audiot */
...
...
src/id_ca.h
View file @
59f8e415
...
...
@@ -23,13 +23,7 @@ extern maptype *mapheaderseg[NUMMAPS];
extern
byte
*
audiosegs
[
NUMSNDCHUNKS
];
extern
byte
*
grsegs
[
NUMCHUNKS
];
extern
char
extension
[
5
],
gheadname
[
10
],
gfilename
[
10
],
gdictname
[
10
],
mheadname
[
10
],
aheadname
[
10
],
afilename
[
10
];
extern
char
extension
[
5
];
/* ======================================================================== */
...
...
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