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
4320f938
Commit
4320f938
authored
Nov 24, 2003
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
static,const updates.
parent
e7ec001f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
vi_comm.c
src/vi_comm.c
+4
-5
No files found.
src/vi_comm.c
View file @
4320f938
...
...
@@ -32,7 +32,7 @@ ControlType Controls[MaxPlayers];
=============================================================================
*/
static
byte
ASCIINames
[]
=
// Unshifted ASCII for scan codes
static
const
byte
ASCIINames
[]
=
// Unshifted ASCII for scan codes
{
// 0 1 2 3 4 5 6 7 8 9 A B C D E F
0
,
27
,
'1'
,
'2'
,
'3'
,
'4'
,
'5'
,
'6'
,
'7'
,
'8'
,
'9'
,
'0'
,
'-'
,
'='
,
8
,
9
,
// 0
...
...
@@ -61,14 +61,15 @@ static boolean IN_Started;
static
boolean
CapsLock
;
static
ScanCode
CurCode
,
LastCode
;
static
Direction
DirTable
[]
=
// Quick lookup for total direction
static
const
Direction
DirTable
[]
=
// Quick lookup for total direction
{
dir_NorthWest
,
dir_North
,
dir_NorthEast
,
dir_West
,
dir_None
,
dir_East
,
dir_SouthWest
,
dir_South
,
dir_SouthEast
};
static
boolean
btnstate
[
8
];
void
keyboard_handler
(
int
code
,
int
press
)
{
byte
k
,
c
=
0
;
...
...
@@ -346,8 +347,6 @@ IN_CheckAck();
//
///////////////////////////////////////////////////////////////////////////
boolean
btnstate
[
8
];
void
IN_StartAck
(
void
)
{
unsigned
i
,
buttons
;
...
...
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