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
6f435bc4
Commit
6f435bc4
authored
Dec 28, 2001
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finally added the mouse stubs to the xlib and svga files.
parent
b62a727d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
13 deletions
+25
-13
Makefile
src/Makefile
+2
-2
NOTES
src/NOTES
+1
-10
README
src/README
+4
-1
vi_svga.c
src/vi_svga.c
+9
-0
vi_xlib.c
src/vi_xlib.c
+9
-0
No files found.
src/Makefile
View file @
6f435bc4
...
@@ -24,11 +24,11 @@ OBJS += sd_null.o
...
@@ -24,11 +24,11 @@ OBJS += sd_null.o
#CFLAGS += -D_REENTRANT
#CFLAGS += -D_REENTRANT
#LFLAGS += -lpthread
#LFLAGS += -lpthread
CFLAGS
+=
`
sdl-config
--cflags
`
CFLAGS
+=
$(
shell
sdl-config
--cflags
)
SLFLAGS
=
$(LFLAGS)
-lvga
SLFLAGS
=
$(LFLAGS)
-lvga
XLFLAGS
=
$(LFLAGS)
-L
/usr/X11R6/lib
-lX11
-lXext
XLFLAGS
=
$(LFLAGS)
-L
/usr/X11R6/lib
-lX11
-lXext
DLFLAGS
=
$(LFLAGS)
`
sdl-config
--libs
`
-L
/usr/X11R6/lib
-lX11
-lXext
DLFLAGS
=
$(LFLAGS)
$(
shell
sdl-config
--libs
)
-L
/usr/X11R6/lib
-lX11
-lXext
NASM
=
nasm
NASM
=
nasm
...
...
src/NOTES
View file @
6f435bc4
...
@@ -65,15 +65,6 @@ How to get Wolfenstein 3D:
...
@@ -65,15 +65,6 @@ How to get Wolfenstein 3D:
http://www.idsoftware.com (look for how to order direct, etc)
http://www.idsoftware.com (look for how to order direct, etc)
http://www.activison.com
http://www.activison.com
Wolfenstein 3D was originally planned to be a much more complex game. ...
... lots of unused code ... possibly from previous projects and incarnations
of Wolf3D. In fact, Commander Keen 4 shares a lot of code with Wolf3D!
Version 1.4 of Wolfenstein 3D (full) did not had a Read Me! option, but the
text still exists in the data files, but all the graphics are incorrect
(wrong graphic numbers, etc).
-----
-----
Steven Fuller
Steven Fuller
relnev@
atdot
.org
relnev@
icculus
.org
src/README
View file @
6f435bc4
...
@@ -4,6 +4,8 @@ NOTE: save games and configuration files now have version fields. Version
...
@@ -4,6 +4,8 @@ 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).
NOTE: This requires SDL 1.2 (http://www.libsdl.org)
How to use:
How to use:
About:
About:
...
@@ -21,4 +23,5 @@ Thanks:
...
@@ -21,4 +23,5 @@ Thanks:
-----
-----
Steven Fuller
Steven Fuller
relnev@atdot.org
relnev@icculus.org
src/vi_svga.c
View file @
6f435bc4
...
@@ -205,6 +205,15 @@ void keyboard_handlerx(int code, int press)
...
@@ -205,6 +205,15 @@ void keyboard_handlerx(int code, int press)
keyboard_handler
(
SVGALibToScancode
(
code
),
press
);
keyboard_handler
(
SVGALibToScancode
(
code
),
press
);
}
}
byte
IN_MouseButtons
()
{
return
0
;
}
void
IN_GetMouseDelta
(
int
*
dx
,
int
*
dy
)
{
}
void
INL_Update
()
void
INL_Update
()
{
{
while
(
keyboard_update
())
;
/* get all events */
while
(
keyboard_update
())
;
/* get all events */
...
...
src/vi_xlib.c
View file @
6f435bc4
...
@@ -627,6 +627,15 @@ static int XKeysymToScancode(KeySym keysym)
...
@@ -627,6 +627,15 @@ static int XKeysymToScancode(KeySym keysym)
}
}
}
}
byte
IN_MouseButtons
()
{
return
0
;
}
void
IN_GetMouseDelta
(
int
*
dx
,
int
*
dy
)
{
}
void
INL_Update
()
void
INL_Update
()
{
{
HandleXEvents
();
HandleXEvents
();
...
...
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