Commit 6f435bc4 authored by Steven Fuller's avatar Steven Fuller

Finally added the mouse stubs to the xlib and svga files.

parent b62a727d
...@@ -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
......
...@@ -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
...@@ -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
...@@ -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 */
......
...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment