This is TikiWiki 1.9.2 -Sirius- © 2002–2005 by the Tiki community Fri 03 of Sep, 2010 [09:43 UTC]
TTDPatch Site

Action13

Translate GRF-specific strings print
history

Action 13

Translate GRF-specific strings

Description

Translating regular strings is easy by just overwriting them with an action 4, however this is not possible for translating GRF-specific strings in the D000 or DC00 range of IDs. Instead, these must be translated with this action 13.

Available since 2.6 alpha 1 (r857).

Format

The data looks as follows:

<sprite-number> * <length> 13 <feature> <grfid> <num-ent> <offset> <text...>



ElementSizeDescription
<sprite-number>decA sequential sprite number
<length>decThe total number of bytes in the action
13BAction 13
<grfid>4*BThe GRFID of the file whose texts are to be translated
<num-ent>BNumber of strings
<offset>WFirst text ID
<text...>SZero-terminated strings


For action 13, <num-ent>, <offset> and <text...> work exactly as for action 4, but the offset may only refer to a text ID in the D000 or DC00 range of IDs.

Action 13 is skipped if the given GRFID cannot be found or if the file is inactive; action 13 generates an error message and disables the current file if it appears before the GRF that it is translating.

Created by: system last modification: Thursday 24 of August, 2006 [15:26:25 UTC] by patchman


Menu
[ Execution time: 0.25 secs ]   [ Memory usage: 10.98MB ]   [ 82 database queries used ]   [ GZIP Enabled ]   [ Server load: 0.82 ]