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
36f38d60
Commit
36f38d60
authored
May 04, 2001
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mostly documentation updates.
Removed OpenAL code again.
parent
859b876f
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
579 deletions
+32
-579
Makefile
src/Makefile
+0
-5
NOTES
src/NOTES
+2
-1
README
src/README
+11
-0
TODO
src/TODO
+19
-6
id_ca.c
src/id_ca.c
+0
-8
id_ca.h
src/id_ca.h
+0
-3
sd_oal.c
src/sd_oal.c
+0
-547
wl_act2.c
src/wl_act2.c
+0
-3
wl_text.c
src/wl_text.c
+0
-6
No files found.
src/Makefile
View file @
36f38d60
...
@@ -22,11 +22,6 @@ OBJS += sd_null.o
...
@@ -22,11 +22,6 @@ OBJS += sd_null.o
#OBJS += sd_oss.o fmopl.o
#OBJS += sd_oss.o fmopl.o
#CFLAGS += -D_REENTRANT
#CFLAGS += -D_REENTRANT
#LFLAGS += -lpthread
#LFLAGS += -lpthread
#OBJS += sd_oal.o fmopl.o
#CFLAGS += -D_REENTRANT -I/home/relnev/cvs/oal/include/
#LFLAGS += -lpthread -ldl -L/home/relnev/cvs/oal/linux/src/ -lopenal # /home/relnev/cvs/oal/linux/src/libopenal.a
#LFLAGS += -lpthread /home/relnev/ElectricFence-2.2.2/libefence.a
CFLAGS
+=
`
sdl-config
--cflags
`
CFLAGS
+=
`
sdl-config
--cflags
`
...
...
src/NOTES
View file @
36f38d60
Just some random facts/thoughts/ideas/musings:
Just some random facts/thoughts/ideas/musings:
* Wolfenstein 3D for:
* Wolfenstein 3D for:
- PC
(released, of course)
[May 5, 1992]
- PC [May 5, 1992]
- PC (Spear of Destiny) [September 18, 1992]
- PC (Spear of Destiny) [September 18, 1992]
- SNES
- SNES
- Macintosh
- Macintosh
...
@@ -24,6 +24,7 @@ Just some random facts/thoughts/ideas/musings:
...
@@ -24,6 +24,7 @@ Just some random facts/thoughts/ideas/musings:
- Windows
- Windows
WolfGL: http://www.sourceforge.net/projects/wolfgl/
WolfGL: http://www.sourceforge.net/projects/wolfgl/
Wolf DX: http://www.phoebe.co.uk/glwolf/
Wolf DX: http://www.phoebe.co.uk/glwolf/
NewWolf: http://wolfgl.narod.ru/
- Acorn/Archemedes
- Acorn/Archemedes
* PC source released August(?) ??, 1995:
* PC source released August(?) ??, 1995:
...
...
src/README
View file @
36f38d60
TODO: I still need to write this file
NOTE: save games and configuration files now have version fields. Version
NOTE: save games and configuration files now have version fields. Version
0xFFFFFFFF is only for non-release/debug/snapshot versions (in other words,
0xFFFFFFFF is only for non-release/debug/snapshot versions (in other words,
the file formats may change at any time).
the file formats may change at any time).
...
@@ -7,6 +9,15 @@ How to use:
...
@@ -7,6 +9,15 @@ How to use:
About:
About:
Thanks:
Thanks:
* id Software
* David Haslam
* Ryan Gordon
* Bill Heineman
* Dan Olson
* Leonardo Zide
* Tatsuyuki Satoh
* Chuck Mason
* And everyone who has emailed me about this code! Thanks!
-----
-----
Steven Fuller
Steven Fuller
...
...
src/TODO
View file @
36f38d60
...
@@ -16,7 +16,7 @@ M M - add music (would need to RE the sound lib)
...
@@ -16,7 +16,7 @@ M M - add music (would need to RE the sound lib)
B I - complete savegame, config formats
B I - complete savegame, config formats
M I - add SDL
M I - add SDL
B R - decide if to keep SVGA/X11 targets
B R - decide if to keep SVGA/X11 targets
B M - configure scripts?
B M - configure scripts?
(autoconf/automake/etc)
B M - port to dreamcast?
B M - port to dreamcast?
B M - add compression to savegames/config
B M - add compression to savegames/config
B I - play through game (w/ sound and music) to make sure things work
B I - play through game (w/ sound and music) to make sure things work
...
@@ -30,19 +30,23 @@ B I - add mouse support
...
@@ -30,19 +30,23 @@ B I - add mouse support
B M - add joystick/gamepad support
B M - add joystick/gamepad support
P I - fill in the new fizzlefade function
P I - fill in the new fizzlefade function
P I - add sound "emulation" to the necessary targets so WaitSoundDone works
P I - add sound "emulation" to the necessary targets so WaitSoundDone works
B R - autoconf/automake
P R - change boolean SD_PlaySound to void SD_PlaySound
P R - change boolean SD_PlaySound to void SD_PlaySound
P M - position pushwall sounds
P M - position pushwall sounds
P M - id_ca.c cache code: fix/readd/rewrite the "garbage collection" system
P M - id_ca.c cache code: fix/readd/rewrite the "garbage collection" system
P M - rewrite id_ca.c: uniform memory handling system
P M - rewrite id_ca.c: uniform memory handling system
P M - either move id_heads into wl_def or split header files apart
P M - either move id_heads into wl_def or split header files apart
P R - rewrite fmopl.c to avoid licensing issues
P R - rewrite fmopl.c to avoid licensing issues
P R - remove CA_LoadAllSounds now that the sound code does everything
B I - README, etc.
B M - Code Documentation
P M - rename visable to visible
B M - change the commandline handling (use something like getopt?)
P R - rewrite RLEWexpand to not use words
B M - openal support
Complete:
Complete:
P I - fix or remove fizzle fade
P I - fix or remove fizzle fade
- Removed [nice, but very hacky effect]
- Removed [nice, but very hacky effect]
P R - openal sound
- almost complete
------------------------------------------------------------------------------
------------------------------------------------------------------------------
* what exactly is the point of all the DigiMode checks in wl_act2.c?
* what exactly is the point of all the DigiMode checks in wl_act2.c?
* add ylookup?
* add ylookup?
...
@@ -53,7 +57,6 @@ example (is this reproducible?)
...
@@ -53,7 +57,6 @@ example (is this reproducible?)
* use static and const where appropriate
* use static and const where appropriate
* clean up header files, especially wl_def.h, where some declarations aren't
* clean up header files, especially wl_def.h, where some declarations aren't
in the right place
in the right place
* change the current parameter handling code to something like getopt
* remove check for debugmode?
* remove check for debugmode?
* check filehandling (ex, file missing, bad file type, and such)
* check filehandling (ex, file missing, bad file type, and such)
PlayDemoFromFile specifically
PlayDemoFromFile specifically
...
@@ -61,7 +64,6 @@ PlayDemoFromFile specifically
...
@@ -61,7 +64,6 @@ PlayDemoFromFile specifically
- probably due to waiting for sounds to finish
- probably due to waiting for sounds to finish
* split wl_draw into two files (draw independent, draw dependent)
* split wl_draw into two files (draw independent, draw dependent)
* when window loses focus, it should clear the keys
* when window loses focus, it should clear the keys
* rename visable to visible
------------------------------------------------------------------------------
------------------------------------------------------------------------------
fix:
fix:
void ControlMovement(objtype *ob) (wl_agent.c)
void ControlMovement(objtype *ob) (wl_agent.c)
...
@@ -82,6 +84,17 @@ Sound Menu:
...
@@ -82,6 +84,17 @@ Sound Menu:
- On [AdLib/OPL2]
- On [AdLib/OPL2]
- Off
- Off
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Where to Look for/Save Files:
~/.wolf3d
cwd
/usr/games/share
$ENVIRONMENT_VARIABLE
Need to establish where to look, order to look, strict/lenient loading (load
all files from the determined game directory, or look in order for each
file), and where to put savegames and config files.
------------------------------------------------------------------------------
Save game header:
Save game header:
8 bytes: WOLF3D, 0, 0
8 bytes: WOLF3D, 0, 0
4 bytes: SAV, 0
4 bytes: SAV, 0
...
...
src/id_ca.c
View file @
36f38d60
...
@@ -715,14 +715,6 @@ void CA_CacheMap(int mapnum)
...
@@ -715,14 +715,6 @@ void CA_CacheMap(int mapnum)
/* ======================================================================== */
/* ======================================================================== */
void
CA_UpLevel
()
{
}
void
CA_DownLevel
()
{
}
void
MM_Startup
()
void
MM_Startup
()
{
{
}
}
...
...
src/id_ca.h
View file @
36f38d60
...
@@ -43,9 +43,6 @@ void CA_CacheMap(int mapnum);
...
@@ -43,9 +43,6 @@ void CA_CacheMap(int mapnum);
void
CA_CacheGrChunk
(
int
chunk
);
void
CA_CacheGrChunk
(
int
chunk
);
void
CA_UnCacheGrChunk
(
int
chunk
);
void
CA_UnCacheGrChunk
(
int
chunk
);
void
CA_UpLevel
();
void
CA_DownLevel
();
/* ======================================================================= */
/* ======================================================================= */
void
MM_Startup
();
void
MM_Startup
();
...
...
src/sd_oal.c
deleted
100644 → 0
View file @
859b876f
This diff is collapsed.
Click to expand it.
src/wl_act2.c
View file @
36f38d60
...
@@ -2446,13 +2446,10 @@ void A_StartDeathCam(objtype *ob)
...
@@ -2446,13 +2446,10 @@ void A_StartDeathCam(objtype *ob)
FizzleFade
(
false
,
70
,
127
);
FizzleFade
(
false
,
70
,
127
);
CA_UpLevel
();
CacheLump
(
LEVELEND_LUMP_START
,
LEVELEND_LUMP_END
);
CacheLump
(
LEVELEND_LUMP_START
,
LEVELEND_LUMP_END
);
Write
(
0
,
7
,
STR_SEEAGAIN
);
Write
(
0
,
7
,
STR_SEEAGAIN
);
CA_DownLevel
();
VW_UpdateScreen
();
VW_UpdateScreen
();
IN_UserInput
(
300
);
IN_UserInput
(
300
);
...
...
src/wl_text.c
View file @
36f38d60
...
@@ -661,8 +661,6 @@ void HelpScreens()
...
@@ -661,8 +661,6 @@ void HelpScreens()
int
artnum
;
int
artnum
;
char
*
text
;
char
*
text
;
CA_UpLevel
();
artnum
=
helpextern
;
artnum
=
helpextern
;
CA_CacheGrChunk
(
artnum
);
CA_CacheGrChunk
(
artnum
);
text
=
(
char
*
)
grsegs
[
artnum
];
text
=
(
char
*
)
grsegs
[
artnum
];
...
@@ -674,7 +672,6 @@ void HelpScreens()
...
@@ -674,7 +672,6 @@ void HelpScreens()
VW_FadeOut
();
VW_FadeOut
();
FreeMusic
();
FreeMusic
();
CA_DownLevel
();
}
}
//
//
...
@@ -687,8 +684,6 @@ void EndText()
...
@@ -687,8 +684,6 @@ void EndText()
ClearMemory
();
ClearMemory
();
CA_UpLevel
();
artnum
=
endextern
+
gamestate
.
episode
;
artnum
=
endextern
+
gamestate
.
episode
;
CA_CacheGrChunk
(
artnum
);
CA_CacheGrChunk
(
artnum
);
text
=
(
char
*
)
grsegs
[
artnum
];
text
=
(
char
*
)
grsegs
[
artnum
];
...
@@ -702,7 +697,6 @@ void EndText()
...
@@ -702,7 +697,6 @@ void EndText()
IN_ClearKeysDown
();
IN_ClearKeysDown
();
FreeMusic
();
FreeMusic
();
CA_DownLevel
();
}
}
#endif
#endif
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