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
1e1f7391
Commit
1e1f7391
authored
Sep 12, 2004
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some possible compile errors.
added a few missing "Clear accumulated mouse movement" calls.
parent
ff5f6601
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
misc.h
src/misc.h
+6
-0
sd_null.c
src/sd_null.c
+2
-1
wl_menu.c
src/wl_menu.c
+5
-0
wl_text.c
src/wl_text.c
+2
-0
No files found.
src/misc.h
View file @
1e1f7391
...
@@ -12,8 +12,14 @@ unsigned long get_TimeCount();
...
@@ -12,8 +12,14 @@ unsigned long get_TimeCount();
long
filelength
(
int
handle
);
long
filelength
(
int
handle
);
#ifndef stricmp
#define stricmp strcasecmp
#define stricmp strcasecmp
#endif
#ifndef strnicmp
#define strnicmp strncasecmp
#define strnicmp strncasecmp
#endif
char
*
strlwr
(
char
*
s
);
char
*
strlwr
(
char
*
s
);
char
*
itoa
(
int
value
,
char
*
string
,
int
radix
);
char
*
itoa
(
int
value
,
char
*
string
,
int
radix
);
...
...
src/sd_null.c
View file @
1e1f7391
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
boolean
AdLibPresent
,
SoundBlasterPresent
;
boolean
AdLibPresent
,
SoundBlasterPresent
;
SDMode
SoundMode
,
MusicMode
;
SDMode
SoundMode
;
SMMode
MusicMode
;
SDSMode
DigiMode
;
SDSMode
DigiMode
;
static
boolean
SD_Started
;
static
boolean
SD_Started
;
...
...
src/wl_menu.c
View file @
1e1f7391
...
@@ -547,8 +547,11 @@ int CP_CheckQuick(unsigned scancode)
...
@@ -547,8 +547,11 @@ int CP_CheckQuick(unsigned scancode)
if
(
loadedgame
)
if
(
loadedgame
)
playstate
=
ex_abort
;
playstate
=
ex_abort
;
lasttimecount
=
get_TimeCount
();
lasttimecount
=
get_TimeCount
();
IN_GetMouseDelta
(
NULL
,
NULL
);
// Clear accumulated mouse movement
#ifndef SPEAR
#ifndef SPEAR
CA_UnCacheGrChunk
(
C_CURSOR1PIC
);
CA_UnCacheGrChunk
(
C_CURSOR1PIC
);
CA_UnCacheGrChunk
(
C_CURSOR2PIC
);
CA_UnCacheGrChunk
(
C_CURSOR2PIC
);
...
@@ -615,6 +618,8 @@ int CP_CheckQuick(unsigned scancode)
...
@@ -615,6 +618,8 @@ int CP_CheckQuick(unsigned scancode)
lasttimecount
=
get_TimeCount
();
lasttimecount
=
get_TimeCount
();
IN_GetMouseDelta
(
NULL
,
NULL
);
// Clear accumulated mouse movement
#ifndef SPEAR
#ifndef SPEAR
CA_UnCacheGrChunk
(
C_CURSOR1PIC
);
CA_UnCacheGrChunk
(
C_CURSOR1PIC
);
CA_UnCacheGrChunk
(
C_CURSOR2PIC
);
CA_UnCacheGrChunk
(
C_CURSOR2PIC
);
...
...
src/wl_text.c
View file @
1e1f7391
...
@@ -696,6 +696,8 @@ void EndText()
...
@@ -696,6 +696,8 @@ void EndText()
SETFONTCOLOR
(
0
,
15
);
SETFONTCOLOR
(
0
,
15
);
IN_ClearKeysDown
();
IN_ClearKeysDown
();
IN_GetMouseDelta
(
NULL
,
NULL
);
// Clear accumulated mouse movement
FreeMusic
();
FreeMusic
();
}
}
...
...
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