aboutsummaryrefslogtreecommitdiff
path: root/project/text-files/lex.inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/text-files/lex.inc/lex-elem-cann-cr.inc15
-rwxr-xr-xproject/text-files/lex.inc/lex-elem-hipt-cr.inc35
-rw-r--r--project/text-files/lex.inc/lex-elem-set1-cr.inc20
-rw-r--r--project/text-files/lex.inc/lex-elem-test-cr.inc43
-rwxr-xr-xproject/text-files/lex.inc/lex-head-cr.inc12
-rwxr-xr-xproject/text-files/lex.inc/lex-hexdump-cr.inc16
-rwxr-xr-xproject/text-files/lex.inc/lex-setup-cr.inc17
7 files changed, 158 insertions, 0 deletions
diff --git a/project/text-files/lex.inc/lex-elem-cann-cr.inc b/project/text-files/lex.inc/lex-elem-cann-cr.inc
new file mode 100644
index 0000000..50ae4ec
--- /dev/null
+++ b/project/text-files/lex.inc/lex-elem-cann-cr.inc
@@ -0,0 +1,15 @@
+
+#FF#
+###############################################################################
+
+[CANN]
+# Sort order: %u
+
+# Cannon characteristics:
+# http://wiki.tockdom.com/wiki/Template:Cannon_characteristics
+
+#CANN#
+#---------------------------------------------------
+# Deceleration End
+# Idx Speed Height Factor Deceleration
+#---------------------------------------------------
diff --git a/project/text-files/lex.inc/lex-elem-hipt-cr.inc b/project/text-files/lex.inc/lex-elem-hipt-cr.inc
new file mode 100755
index 0000000..479099e
--- /dev/null
+++ b/project/text-files/lex.inc/lex-elem-hipt-cr.inc
@@ -0,0 +1,35 @@
+
+#FF#
+###############################################################################
+
+[HIPT]
+# Sort order: %u
+
+# Hide the position tracker based on online mode, the current lap index and
+# the current checkpoint of the player.
+#
+# Each row is a rule. If a player enters a new check point, the first matching
+# rule is used. Therefor the current mode (offline or online), the current lap
+# index and the index of the current CKPT is compared with the row elements
+# COND, LAP, FROM and TO. Lap is 0 until crossing the lap counter the first
+# time. This includes the start position.
+#
+# Row members:
+# COND is either 1 for offline only, 2 for online only, or 3 for both cases.
+# LAP is compared with the current lap index. Negative values refer to the
+# absolute number of laps: -1 is always the last lap and -2 is the penultimate
+# lap. This means that the setting remains valid if the number of laps (STGI)
+# is changed. The special value 99 means 'match all laps'.
+# FROM and TO build an inclusive range to compare the current check point.
+# SHOW is either 0 or 1 to hide or show the position tracker. If no rule
+# matches, the position tracker is shown (like rule »3 99 0 255 1«).
+#
+# Notes: Place the most specific rules above and more general rules below on
+# the list because of the first-hit search. Parameter @OFFLINE-ONLINE of
+# section TEST can be used to force a condition for testing.
+
+#HIPT#
+#--------------------------
+# __CKPT__
+# cond lap from to show
+#--------------------------
diff --git a/project/text-files/lex.inc/lex-elem-set1-cr.inc b/project/text-files/lex.inc/lex-elem-set1-cr.inc
new file mode 100644
index 0000000..541fc88
--- /dev/null
+++ b/project/text-files/lex.inc/lex-elem-set1-cr.inc
@@ -0,0 +1,20 @@
+
+#FF#
+###############################################################################
+
+[SET1]
+# Sort order: %u
+
+# This section defines various settings. New settings are placed at the end
+# end of the binary data. Unknown data is printed as hexdump, so no data is
+# lost even with old tools. A value of 0 means: Not defined/initialized,
+# replace the value by the default value (maybe 0 again).
+
+#-------------------------
+
+# Online, items are only transmitted correctly, if the positions of all 3 axis
+# are between -131071 and +131071. The following vector defines 3 factors to
+# increase the range at the expense of accuracy. Factors <1.0 are set to 1.0.
+
+@ITEM-POS-FACTOR = v( %5.3f, %5.3f, %5.3f )
+
diff --git a/project/text-files/lex.inc/lex-elem-test-cr.inc b/project/text-files/lex.inc/lex-elem-test-cr.inc
new file mode 100644
index 0000000..93bfb4c
--- /dev/null
+++ b/project/text-files/lex.inc/lex-elem-test-cr.inc
@@ -0,0 +1,43 @@
+
+#FF#
+###############################################################################
+
+[TEST]
+# Sort order: %u
+
+# This section defines various settings to test special situations.
+
+#-----------------------------------------------------------------------
+# The next set defines parameters to test the extended conditions
+# (extended presence flags). The settings allow to force special modes.
+# Details: http://wiki.tockdom.com/wiki/Extended_presence_flags
+#-----------------------------------------------------------------------
+
+# Force offline or online mode. Use one symbol of: LEX$OO_AUTO (default),
+# LEX$OO_OFFLINE, LEX$OO_ONLINE.
+@OFFLINE-ONLINE = LEX$OO_%s
+
+# If >0: Force number of local players at Wii. It is robust, so values >4
+# are accepted, but rounded down to 4 (offline) or 2 (online).
+@N-OFFLINE = %u
+
+# If >0: Force number of total players for online modes. It is robust, so
+# values >99 are rounded down to 99.
+@N-ONLINE = %u
+
+# If between 0 and 15: Use this bit number to check 16-bit words of CONDITIONS
+# and ignore previous settings. Good values are: LEX$CB_AUTO, LEX$CB_TIMETRIAL
+# (same as LEX$CB_RESERVED1) and LEX$CB_RESERVED2.
+@COND-BIT = %d
+
+# Force a game mode. Use one symbol of: LEX$GM_AUTO (default), LEX$GM_BALLOON,
+# LEX$GM_COIN, LEX$GM_VERSUS, LEX$GM_ITEMRAIN or LEX$GM_STANDARD.
+@GAME-MODE = LEX$GM_%s
+
+# Force an engine mode. Use one symbol of: LEX$EN_AUTO (default),
+# LEX$EN_BATTLE, LEX$EN_50CC, LEX$EN_100CC, LEX$EN_150CC or LEX$EN_200CC.
+# For mirror modes use LEX$EN_150M or LEX$EN_200M.
+@ENGINE = LEX$EN_%s
+
+# If between 1 and 8: Force a random scenario.
+@RANDOM = %u
diff --git a/project/text-files/lex.inc/lex-head-cr.inc b/project/text-files/lex.inc/lex-head-cr.inc
new file mode 100755
index 0000000..5c94c39
--- /dev/null
+++ b/project/text-files/lex.inc/lex-head-cr.inc
@@ -0,0 +1,12 @@
+#LEX <<< The first 4 characters '#LEX' are the magic for a LEX text file.
+# <<< Don't remove them!
+#
+###############################################################################
+#
+# This is a textual representation of a LEX file. It is defined by Wiimm.
+#
+# Hint:
+# Set one of the options --no-header (-H) or --brief (-B) while decoding
+# to suppress this general description. The --brief option will also disable
+# info parts in the different sections.
+#
diff --git a/project/text-files/lex.inc/lex-hexdump-cr.inc b/project/text-files/lex.inc/lex-hexdump-cr.inc
new file mode 100755
index 0000000..156281f
--- /dev/null
+++ b/project/text-files/lex.inc/lex-hexdump-cr.inc
@@ -0,0 +1,16 @@
+
+#FF#
+###############################################################################
+
+[HEXDUMP]
+# Sort order: %u
+
+# Unknown sections are stored as hexdump to keep the data. The address field
+# and the ASCII part are for info only and ignored on scanning.
+
+@MAGIC = 0x%08x # %s
+
+#HEX#
+#----+------------------------------------------------------+----------------+
+#addr: data: bytes in hex | '(' expression ')' : ASCII of data :
+#----+------------------------------------------------------+----------------+
diff --git a/project/text-files/lex.inc/lex-setup-cr.inc b/project/text-files/lex.inc/lex-setup-cr.inc
new file mode 100755
index 0000000..d56bfdb
--- /dev/null
+++ b/project/text-files/lex.inc/lex-setup-cr.inc
@@ -0,0 +1,17 @@
+
+#FF#
+###############################################################################
+
+[SETUP]
+# This is the general setup and info section. Some parameters are preceeded by
+# a hash ('#') to signal the informative only status. This section should
+# always be the first one.
+
+# Identify the tool and version, that have written this file:
+TOOL = %s
+SYSTEM = %s
+VERSION = %s
+REVISION = %u
+DATE = %s
+
+# Statistics: List of all included sections: