Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
another world in jucheland
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
nippon culture research center
another world in jucheland
Commits
4544a0c8
Commit
4544a0c8
authored
Jan 19, 2019
by
18김민수
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parser bug fix
parent
38a40fc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
Parser.cs
ISEKAI/Assets/ISEKAI_Model/ScriptParser/Parser.cs
+19
-19
No files found.
ISEKAI/Assets/ISEKAI_Model/ScriptParser/Parser.cs
View file @
4544a0c8
...
...
@@ -8,25 +8,25 @@ namespace ISEKAI_Model
public
static
class
Parser
{
private
static
string
[]
_commandPattern
=
{
@"
(\d?)\-?\-?(\d?) ?# ""(.*)""
"
,
//0
@"
(\d?)\-?\-?(\d?) ?## ""(.*)"" ""(.*)"" ?\-?(.*)?
"
,
//1
@"
(\d?)\-?\-?(\d?) ?Load Character ""(.*)"" \-(.*)
"
,
//2
@"
(\d?)\-?\-?(\d?) ?Unload Character \-(.*)
"
,
//3
@"
(\d?)\-?\-?(\d?) ?Load Background ""(.*)""
"
,
//4
@"
(\d?)\-?\-?(\d?) ?Play Music ""(.*)"" ?\-?(.*)?
"
,
//5
@"
(\d?)\-?\-?(\d?) ?Stop Music
"
,
//6
@"
(\d?)\-?\-?(\d?) ?Load CG ""(.*)""
"
,
//7
@"
(\d?)\-?\-?(\d?) ?Unload CG
"
,
//8
@"
(\d?)\-?\-?(\d?) ?VFX Camerashake
"
,
//9
@"
(\d?)\-?\-?(\d?) ?VFX Load Sprite ""(.*)"" \-(.*) \-(.*)
"
,
//10
@"
(\d?)\-?\-?(\d?) ?VFX Unload Sprite
"
,
//11
@"
(\d?)\-?\-?(\d?) ?VFX Sound ""(.*)""
"
,
//12
@"
(\d?)\-?\-?(\d?) ?Load Minigame ""(.*)""
"
,
//13
@"
(\d?)\-?\-?(\d?) ?Load Video ""(.*)""
"
,
//14
@"
(\d?)\-?\-?(\d?) ?Choice
"
,
//15
@"-- ""(.*)""( \-(\w+) \(([\+\-\*])(\d+)\))*"
,
// 16
@"
(\d?)\-?\-?(\d?) ?VFXTransition
"
,
//17
@"
(\d?)\-?\-?(\d?) ?VFXPause \-(.*)
"
};
//18
{
@"
^(\d?)\-?\-?(\d?) ?# ""(.*)""$
"
,
//0
@"
^(\d?)\-?\-?(\d?) ?## ""(.*)"" ""(.*)"" ?\-?(.*)?$
"
,
//1
@"
^(\d?)\-?\-?(\d?) ?Load Character ""(.*)"" \-(.*)$
"
,
//2
@"
^(\d?)\-?\-?(\d?) ?Unload Character \-(.*)$
"
,
//3
@"
^(\d?)\-?\-?(\d?) ?Load Background ""(.*)""$
"
,
//4
@"
^(\d?)\-?\-?(\d?) ?Play Music ""(.*)"" ?\-?(.*)?$
"
,
//5
@"
^(\d?)\-?\-?(\d?) ?Stop Music$
"
,
//6
@"
^(\d?)\-?\-?(\d?) ?Load CG ""(.*)""$
"
,
//7
@"
^(\d?)\-?\-?(\d?) ?Unload CG$
"
,
//8
@"
^(\d?)\-?\-?(\d?) ?VFX Camerashake$
"
,
//9
@"
^(\d?)\-?\-?(\d?) ?VFX Load Sprite ""(.*)"" \-(.*) \-(.*)$
"
,
//10
@"
^(\d?)\-?\-?(\d?) ?VFX Unload Sprite$
"
,
//11
@"
^(\d?)\-?\-?(\d?) ?VFX Sound ""(.*)""$
"
,
//12
@"
^(\d?)\-?\-?(\d?) ?Load Minigame ""(.*)""$
"
,
//13
@"
^(\d?)\-?\-?(\d?) ?Load Video ""(.*)""$
"
,
//14
@"
^(\d?)\-?\-?(\d?) ?Choice$
"
,
//15
@"-- ""(.*)""( \-(\w+) \(([\+\-\*])(\d+)\))*
$
"
,
// 16
@"
^(\d?)\-?\-?(\d?) ?VFXTransition$
"
,
//17
@"
^(\d?)\-?\-?(\d?) ?VFXPause \-(.*)$
"
};
//18
private
static
SpriteLocation
_ParseSpriteLocation
(
string
location
)
{
if
(
location
.
Equals
(
"left"
))
...
...
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