home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------
- //--- CHILD OF LIGHT localization file
- //
- // File: localization_*language*.isg.ckd
- // Author: tomsolo
- // Revision: 0.00001
- // Purpose: Life is Running
- //--------------------------------------
- BigEndian();
- byte header[20] <hidden=true>; // Set any field to true, if dont need.
-
- struct LOCALIZATION (int i){
- local int count <hidden=false>; // Set Show local variables if need this.
- count = i+1;
- int64 hash <hidden=true, /*bgcolor=0xFFBF00,*/format=hex>; // Yeah, this is not hash :)
- int stringLength <hidden=false, bgcolor=0x00FF7F, name="Length">; // Length of the localised string.
- char content[stringLength] <bgcolor=0x7280FA, name="String">; //! Non-ascii chars need two bytes !
- //! UTF8 editing!
- //1. Please set Tools -> Options -> Files Interfaces -> Hex editor -> Charachter Set to UTF8!
- //2. Before Editing add exact byte length of your localized text and cut(DEL) or add extra bytes! (CTRL+SHIFT+I)
- };
-
- struct EXTRAPAD{
- char pad[24] <hidden=true>; //SOMETHING EXTRAS
- };
-
- local int i <hidden=true>;
-
-
- for( i = 0; i < 3736; i++ )
- {
- if (i < 273){
- LOCALIZATION loc(i) <open=true, name="LOCALIZATION">;
- }
- if (i == 273){
- byte pad3[12] <hidden=true>; //AN EMPTY CHARSIZE BLOCK
- }
- if (i == 1563){
- byte pad[4] <hidden=true>; //SOMETHING EXTRA
- LOCALIZATION loc(i) <open=true, name="LOCALIZATION">;
- }
- if (i > 273 && i < 1563){
- LOCALIZATION loc(i) <open=true, name="LOCALIZATION">;
- }
- if (i > 1563){
- EXTRAPAD pad <hidden=true>;
- LOCALIZATION loc(i) <open=true, name="LOCALIZATION">;
- }
- }
- //EOF-----------------------------------
-