Fixed the scripts to respect the "..." convention.
Whitespace at the beginnings and ends of dialogue lines are significant; this update should give them the proper semantics. Also better synchronizes the .txt files with their controlling strings.h files. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@123 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+12
-3
@@ -47,9 +47,13 @@ When multiple records are used to define a single speech line (as
|
||||
often happens when they say your name, for instance), only the first
|
||||
line has an audio file associated with it.
|
||||
|
||||
Lines that do not end in a punctuation mark have a "..." added to the
|
||||
end of them by the communications code - keep that in mind when
|
||||
debugging the subtitles.
|
||||
Lines that do not end in a punctuation mark or a space have a "..."
|
||||
added to the end of them by the communications code. If the previous
|
||||
line had "..." appended to it and this line does not START with a
|
||||
space, this line will have "..." prepended to it. The "scriptcheck"
|
||||
tool looks for all cases where "..." does not occur in midsentence.
|
||||
When editing the script files, check your intended results against
|
||||
this.
|
||||
|
||||
The .h files (src/sc2code/comm)
|
||||
-------------------------------
|
||||
@@ -64,6 +68,11 @@ the enum (though it would be reasonably straightforward to generate
|
||||
the strings.h files from the .txt files) The values of the enum are
|
||||
used in the {racec}.c files in the same directory.
|
||||
|
||||
The scriptcheck utility also checks for proper correlation between the
|
||||
.h file and the associated .txt file. It assumes that one enum value
|
||||
is listed per line, and that the general format of the file matches
|
||||
the current one.
|
||||
|
||||
Types of script bugs
|
||||
--------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user