Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
22c6fecb
Commit
22c6fecb
authored
6 months ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Replace non-ASCII characters with \xXX escaped ones.
Too many tools are gungo-ho over UTF-8 these days.
parent
1c0f06b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/syncterm/ooii.c
+93
-93
93 additions, 93 deletions
src/syncterm/ooii.c
with
93 additions
and
93 deletions
src/syncterm/ooii.c
+
93
−
93
View file @
22c6fecb
...
...
@@ -40,7 +40,7 @@ static char diseases[11][14] = // #,str length
static
char
weapons
[
27
][
20
]
=
{
""
,
// 0
"
\xfa
"
,
// 0
"Steel Chain"
,
// 1
"Salanger"
,
// 2
"Natase"
,
// 3
...
...
@@ -71,7 +71,7 @@ static char weapons[27][20] = {
static
char
ammos
[
6
][
20
]
=
{
""
,
// 0
"
\xfa
"
,
// 0
"ZZETs"
,
// 1 { (Trilasm/Exavator) }
"Power Pack"
,
// 2 { (SanPlizer/RaxHaven/E-Sword/) }
"Cirze Supply"
,
// 3 { (Z-Tempest/Devastator/Tevix-Bahn) }
...
...
@@ -81,7 +81,7 @@ static char ammos[6][20] = {
static
char
equips
[
46
][
20
]
=
{
""
,
// 0
"
\xfa
"
,
// 0
"Rations"
,
// 1
"Hemp Rope"
,
// 2
"Silencer"
,
// 3
...
...
@@ -131,7 +131,7 @@ static char equips[46][20] = {
static
char
suits
[
4
][
20
]
=
{
""
,
// 0
"
\xfa
"
,
// 0
"Environmental Suit"
,
// 1
"Combat Suit"
,
// 2
"Anti-G Suit"
...
...
@@ -139,7 +139,7 @@ static char suits[4][20] = {
static
char
armors
[
13
][
20
]
=
{
""
,
// 0
"
\xfa
"
,
// 0
"Leather"
,
// 1
"HeXonium"
,
// 2
"Laser Vest"
,
// 3
...
...
@@ -451,7 +451,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[C] Check
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to HQ
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Supply Room> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Supply Room>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'b'
:
...
...
@@ -469,7 +469,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[V] View Recruit
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Exit to Barracks
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Chambers> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Chambers>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'c'
:
...
...
@@ -489,7 +489,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[T] Terminate Yourself
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Exit
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Specs> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Specs>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'd'
:
...
...
@@ -534,7 +534,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
menuBlock
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
" crystals onhand.
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Bank> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Bank>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'e'
:
...
...
@@ -571,7 +571,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[*] Exit to Barracks
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Games Room> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Games Room>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'f'
:
...
...
@@ -597,7 +597,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[C] Check Your Status
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Exit to Barracks
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Sentry Post> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Sentry Post>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'g'
:
...
...
@@ -620,7 +620,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[S] Send E-Mail
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to Comm. Post
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<E-Mail> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<E-Mail>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'h'
:
...
...
@@ -689,7 +689,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[V] Vaccinate Disease
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to HQ
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Medical Center> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Medical Center>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'j'
:
...
...
@@ -710,7 +710,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[H] Hall of Fame
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to HQ
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Records> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Records>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'k'
:
...
...
@@ -735,7 +735,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[S] Sell Armor
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to Supply Room
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Supply Armor> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Supply Armor>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'l'
:
...
...
@@ -796,7 +796,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[S] Sell Equipment
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to Supply Room
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Supply Equip> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Supply Equip>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
}
break
;
...
...
@@ -850,7 +850,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[S] Sell a Suit
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to Supply Room
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Supply Suits> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Supply Suits>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'p'
:
...
...
@@ -907,7 +907,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[S] Sell Weapon
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Back to Supply Room
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Supply Weapons> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Supply Weapons>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'r'
:
...
...
@@ -991,7 +991,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"
\r\n
-[*] Return to HQ
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Squadrons> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Squadrons>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
't'
:
...
...
@@ -1035,7 +1035,7 @@ readSmallMenu(unsigned char *codeStr)
term_setattr
(
LIGHTGRAY
);
cterm_write
(
cterm
,
"Toggle Combat Modes
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Combat> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Combat>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'u'
:
...
...
@@ -1079,7 +1079,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[P] Pick up items
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-[*] Leave campsite
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Camp> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Camp>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
case
'v'
:
...
...
@@ -1148,7 +1148,7 @@ readSmallMenu(unsigned char *codeStr)
cterm_write
(
cterm
,
"-[*] Exit
\r\n\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTBLUE
);
cterm_write
(
cterm
,
"-<Medpacks> "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"-<Medpacks>
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
break
;
}
...
...
@@ -1162,7 +1162,7 @@ checkStamp(int xx, int yy, char stampStr[]) // used w/ incomingCheck
term_setattr
(
LIGHTCYAN
);
cterm_write
(
cterm
,
stampStr
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
CYAN
);
cterm_write
(
cterm
,
""
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
return
;
}
...
...
@@ -1181,17 +1181,17 @@ incomingCheckStatus(unsigned char *codeStr)
who
=
atoi
(
menuBlock
);
term_setattr
(
who
);
cterm_write
(
cterm
,
"
\r\n
Ŀ
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\r\n
\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xbf
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
LIGHTCYAN
);
cterm_write
(
cterm
,
"Recruit "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
CYAN
);
cterm_write
(
cterm
,
""
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xe9
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
who
);
term_gotoxy
(
34
,
3
);
cterm_write
(
cterm
,
" "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xb3
"
,
-
1
,
NULL
,
0
,
NULL
);
term_gotoxy
(
1
,
4
);
cterm_write
(
cterm
,
""
,
"
\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcf\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1209,7 +1209,7 @@ incomingCheckStatus(unsigned char *codeStr)
term_gotoxy
(
1
,
8
);
cterm_write
(
cterm
,
""
,
"
\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1225,7 +1225,7 @@ incomingCheckStatus(unsigned char *codeStr)
term_gotoxy
(
1
,
11
);
term_setattr
(
who
);
cterm_write
(
cterm
,
""
,
"
\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1237,7 +1237,7 @@ incomingCheckStatus(unsigned char *codeStr)
term_gotoxy
(
1
,
14
);
term_setattr
(
who
);
cterm_write
(
cterm
,
""
,
"
\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1249,7 +1249,7 @@ incomingCheckStatus(unsigned char *codeStr)
term_gotoxy
(
1
,
17
);
term_setattr
(
who
);
cterm_write
(
cterm
,
""
,
"
\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1261,7 +1261,7 @@ incomingCheckStatus(unsigned char *codeStr)
term_gotoxy
(
1
,
21
);
term_setattr
(
who
);
cterm_write
(
cterm
,
""
,
"
\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1284,7 +1284,7 @@ scanChar(unsigned char s, int where, int miniTrik)
switch
(
s
)
{
case
1
:
if
(
where
==
4
)
// AFB
return
""
;
return
"
\xb2\xb2\xb2
"
;
return
"OO "
;
case
2
:
return
"ww "
;
...
...
@@ -1301,9 +1301,9 @@ scanChar(unsigned char s, int where, int miniTrik)
case
8
:
return
"@v "
;
case
9
:
return
" "
;
return
"
\xae\xaf
"
;
case
10
:
return
" "
;
return
"
\xca\xca
"
;
case
11
:
return
"%% "
;
case
12
:
...
...
@@ -1313,31 +1313,31 @@ scanChar(unsigned char s, int where, int miniTrik)
case
14
:
return
"@^ "
;
case
15
:
return
" "
;
return
"
\xf7\xf7
"
;
case
16
:
return
"
İ
"
;
return
"
\xb0\xc4\xb0
"
;
case
17
:
return
""
;
return
"
\xb2\xb1\xb2
"
;
case
19
:
return
"GG "
;
case
20
:
return
"#_ "
;
case
21
:
return
"
"
;
return
"
\x15\x15
"
;
case
22
:
return
" "
;
return
"
\xe1\xe1
"
;
case
23
:
return
" "
;
return
"
\xd8\xd8
"
;
case
24
:
return
" "
;
return
"
\xf9
"
;
case
25
:
if
(
where
==
4
)
// AFB
return
" "
;
return
"
ɻ
"
;
return
"
\xf3\xf2
"
;
return
"
\xc9\xbb
"
;
case
26
:
return
"ii "
;
case
27
:
return
" "
;
return
"
\xe8\xe8
"
;
case
28
:
return
"cc "
;
case
29
:
...
...
@@ -1353,7 +1353,7 @@ scanChar(unsigned char s, int where, int miniTrik)
case
2
:
return
"## "
;
case
3
:
return
"
վ
"
;
return
"
\xd5\xbe
"
;
case
4
:
return
"// "
;
case
5
:
...
...
@@ -1367,19 +1367,19 @@ scanChar(unsigned char s, int where, int miniTrik)
case
31
:
return
"YY "
;
case
32
:
return
" "
;
return
"
\x9d\x9d
"
;
case
33
:
return
" "
;
return
"
\xeb\xeb
"
;
case
34
:
return
" "
;
return
"
\xe4\xaf
"
;
case
35
:
return
"[] "
;
case
37
:
return
"** "
;
case
38
:
return
" "
;
return
"
\x8f\x8f
"
;
case
39
:
return
" "
;
return
"
\xf0\xf0
"
;
case
99
:
return
"[] "
;
default:
...
...
@@ -1403,7 +1403,7 @@ setScanCol(char s)
term_setattr
(
2
);
break
;
case
'"'
:
case
''
:
case
'
\xb0
'
:
term_setattr
(
3
);
break
;
case
'U'
:
...
...
@@ -1413,56 +1413,56 @@ setScanCol(char s)
case
'^'
:
case
'i'
:
case
''
:
case
''
:
case
'
\xe1
'
:
case
'
\xf3
'
:
term_setattr
(
6
);
break
;
case
'O'
:
case
''
:
case
'
\xb2
'
:
case
'Q'
:
term_setattr
(
7
);
break
;
case
''
:
case
'
\xe4
'
:
case
' '
:
term_setattr
(
8
);
break
;
case
''
:
case
'
\xf7
'
:
term_setattr
(
9
);
break
;
case
'-'
:
case
'
'
:
case
'
\x15
'
:
term_setattr
(
10
);
break
;
case
'?'
:
case
'@'
:
case
'/'
:
case
''
:
case
'
\x9d
'
:
case
'Y'
:
case
''
:
case
'
\xeb
'
:
term_setattr
(
12
);
break
;
case
'#'
:
case
'c'
:
case
''
:
case
'
\xf0
'
:
term_setattr
(
13
);
break
;
case
'.'
:
case
'['
:
case
''
:
case
''
:
case
'
\xae
'
:
case
'
\xca
'
:
case
'!'
:
case
''
:
case
''
:
case
'
\xc9
'
:
case
'
\xd8
'
:
term_setattr
(
14
);
break
;
case
'I'
:
case
''
:
case
''
:
case
'
\xe8
'
:
case
'
\x8f
'
:
term_setattr
(
15
);
break
;
}
...
...
@@ -1489,18 +1489,18 @@ incomingMapScanner(unsigned char *codeStr)
term_gotoxy
(
1
,
1
);
term_setattr
(
1
);
cterm_write
(
cterm
,
"
\r\n
Ŀ
\r\n
"
,
"
\r\n
\xda\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xbf
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
" "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xb3
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
""
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xd6\xc4
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
13
);
cterm_write
(
cterm
,
"Infrared"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
"
ķ
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xc4\xb7
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
13
);
cterm_write
(
cterm
,
" Compass Sector Monitor System Monitor "
,
...
...
@@ -1509,42 +1509,42 @@ incomingMapScanner(unsigned char *codeStr)
0
,
NULL
);
term_setattr
(
1
);
cterm_write
(
cterm
,
"
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
" "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\
xb3\
r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xb3
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
" ~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ "
,
"
\xc7
\xb6
~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
1
);
cterm_write
(
cterm
,
"
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
" "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\
xb3\
r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xb3
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
" [ ] [ ] "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xc7
\xb6
[ ] [ ] "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
13
);
cterm_write
(
cterm
,
"Items Hit Points"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
" [: "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
1
);
cterm_write
(
cterm
,
"
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
" "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\
xb3\
r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xb3
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
" [ ] "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xc7
\xb6
[ ] "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
13
);
cterm_write
(
cterm
,
"Campers Radiation "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
"[: "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
1
);
cterm_write
(
cterm
,
"
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
" "
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\
xb3\
r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xb3
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
""
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xd3\xc4\xc4\xc4
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
13
);
cterm_write
(
cterm
,
"scan"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
cterm_write
(
cterm
,
"
Ľ
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xc4\xc4\xc4\xbd
"
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
13
);
cterm_write
(
cterm
,
"Time : "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
5
);
...
...
@@ -1554,9 +1554,9 @@ incomingMapScanner(unsigned char *codeStr)
term_setattr
(
5
);
cterm_write
(
cterm
,
"[: "
,
-
1
,
NULL
,
0
,
NULL
);
term_setattr
(
1
);
cterm_write
(
cterm
,
"
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\
xb3\
r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\r\n
"
,
"
\
xc0\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xd9\
r\n
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1567,25 +1567,25 @@ incomingMapScanner(unsigned char *codeStr)
term_gotoxy
(
1
,
9
);
term_setattr
(
1
);
cterm_write
(
cterm
,
"
Ŀ
\r\n
"
,
"
\xda\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xbf
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\r\n
"
,
"
\xb3
\xb3
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\r\n
"
,
"
\xb3
\xb3
\r\n
"
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\r\n
"
,
"
\
xc0\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xd9\
r\n
"
,
-
1
,
NULL
,
0
,
...
...
@@ -1769,7 +1769,7 @@ incomingMapScanner(unsigned char *codeStr)
}
else
{
term_setattr
(
12
);
cterm_write
(
cterm
,
""
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xfb
"
,
-
1
,
NULL
,
0
,
NULL
);
}
codeStr
++
;
...
...
@@ -1785,7 +1785,7 @@ incomingMapScanner(unsigned char *codeStr)
}
else
{
term_setattr
(
12
);
cterm_write
(
cterm
,
""
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xfb
"
,
-
1
,
NULL
,
0
,
NULL
);
}
codeStr
++
;
...
...
@@ -1801,7 +1801,7 @@ incomingMapScanner(unsigned char *codeStr)
}
else
{
term_setattr
(
12
);
cterm_write
(
cterm
,
""
,
-
1
,
NULL
,
0
,
NULL
);
cterm_write
(
cterm
,
"
\xfb
"
,
-
1
,
NULL
,
0
,
NULL
);
codeStr
++
;
codeStr
++
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment