3 {$INCLUDE ../shared/a_modes.inc}
30 I_ARRAY_PANEL_DOOR_OPEN
,
31 I_ARRAY_PANEL_DOOR_CLOSE
,
36 I_ARRAY_PANEL_LIFT_UP
,
37 I_ARRAY_PANEL_LIFT_DOWN
,
38 I_ARRAY_PANEL_LIFT_LEFT
,
39 I_ARRAY_PANEL_LIFT_RIGHT
,
40 I_ARRAY_PANEL_BLOCKMON
,
48 I_ARRAY_ITEM_LARGE_MEDKIT
,
49 I_ARRAY_ITEM_BLACK_MEDKIT
,
50 I_ARRAY_ITEM_GREEN_ARMOR
,
51 I_ARRAY_ITEM_BLUE_ARMOR
,
52 I_ARRAY_ITEM_BLUE_SPHERE
,
53 I_ARRAY_ITEM_MEGASPHERE
,
54 I_ARRAY_ITEM_HAZ_SUIT
,
56 I_ARRAY_ITEM_INVULNERABILITY
,
57 I_ARRAY_ITEM_CHAINSAW
,
59 I_ARRAY_ITEM_DB_SHOTGUN
,
60 I_ARRAY_ITEM_CHAINGUN
,
61 I_ARRAY_ITEM_ROCKET_LAUNCHER
,
62 I_ARRAY_ITEM_PLASMA_RIFLE
,
64 I_ARRAY_ITEM_SUPER_MINIGUN
,
65 I_ARRAY_ITEM_FLAMETHROWER
,
67 I_ARRAY_ITEM_AMMO_BOX
,
68 I_ARRAY_ITEM_4_SHELLS
,
69 I_ARRAY_ITEM_25_SHELLS
,
70 I_ARRAY_ITEM_1_ROCKET
,
71 I_ARRAY_ITEM_ROCKET_BOX
,
73 I_ARRAY_ITEM_LARGE_CELL
,
75 I_ARRAY_ITEM_BACKPACK
,
77 I_ARRAY_ITEM_KEY_GREEN
,
78 I_ARRAY_ITEM_KEY_BLUE
,
104 I_ARRAY_MON_SERGEANT
,
107 I_ARRAY_MON_HELL_BARON
,
108 I_ARRAY_MON_HELL_KNIGHT
,
109 I_ARRAY_MON_CACODEMON
,
110 I_ARRAY_MON_LOST_SOUL
,
111 I_ARRAY_MON_PAIN_ELEMENTAL
,
112 I_ARRAY_MON_MASTERMIND
,
113 I_ARRAY_MON_ARACHNATRON
,
114 I_ARRAY_MON_MANCUBUS
,
115 I_ARRAY_MON_REVENANT
,
116 I_ARRAY_MON_ARCHVILE
,
120 I_ARRAY_MON_PRIKOLIST
,
122 I_ARRAY_AREA_PLAYER_ONE
,
123 I_ARRAY_AREA_PLAYER_TWO
,
125 I_ARRAY_AREA_FLAG_RED
,
126 I_ARRAY_AREA_FLAG_BLUE
,
127 I_ARRAY_AREA_FLAG_DOM
,
128 I_ARRAY_AREA_TEAM_RED
,
129 I_ARRAY_AREA_TEAM_BLUE
,
133 I_ARRAY_TR_DOOR_OPEN
,
134 I_ARRAY_TR_DOOR_CLOSE
,
135 I_ARRAY_TR_DOOR_SWITCH
,
136 I_ARRAY_TR_DOOR_5_SEC
,
137 I_ARRAY_TR_TRAP_CLOSE
,
142 I_ARRAY_TR_LIFT_DOWN
,
143 I_ARRAY_TR_LIFT_SWITCH
,
149 I_ARRAY_TR_SPAWN_MONSTER
,
150 I_ARRAY_TR_SPAWN_ITEM
,
175 I_PROP_TR_TEXTURE_PANEL
,
176 I_PROP_TR_ACTIVATION
,
184 I_PROP_TR_TELEPORT_TO
,
185 I_PROP_TR_TELEPORT_SILENT
,
186 I_PROP_TR_TELEPORT_DIR
,
187 I_PROP_TR_DOOR_PANEL
,
188 I_PROP_TR_TRAP_PANEL
,
192 I_PROP_TR_EX_MONSTER
,
194 I_PROP_TR_LIFT_PANEL
,
195 I_PROP_TR_TEXTURE_ONCE
,
196 I_PROP_TR_TEXTURE_ANIM_ONCE
,
197 I_PROP_TR_SOUND_NAME
,
198 I_PROP_TR_SOUND_VOLUME
,
200 I_PROP_TR_SOUND_COUNT
,
201 I_PROP_TR_SOUND_LOCAL
,
202 I_PROP_TR_SOUND_SWITCH
,
206 I_PROP_TR_SPAWN_DELAY
,
207 I_PROP_TR_MONSTER_TYPE
,
208 I_PROP_TR_MONSTER_ACTIVE
,
209 I_PROP_TR_MONSTER_BEHAVIOUR
,
210 I_PROP_TR_MONSTER_BEHAVIOUR_0
,
211 I_PROP_TR_MONSTER_BEHAVIOUR_1
,
212 I_PROP_TR_MONSTER_BEHAVIOUR_2
,
213 I_PROP_TR_MONSTER_BEHAVIOUR_3
,
214 I_PROP_TR_MONSTER_BEHAVIOUR_4
,
215 I_PROP_TR_MONSTER_BEHAVIOUR_5
,
217 I_PROP_TR_MUSIC_NAME
,
221 I_PROP_TR_PUSH_ANGLE
,
222 I_PROP_TR_PUSH_FORCE
,
223 I_PROP_TR_PUSH_RESET
,
225 I_PROP_TR_SCORE_ACT_0
,
226 I_PROP_TR_SCORE_ACT_1
,
227 I_PROP_TR_SCORE_ACT_2
,
228 I_PROP_TR_SCORE_ACT_3
,
229 I_PROP_TR_SCORE_TEAM
,
230 I_PROP_TR_SCORE_TEAM_0
,
231 I_PROP_TR_SCORE_TEAM_1
,
232 I_PROP_TR_SCORE_TEAM_2
,
233 I_PROP_TR_SCORE_TEAM_3
,
236 I_PROP_TR_DAMAGE_VALUE
,
237 I_PROP_TR_HEALTH_MAX
,
239 I_PROP_TR_SHOT_SOUND
,
240 I_PROP_TR_SHOT_ANGLE
,
251 I_PROP_TR_SHOT_AIM_0
,
252 I_PROP_TR_SHOT_AIM_1
,
253 I_PROP_TR_SHOT_AIM_2
,
254 I_PROP_TR_SHOT_AIM_3
,
256 I_PROP_TR_SHOT_RELOAD
,
257 I_PROP_TR_SHOT_SIGHT
,
258 I_PROP_TR_SHOT_PANEL
,
259 I_PROP_TR_MESSAGE_KIND
,
260 I_PROP_TR_MESSAGE_KIND_0
,
261 I_PROP_TR_MESSAGE_KIND_1
,
262 I_PROP_TR_MESSAGE_TO
,
263 I_PROP_TR_MESSAGE_TO_0
,
264 I_PROP_TR_MESSAGE_TO_1
,
265 I_PROP_TR_MESSAGE_TO_2
,
266 I_PROP_TR_MESSAGE_TO_3
,
267 I_PROP_TR_MESSAGE_TO_4
,
268 I_PROP_TR_MESSAGE_TO_5
,
269 I_PROP_TR_MESSAGE_TEXT
,
270 I_PROP_TR_MESSAGE_TIME
,
271 I_PROP_TR_EFFECT_TYPE
,
272 I_PROP_TR_EFFECT_SUBTYPE
,
273 I_PROP_TR_EFFECT_COLOR
,
274 I_PROP_TR_EFFECT_CENTER
,
275 I_PROP_TR_EFFECT_VELX
,
276 I_PROP_TR_EFFECT_VELY
,
277 I_PROP_TR_EFFECT_SPL
,
278 I_PROP_TR_EFFECT_SPR
,
279 I_PROP_TR_EFFECT_SPU
,
280 I_PROP_TR_EFFECT_SPD
,
281 I_PROP_TR_EFFECT_PARTICLE
,
282 I_PROP_TR_EFFECT_ANIMATION
,
283 I_PROP_TR_EFFECT_SLIQUID
,
284 I_PROP_TR_EFFECT_LLIQUID
,
285 I_PROP_TR_EFFECT_DLIQUID
,
286 I_PROP_TR_EFFECT_BLOOD
,
287 I_PROP_TR_EFFECT_SPARK
,
288 I_PROP_TR_EFFECT_BUBBLE
,
291 I_MSG_WRONG_TEXWIDTH
,
292 I_MSG_WRONG_TEXHEIGHT
,
296 I_MSG_TEXTURE_ALREADY
,
299 I_MSG_CHOOSE_MONSTER
,
301 I_MSG_CHOOSE_TEXTURE
,
306 I_MSG_DEL_TEXTURE_PROMT
,
307 I_MSG_DEL_TEXTURE_CANT
,
309 I_MSG_DEL_RECENT_PROMT
,
311 I_MSG_CLEAR_MAP_PROMT
,
313 I_MSG_DELETE_MAP_PROMT
,
315 I_MSG_MAP_DELETED_PROMT
,
316 I_MSG_REOPEN_MAP_PROMT
,
328 I_HINT_PANEL_TEXTURE
,
341 I_MENU_FILE_OPEN_WAD
,
343 I_MENU_FILE_SAVE_MINI
,
345 I_MENU_FILE_PACK_MAP
,
353 I_MENU_EDIT_SELECT_ALL
,
358 I_MENU_TOOLS_SNAP_GRID
,
359 I_MENU_TOOLS_MINIMAP
,
360 I_MENU_TOOLS_STEP_GRID
,
361 I_MENU_TOOLS_SHOW_EDGES
,
384 I_MENU_LAYER_MONSTER
,
386 I_MENU_LAYER_TRIGGER
,
446 I_CTRL_ACT_PLAYER_CLOSE
,
447 I_CTRL_ACT_MONSTER_CLOSE
,
448 I_CTRL_ACT_PLAYER_PRESS
,
449 I_CTRL_ACT_MONSTER_PRESS
,
451 I_CTRL_ACT_NO_MONSTER
,
456 I_CTRL_KEYS_TEAM_RED
,
457 I_CTRL_KEYS_TEAM_BLUE
,
471 I_CTRL_OPT_DESC_TEXTURE
,
472 I_CTRL_OPT_DESC_PANEL
,
484 I_CTRL_LAUNCH_WEAPONS
,
485 I_CTRL_LAUNCH_MONSTERS
,
491 I_CTRL_ES_PANEL_SIZE
,
492 I_CTRL_ES_CHECKERBOARD
,
494 I_CTRL_PACK_TEXTURES
,
507 I_LAB_ABOUT_AUTHOR_2
,
567 I_BTN_TEXTURE_DELETE
,
580 I_TEST_AREA_WALL_STR
,
587 I_TEST_MONSTER_WALL_STR
,
590 I_OPT_DELETED_TEXTURES
,
591 I_OPT_TOTAL_TEXTURES
,
617 LANGUAGE_RUSSIAN
= 'Russian';
618 LANGUAGE_ENGLISH
= 'English';
619 LANGUAGE_RUSSIAN_N
= 3;
620 LANGUAGE_ENGLISH_N
= 2;
623 _lc
: Array [TStrings_Locale
] of String; // for the GUI (in UTF-8)
624 _glc
: Array [TStrings_Locale
] of String; // for GL text (in CP1251)
626 BoolNames
: Array [False..True] of String;
627 DirNames
: Array [D_LEFT
..D_RIGHT
] of String;
628 DirNamesAdv
: Array [0..3] of String;
629 DirButtonNames
: Array [1..4] of String;
630 PANELNAMES
: Array[0..13] of String;
631 EffectNames
: Array [EFFECT_NONE
..EFFECT_FIRE
] of String;
632 ItemNames
: Array [ITEM_MEDKIT_SMALL
..ITEM_MAX
] of String;
633 ShotNames
: Array [TRIGGER_SHOT_PISTOL
..TRIGGER_SHOT_MAX
] of String;
634 MonsterNames
: Array [MONSTER_DEMON
..MONSTER_MAN
] of String;
635 AreaNames
: Array [AREA_PLAYERPOINT1
..AREA_BLUETEAMPOINT
] of String;
636 TriggerNames
: Array [TRIGGER_EXIT
..TRIGGER_MAX
] of String;
639 procedure g_Language_Load(fileName
: String);
640 procedure g_Language_Set(lang
: String);
641 procedure g_Language_Dump(fileName
: String);
646 SysUtils
, e_log
, f_main
, f_about
, f_activationtype
,
647 f_addresource_sky
, f_addresource_sound
,
648 f_addresource_texture
, f_choosetype
, f_keys
, f_mapcheck
,
649 f_mapoptions
, f_maptest
, f_mapoptimization
, f_options
,
650 f_packmap
, f_savemap
, f_saveminimap
, f_selectmap
, Forms
, utils
;
653 g_lang_default
: Array [TStrings_Locale
] of Array [1..3] of String = (
654 ('NOT ACCESSIBLE', 'N/A',
657 ('ARRAY BOOL FALSE', 'No',
659 ('ARRAY BOOL TRUE', 'Yes',
662 ('ARRAY DIR LEFT', 'Left',
664 ('ARRAY DIR RIGHT', 'Right',
666 ('ARRAY DIR SAME', 'Don''t change',
668 ('ARRAY DIR REVERSED', 'Reversed',
671 ('ARRAY DIRBTN LEFT', 'Left',
673 ('ARRAY DIRBTN RIGHT', 'Right',
675 ('ARRAY DIRBTN UP', 'Up',
677 ('ARRAY DIRBTN DOWN', 'Down',
680 ('ARRAY PANEL WALL', 'Wall',
682 ('ARRAY PANEL BACK', 'Background',
684 ('ARRAY PANEL FRONT', 'Foreground',
686 ('ARRAY PANEL DOOR OPEN', 'Open Door',
688 ('ARRAY PANEL DOOR CLOSE', 'Closed Door',
690 ('ARRAY PANEL STAIR', 'Step',
692 ('ARRAY PANEL WATER', 'Water',
694 ('ARRAY PANEL ACID 1', 'Acid 1',
696 ('ARRAY PANEL ACID 2', 'Acid 2',
698 ('ARRAY PANEL LIFT UP', 'Stream Up',
700 ('ARRAY PANEL LIFT DOWN', 'Stream Down',
702 ('ARRAY PANEL LIFT LEFT', 'Stream Left',
704 ('ARRAY PANEL LIFT RIGHT', 'Stream Right',
706 ('ARRAY PANEL BLOCKMON', 'Monster Boundary',
707 'Блокиратор монстров'),
709 ('ARRAY FX NONE', 'None',
711 ('ARRAY FX TELEPORT', 'Teleport',
713 ('ARRAY FX RESPAWN', 'Respawn',
715 ('ARRAY FX FIRE', 'Arch-Vile Fire',
718 ('ARRAY ITEM MEDKIT', 'Stimpack',
720 ('ARRAY ITEM LARGE MEDKIT', 'Medikit',
722 ('ARRAY ITEM BLACK MEDKIT', 'Berserk Pack',
724 ('ARRAY ITEM GREEN ARMOR', 'Green Armor',
726 ('ARRAY ITEM BLUE ARMOR', 'Blue Armor',
728 ('ARRAY ITEM BLUE SPHERE', 'Soulsphere',
730 ('ARRAY ITEM MEGASPHERE', 'Megasphere',
732 ('ARRAY ITEM HAZ SUIT', 'Envirosuit',
734 ('ARRAY ITEM OXYGEN', 'Scuba',
736 ('ARRAY ITEM INVULNERABILITY', 'Invulnerability',
738 ('ARRAY ITEM CHAINSAW', 'Chainsaw',
740 ('ARRAY ITEM SHOTGUN', 'Shotgun',
742 ('ARRAY ITEM DB SHOTGUN', 'Super Shotgun',
744 ('ARRAY ITEM CHAINGUN', 'Chaingun',
746 ('ARRAY ITEM ROCKET LAUNCHER', 'Rocket Launcher',
748 ('ARRAY ITEM PLASMA RIFLE', 'Plasma Rifle',
750 ('ARRAY ITEM BFG', 'BFG9000',
752 ('ARRAY ITEM SUPER MINIGUN', 'Super Chaingun',
754 ('ARRAY ITEM FLAMETHROWER', 'Flamethrower',
756 ('ARRAY ITEM CLIP', 'Clip',
758 ('ARRAY ITEM AMMO BOX', 'Box of Bullets',
760 ('ARRAY ITEM 4 SHELLS', '4 Shells',
762 ('ARRAY ITEM 25 SHELLS', 'Box of Shells',
764 ('ARRAY ITEM 1 ROCKET', 'Rocket',
766 ('ARRAY ITEM ROCKET BOX', 'Box of Rockets',
768 ('ARRAY ITEM CELL', 'Energy Cell',
770 ('ARRAY ITEM LARGE CELL', 'Energy Cell Pack',
772 ('ARRAY ITEM FUELCAN', 'Fuel Canister',
774 ('ARRAY ITEM BACKPACK', 'Backpack',
776 ('ARRAY ITEM KEY RED', 'Red Key',
778 ('ARRAY ITEM KEY GREEN', 'Green Key',
780 ('ARRAY ITEM KEY BLUE', 'Blue Key',
782 ('ARRAY ITEM BOTTLE', 'Health Globe',
784 ('ARRAY ITEM HELMET', 'Armor Shard',
786 ('ARRAY ITEM JETPACK', 'Jetpack',
788 ('ARRAY ITEM INVIS', 'Invisibility',
791 ('ARRAY SHOT PISTOL', 'Pistol shot',
792 'Выстрел пистолета'),
793 ('ARRAY SHOT BULLET', 'Chaingun shot',
795 ('ARRAY SHOT SHOTGUN', 'Shotgun shot',
797 ('ARRAY SHOT SSG', 'Super Shotgun shot',
798 'Выстрел двустволки'),
799 ('ARRAY SHOT IMP', 'Imp fireball',
801 ('ARRAY SHOT PLASMA', 'Blue plasma',
803 ('ARRAY SHOT SPIDER', 'Arachnotron plasma',
804 'Плазма арахнотрона'),
805 ('ARRAY SHOT CACO', 'Cacodemon fireball',
807 ('ARRAY SHOT BARON', 'Hell Baron projectile',
808 'Выстрел барона ада'),
809 ('ARRAY SHOT MANCUB', 'Mancubus gunshot',
811 ('ARRAY SHOT REV', 'Revenant projectile',
813 ('ARRAY SHOT ROCKET', 'Rocket',
815 ('ARRAY SHOT BFG', 'BFG ball',
817 ('ARRAY SHOT EXPL', 'Explosion',
819 ('ARRAY SHOT BFGEXPL', 'BFG explosion',
821 ('ARRAY SHOT FLAME', 'Flame',
824 ('ARRAY MON DEMON', 'Pinky',
826 ('ARRAY MON IMP', 'Imp',
828 ('ARRAY MON ZOMBIE', 'Zombie',
830 ('ARRAY MON SERGEANT', 'Sergeant',
832 ('ARRAY MON CYBER', 'Cyberdemon',
834 ('ARRAY MON CGUN', 'Commando',
836 ('ARRAY MON HELL BARON', 'Hell Baron',
838 ('ARRAY MON HELL KNIGHT', 'Hell Knight',
840 ('ARRAY MON CACODEMON', 'Cacodemon',
842 ('ARRAY MON LOST SOUL', 'Lost Soul',
844 ('ARRAY MON PAIN ELEMENTAL', 'Pain Elemental',
846 ('ARRAY MON MASTERMIND', 'Spider Mastermind',
848 ('ARRAY MON ARACHNATRON', 'Arachnotron',
850 ('ARRAY MON MANCUBUS', 'Mancubus',
852 ('ARRAY MON REVENANT', 'Revenant',
854 ('ARRAY MON ARCHVILE', 'Arch-Vile',
856 ('ARRAY MON FISH', 'Piranha',
858 ('ARRAY MON BARREL', 'Barrel',
860 ('ARRAY MON ROBOT', 'Robot',
862 ('ARRAY MON PRIKOLIST', 'Prikolist',
865 ('ARRAY AREA PLAYER ONE', 'Player 1',
867 ('ARRAY AREA PLAYER TWO', 'Player 2',
869 ('ARRAY AREA DM', 'DM Spawn Point',
871 ('ARRAY AREA FLAG RED', 'Red Flag',
873 ('ARRAY AREA FLAG BLUE', 'Blue Flag',
875 ('ARRAY AREA FLAG DOM', 'Domination Flag',
877 ('ARRAY AREA TEAM RED', 'Red Team',
879 ('ARRAY AREA TEAM BLUE', 'Blue Team',
882 ('ARRAY TR EXIT', 'Exit',
884 ('ARRAY TR TELEPORT', 'Teleport',
886 ('ARRAY TR DOOR OPEN', 'Open Door',
888 ('ARRAY TR DOOR CLOSE', 'Close Door',
890 ('ARRAY TR DOOR SWITCH', 'Door',
892 ('ARRAY TR DOOR 5 SEC', 'Door (5 sec)',
894 ('ARRAY TR TRAP CLOSE', 'Close Trap',
896 ('ARRAY TR TRAP', 'Trap',
898 ('ARRAY TR EXTEND', 'Extender',
900 ('ARRAY TR SECRET', 'Secret',
902 ('ARRAY TR LIFT UP', 'Turn stream up/left',
903 'Лифт вверх/поток влево'),
904 ('ARRAY TR LIFT DOWN', 'Turn stream down/right',
905 'Лифт вниз/поток вправо'),
906 ('ARRAY TR LIFT SWITCH', 'Revert stream',
908 ('ARRAY TR TEXTURE', 'Change Texture',
910 ('ARRAY TR ON', 'Enable Trigger',
912 ('ARRAY TR OFF', 'Disable Trigger',
913 'Выключить триггер'),
914 ('ARRAY TR SWITCH', 'Trigger Toggle',
915 'Переключить триггер'),
916 ('ARRAY TR SOUND', 'Play Sound',
918 ('ARRAY TR SPAWN MONSTER', 'Spawn Monster',
920 ('ARRAY TR SPAWN ITEM', 'Spawn Item',
922 ('ARRAY TR MUSIC', 'Play Music',
924 ('ARRAY TR PUSH', 'Push',
926 ('ARRAY TR SCORE', 'Team Score',
928 ('ARRAY TR MESSAGE', 'Message',
930 ('ARRAY TR DAMAGE', 'Damage',
932 ('ARRAY TR HEALTH', 'Healer',
934 ('ARRAY TR SHOT', 'Turret',
936 ('ARRAY TR EFFECT', 'Effect',
945 ('PROP WIDTH', 'Width',
947 ('PROP HEIGHT', 'Height',
949 ('PROP PANEL TYPE', 'Panel Type',
951 ('PROP PANEL TEX', 'Texture',
953 ('PROP PANEL ALPHA', 'Transparency',
955 ('PROP PANEL BLEND', 'Blending',
957 ('PROP DM ONLY', 'DM Only',
959 ('PROP ITEM FALLS', 'Falls',
961 ('PROP DIRECTION', 'Direction',
964 ('PROP TR TYPE', 'Trigger Type',
966 ('PROP TR ENABLED', 'Enabled',
968 ('PROP TR TEXTURE PANEL', 'Textured Panel',
969 'Панель с текстурой'),
970 ('PROP TR ACTIVATION', 'Activation Type',
972 ('PROP TR KEYS', 'Keys',
974 ('PROP TR D2D', 'D2D-like',
976 ('PROP TR SILENT', 'Silent',
978 ('PROP TR COUNT', 'Count',
980 ('PROP TR INTERVAL', 'Interval (in ticks)',
981 'Интервал (в тиках)'),
982 ('PROP TR HEALTH', 'Health',
984 ('PROP TR NEXT MAP', 'Next Map',
986 ('PROP TR TELEPORT TO', 'Teleport to',
988 ('PROP TR TELEPORT SILENT', 'Silent',
990 ('PROP TR TELEPORT DIR', 'New Direction',
991 'Направление после'),
992 ('PROP TR DOOR PANEL', 'Door Panel',
994 ('PROP TR TRAP PANEL', 'Trap Panel',
996 ('PROP TR EX AREA', 'Action Area',
997 'Область воздействия'),
998 ('PROP TR EX DELAY', 'Delay',
1000 ('PROP TR EX COUNT', 'Count',
1002 ('PROP TR EX MONSTER', 'Monster ID',
1004 ('PROP TR EX RANDOM', 'Random',
1006 ('PROP TR LIFT PANEL', 'Stream Panel',
1008 ('PROP TR TEXTURE ONCE', 'Once',
1010 ('PROP TR TEXTURE ANIM ONCE', 'Animate Once',
1012 ('PROP TR SOUND NAME', 'Sound (snd)',
1014 ('PROP TR SOUND VOLUME', 'Volume',
1016 ('PROP TR SOUND PAN', 'Pan',
1018 ('PROP TR SOUND COUNT', 'Loops',
1020 ('PROP TR SOUND LOCAL', 'Local',
1022 ('PROP TR SOUND SWITCH', 'Switch',
1024 ('PROP TR FX TYPE', 'Effect',
1026 ('PROP TR SPAWN TO', 'Spawn at',
1028 ('PROP TR SPAWN MAX', 'Maximum',
1030 ('PROP TR SPAWN DELAY', 'Autospawn (in ticks)',
1031 'Автоспаун (в тиках)'),
1032 ('PROP TR MONSTER TYPE', 'Monster',
1034 ('PROP TR MONSTER ACTIVE', 'Active',
1036 ('PROP TR MONSTER BEHAVIOUR', 'Behaviour',
1038 ('PROP TR MONSTER BEHAVIOUR 0', 'Normal',
1040 ('PROP TR MONSTER BEHAVIOUR 1', 'Killer',
1042 ('PROP TR MONSTER BEHAVIOUR 2', 'Maniac',
1044 ('PROP TR MONSTER BEHAVIOUR 3', 'Insane',
1046 ('PROP TR MONSTER BEHAVIOUR 4', 'Cannibal',
1048 ('PROP TR MONSTER BEHAVIOUR 5', 'Good',
1050 ('PROP TR ITEM TYPE', 'Item',
1052 ('PROP TR MUSIC NAME', 'Music',
1054 ('PROP TR MUSIC ACT', 'Action (m)',
1056 ('PROP TR MUSIC ON', 'Play',
1058 ('PROP TR MUSIC OFF', 'Pause',
1060 ('PROP TR PUSH ANGLE', 'Angle',
1062 ('PROP TR PUSH FORCE', 'Force',
1064 ('PROP TR PUSH RESET', 'Reset velocity',
1065 'Сбрасывать скорость'),
1066 ('PROP TR SCORE ACT', 'Action (s)',
1068 ('PROP TR SCORE ACT 0', 'Add points',
1070 ('PROP TR SCORE ACT 1', 'Subtract points',
1072 ('PROP TR SCORE ACT 2', 'Team Wins',
1074 ('PROP TR SCORE ACT 3', 'Team Loses',
1076 ('PROP TR SCORE TEAM', 'Team',
1078 ('PROP TR SCORE TEAM 0', 'My',
1080 ('PROP TR SCORE TEAM 1', 'Enemy',
1082 ('PROP TR SCORE TEAM 2', 'Red',
1084 ('PROP TR SCORE TEAM 3', 'Blue',
1086 ('PROP TR SCORE CON', 'Console message',
1087 'Сообщение в консоль'),
1088 ('PROP TR SCORE MSG', 'Game message',
1089 'Сообщение в игру'),
1090 ('PROP TR DAMAGE VALUE', 'Damage',
1092 ('PROP TR HEALTH MAX', 'To maximum',
1094 ('PROP TR SHOT TYPE', 'Projectile',
1096 ('PROP TR SHOT SOUND', 'Shot sound',
1098 ('PROP TR SHOT ANGLE', 'Angle',
1100 ('PROP TR SHOT ACC', 'Spread',
1102 ('PROP TR SHOT TO', 'Auto targeting',
1104 ('PROP TR SHOT TO 0', 'None',
1106 ('PROP TR SHOT TO 1', 'Monsters',
1108 ('PROP TR SHOT TO 2', 'Players',
1110 ('PROP TR SHOT TO 3', 'Red team',
1112 ('PROP TR SHOT TO 4', 'Blue team',
1114 ('PROP TR SHOT TO 5', 'Monsters, players',
1116 ('PROP TR SHOT TO 6', 'Players, monsters',
1118 ('PROP TR SHOT AIM', 'Auto-aiming mode',
1119 'Режим автонаведения'),
1120 ('PROP TR SHOT AIM 0', 'Trigger area',
1121 'Область триггера'),
1122 ('PROP TR SHOT AIM 1', 'Entire map',
1124 ('PROP TR SHOT AIM 2', 'Trace trigger area',
1125 'Область триггера с трассировкой'),
1126 ('PROP TR SHOT AIM 3', 'Trace entire map',
1127 'Вся карта с трассировкой'),
1128 ('PROP TR SHOT AMMO', 'Ammo limit',
1130 ('PROP TR SHOT RELOAD', 'Reload interval (in ticks)',
1131 'Перезарядка (в тиках)'),
1132 ('PROP TR SHOT SIGHT', 'Sight interval (in ticks)',
1133 'Реакция (в тиках)'),
1134 ('PROP TR SHOT PANEL', 'Indicator panel',
1135 'Панель индикации'),
1136 ('PROP TR MESSAGE KIND', 'Message kind',
1138 ('PROP TR MESSAGE KIND 0', 'Console message',
1140 ('PROP TR MESSAGE KIND 1', 'Event message',
1141 'Крупный текст по центру'),
1142 ('PROP TR MESSAGE TO', 'Send to',
1144 ('PROP TR MESSAGE TO 0', 'Me',
1146 ('PROP TR MESSAGE TO 1', 'My team',
1148 ('PROP TR MESSAGE TO 2', 'Enemy team',
1149 'Вражеская команда'),
1150 ('PROP TR MESSAGE TO 3', 'Red team',
1152 ('PROP TR MESSAGE TO 4', 'Blue team',
1154 ('PROP TR MESSAGE TO 5', 'Everyone',
1156 ('PROP TR MESSAGE TEXT', 'Message text',
1158 ('PROP TR MESSAGE TIME', 'Time (in ticks)',
1159 'Время показа (в тиках)'),
1160 ('PROP TR EFFECT TYPE', 'Effect type',
1162 ('PROP TR EFFECT SUBTYPE', 'Effect subtype',
1164 ('PROP TR EFFECT COLOR', 'Effect color',
1166 ('PROP TR EFFECT CENTER', 'Trigger center',
1168 ('PROP TR EFFECT VELX', 'Horizontal speed',
1169 'Скорость по горизонтали'),
1170 ('PROP TR EFFECT VELY', 'Vertical speed',
1171 'Скорость по вертикали'),
1172 ('PROP TR EFFECT SPL', 'Speed variance left',
1173 'Отклонение влево'),
1174 ('PROP TR EFFECT SPR', 'Speed variance right',
1175 'Отклонение вправо'),
1176 ('PROP TR EFFECT SPU', 'Speed variance up',
1177 'Отклонение вверх'),
1178 ('PROP TR EFFECT SPD', 'Speed variance down',
1180 ('PROP TR EFFECT PARTICLE', 'Particle generator',
1181 'Генератор частиц'),
1182 ('PROP TR EFFECT ANIMATION', 'Animation',
1184 ('PROP TR EFFECT SLIQUID', 'Water splash',
1186 ('PROP TR EFFECT LLIQUID', 'Light colored splash',
1187 'Цветные брызги (светлее)'),
1188 ('PROP TR EFFECT DLIQUID', 'Dark colored splash',
1189 'Цветные брызги (темнее)'),
1190 ('PROP TR EFFECT BLOOD', 'Blood',
1192 ('PROP TR EFFECT SPARK', 'Sparks',
1194 ('PROP TR EFFECT BUBBLE', 'Bubbles',
1197 ('MSG ERROR', 'Error',
1199 ('MSG WRONG TEXWIDTH', 'Panel Width must be a multiple of Texture Width (%d)',
1200 'Ширина панели должна быть кратна ширине текстуры (%d)'),
1201 ('MSG WRONG TEXHEIGHT', 'Panel Height must be a multiple of Texture Height (%d)',
1202 'Высота панели должна быть кратна высоте текстуры (%d)'),
1203 ('MSG WRONG ALPHA', 'Transparency must be in [0..255] interval',
1204 'Прозрачность должна быть в интервале [0..255]'),
1205 ('MSG WRONG SIZE', 'Width and Height must be greater than 0',
1206 'Ширина и высота должны быть больше 0'),
1207 ('MSG WRONG XY', 'X or Y coordinate hasn''t been set',
1208 'Не задана X или Y координата'),
1209 ('MSG TEXTURE ALREADY', 'Texture "%s" already exists',
1210 'Текстура "%s" уже добавлена'),
1211 ('MSG RES NAME 64', 'Resource "%s" name must not be longer than 64 chars',
1212 'Имя ресурса "%s" должно быть не длиннее 64 символов'),
1213 ('MSG CHOOSE ITEM', 'Select Item',
1214 'Выберите предмет'),
1215 ('MSG CHOOSE MONSTER', 'Select Monster',
1216 'Выберите монстра'),
1217 ('MSG CHOOSE AREA', 'Select Area',
1218 'Выберите область'),
1219 ('MSG CHOOSE TEXTURE', 'Select Texture',
1220 'Выберите текстуру'),
1221 ('MSG CHOOSE RES', 'Resource hasn''t been selected',
1222 'Не выбран ресурс'),
1223 ('MSG EXIT', 'Exit',
1225 ('MSG EXIT PROMT', 'Leaving so soon?',
1227 ('MSG DEL TEXTURE', 'Delete the texture',
1228 'Удалить текстуру'),
1229 ('MSG DEL TEXTURE PROMT', 'Delete the texture "%s" ?',
1230 'Удалить текстуру "%s" ?'),
1231 ('MSG DEL TEXTURE CANT', 'Can''t delete texture in use. Replace it on all panels with this texture.',
1232 'Нельзя удалить используемую текстуру. Замените её на каждой панели с ней.'),
1233 ('MSG DEL RECENT', 'File does not longer exist',
1234 'Этого файла больше нет'),
1235 ('MSG DEL RECENT PROMT', 'Remove entry from recent list?',
1236 'Убрать запись из истории?'),
1237 ('MSG CLEAR MAP', 'New map',
1239 ('MSG CLEAR MAP PROMT', 'Clear the entire map?',
1240 'Очистить всю карту?'),
1241 ('MSG DELETE MAP', 'Delete the map',
1243 ('MSG DELETE MAP PROMT', 'Delete the map "%s" from "%s" ?',
1244 'Удалить карту "%s" из "%s" ?'),
1245 ('MSG MAP DELETED', 'Map is deleted',
1247 ('MSG MAP DELETED PROMT', 'Map "%s" is deleted',
1248 'Карта "%s" удалена'),
1249 ('MSG REOPEN MAP PROMT', 'Reopen this map?',
1250 'Загрузить карту заново?'),
1251 ('MSG EXEC ERROR', 'Game start error',
1252 'Ошибка запуска игры'),
1253 ('MSG SOUND ERROR', 'Can''t play sound',
1254 'Не удалось проиграть звук'),
1255 ('MSG WAD ERROR', 'Can''t open WAD: %s',
1256 'Ошибка при открытии WAD: %s'),
1257 ('MSG RES ERROR', 'Can''t read resource: %s:%s\%s',
1258 'Ошибка при чтении ресурса: %s:%s\%s'),
1259 ('MSG PACKED', 'Map "%s" with resources saved to "%s"',
1260 'Карта "%s" вместе с ресурсами сохранена в "%s"'),
1261 ('MSG MAP EXISTS', 'Map "%s" already exists. Overwrite?',
1262 'Карта "%s" уже существует. Заменить?'),
1263 ('MSG SAVE MAP', 'Save the map',
1266 ('HINT TELEPORT', 'Choose destination of Teleport',
1267 'Выберите точку телепорта'),
1268 ('HINT SPAWN', 'Choose Spawn point',
1269 'Выберите точку появления'),
1270 ('HINT PANEL DOOR', 'Choose Door',
1271 'Выберите панель двери'),
1272 ('HINT PANEL TEXTURE', 'Choose textured Panel',
1273 'Выберите панель с текстурой'),
1274 ('HINT PANEL SHOT', 'Choose textured shot indicator Panel',
1275 'Выберите панель индикации выстрела с текстурой'),
1276 ('HINT PANEL LIFT', 'Choose Stream Panel',
1277 'Выберите панель лифта'),
1278 ('HINT MONSTER', 'Choose Monster',
1279 'Выберите монстра'),
1280 ('HINT EXT AREA', 'Specify action Area',
1281 'Укажите область воздействия'),
1282 ('HINT WIDTH', 'Width: %d',
1284 ('HINT HEIGHT', 'Height: %d',
1287 ('MENU FILE', 'File',
1289 ('MENU FILE NEW', 'New Map',
1291 ('MENU FILE OPEN', 'Open Map',
1293 ('MENU FILE SAVE', 'Save Map',
1295 ('MENU FILE SAVE AS', 'Save Map As...',
1296 'Сохранить карту как...'),
1297 ('MENU FILE OPEN WAD', 'Select Map',
1299 ('MENU FILE REOPEN', 'Reopen Map',
1301 ('MENU FILE SAVE MINI', 'Save Mini-map',
1302 'Сохранить мини-карту'),
1303 ('MENU FILE DELETE', 'Delete Map from WAD...',
1304 'Удалить карту из WAD...'),
1305 ('MENU FILE PACK MAP', 'Pack Map',
1307 ('MENU FILE EXIT', 'Exit',
1310 ('MENU EDIT', 'Edit',
1312 ('MENU EDIT UNDO', 'Undo',
1314 ('MENU EDIT COPY', 'Copy',
1316 ('MENU EDIT CUT', 'Cut',
1318 ('MENU EDIT PASTE', 'Paste',
1320 ('MENU EDIT SELECT ALL', 'Select All',
1322 ('MENU EDIT TO FORE', 'Bring to Front',
1323 'Передвинуть вперёд'),
1324 ('MENU EDIT TO BACK', 'Send to Back',
1325 'Передвинуть назад'),
1327 ('MENU TOOLS', 'Tools',
1329 ('MENU TOOLS SNAP GRID', 'Snap to Grid',
1330 'Привязка к сетке'),
1331 ('MENU TOOLS MINIMAP', 'Show Mini-map',
1333 ('MENU TOOLS STEP GRID', 'Switch Grid step',
1334 'Сменить шаг сетки'),
1335 ('MENU TOOLS SHOW EDGES', 'Switch Map edges',
1337 ('MENU TOOLS LAYERS', 'Layers',
1340 ('MENU SERV', 'Service',
1342 ('MENU SERV TEST', 'Check the Map',
1344 ('MENU SERV OPT', 'Optimize the Map',
1345 'Оптимизация карты'),
1346 ('MENU SERV PREVIEW', 'Map Preview',
1347 'Предварительный просмотр'),
1348 ('MENU SERV LAUNCH', 'In-game test',
1349 'Тест карты в игре'),
1351 ('MENU SETS', 'Settings',
1353 ('MENU SETS MAP', 'Map parameters',
1355 ('MENU SETS EDITOR', 'Editor settings',
1356 'Настройки редактора'),
1357 ('MENU SETS LAUNCH', 'In-game test settings',
1358 'Настройки теста в игре'),
1360 ('MENU HELP', 'Help',
1362 ('MENU HELP ABOUT', 'About',
1365 ('MENU LAYER BACK', '1. Background',
1367 ('MENU LAYER WALL', '2. Walls',
1369 ('MENU LAYER FORE', '3. Foreground',
1370 '3. Передний план'),
1371 ('MENU LAYER STAIR', '4. Steps',
1373 ('MENU LAYER WATER', '5. Liquids',
1375 ('MENU LAYER ITEM', '6. Items',
1377 ('MENU LAYER MONSTER', '7. Monsters',
1379 ('MENU LAYER AREA', '8. Areas',
1381 ('MENU LAYER TRIGGER', '9. Triggers',
1384 ('MENU TB NEW', 'New Map',
1386 ('MENU TB OPEN', 'Open Map',
1388 ('MENU TB SAVE', 'Save Map',
1390 ('MENU TB OPEN WAD', 'Open another Map from same WAD',
1391 'Открыть другую карту из этого же WAD''а'),
1392 ('MENU TB MINIMAP', 'Show Mini-map',
1393 'Показать мини-карту'),
1394 ('MENU TB LAYERS', 'Show/Hide Objects',
1395 'Отрисовка панелей/объектов'),
1396 ('MENU TB GRID', 'Grid On/Off',
1397 'Включить/Отключить отображение сетки'),
1398 ('MENU TB GRID STEP', 'Switch Grid step',
1399 'Изменить шаг сетки'),
1400 ('MENU TB LAUNCH', 'In-game test',
1401 'Тест карты в игре'),
1403 ('MENU LAUNCH SETS', 'Settings...',
1406 ('CAP FX TYPE', 'Select Effect type',
1407 'Выберите тип эффекта'),
1408 ('CAP MONSTER TYPE', 'Select Monster type',
1409 'Выберите тип монстра'),
1410 ('CAP ITEM TYPE', 'Select Item type',
1411 'Выберите тип предмета'),
1412 ('CAP ABOUT', 'About Map Editor',
1414 ('CAP ACT', 'Activation type',
1416 ('CAP ADD SKY', 'Select Sky Texture',
1417 'Выберите текстуру неба'),
1418 ('CAP ADD SOUND', 'Select Sound/Music',
1419 'Выберите звук/музыку'),
1420 ('CAP ADD TEXTURE', 'Select Texture',
1421 'Выберите текстуру'),
1422 ('CAP KEYS', 'Keys',
1424 ('CAP TEST', 'Map Checking',
1426 ('CAP OPT', 'Map Optimization',
1427 'Оптимизация карты'),
1428 ('CAP SETS', 'Map Parameters',
1430 ('CAP LAUNCH', 'In-game test Settings',
1431 'Настройки теста в игре'),
1432 ('CAP ES', 'Editor Settings',
1433 'Настройки редактора'),
1434 ('CAP PACK', 'Pack Map',
1436 ('CAP SAVE', 'Save Map',
1438 ('CAP MINI', 'Save Mini-map',
1439 'Сохранить мини-карту'),
1440 ('CAP SELECT', 'Select Map',
1442 ('CAP OPEN', 'Open Map',
1444 ('CAP REMOVE', 'Remove Map',
1446 ('CAP TEXTURE', 'Texture: %dx%d',
1448 ('CAP ANIMATION', 'Animation: %dx%d, %d frames',
1449 'Анимация: %dx%d, %d кадров'),
1450 ('CAP STAT SELECTED', 'Selected objects: %d',
1451 'Выделено объектов: %d'),
1453 ('CTRL PROP KEY', 'Property',
1455 ('CTRL PROP VALUE', 'Value',
1458 ('CTRL PANELS', 'Panels',
1460 ('CTRL ITEMS', 'Items',
1462 ('CTRL MONSTERS', 'Monsters',
1464 ('CTRL AREAS', 'Areas',
1466 ('CTRL TRIGGERS', 'Triggers',
1469 ('CTRL LIST TEXTURE', 'Texture List',
1471 ('CTRL LIST ITEM', 'Item List',
1472 'Список предметов'),
1473 ('CTRL LIST MONSTER', 'Monster List',
1475 ('CTRL LIST AREA', 'Area List',
1477 ('CTRL LIST TRIGGER', 'Trigger List',
1478 'Список триггеров'),
1479 ('CTRL LIST ACTIVE', 'Activation Type',
1480 'Тип активации триггера'),
1481 ('CTRL LIST KEYS', 'Keys Needed',
1482 'Ключи для активации'),
1484 ('CTRL PREVIEW', 'Texture Preview',
1485 'Предварительный просмотр'),
1486 ('CTRL ITEM DM', 'DM Only',
1488 ('CTRL ITEM FALLS', 'Falls',
1490 ('CTRL LEFT', 'Left',
1492 ('CTRL RIGHT', 'Right',
1495 ('CTRL ACT PLAYER CLOSE', 'Player Collides',
1497 ('CTRL ACT MONSTER CLOSE', 'Monster Collides',
1499 ('CTRL ACT PLAYER PRESS', 'Player Pressed',
1501 ('CTRL ACT MONSTER PRESS', 'Monster Pressed',
1503 ('CTRL ACT SHOT', 'Shot',
1505 ('CTRL ACT NO MONSTER', 'No Monsters',
1508 ('CTRL KEYS RED', 'Red Key',
1510 ('CTRL KEYS GREEN', 'Green Key',
1512 ('CTRL KEYS BLUE', 'Blue Key',
1514 ('CTRL KEYS TEAM RED', 'Red Team',
1516 ('CTRL KEYS TEAM BLUE', 'Blue Team',
1519 ('CTRL OPT GB', 'Optimization',
1521 ('CTRL OPT TEXTURE', 'Texture Optimization',
1522 'Оптимизация текстур'),
1523 ('CTRL OPT PANEL', 'Panel Optimization',
1524 'Оптимизация панелей'),
1525 ('CTRL OPT WALL', 'Walls',
1527 ('CTRL OPT FORE', 'Foreground',
1529 ('CTRL OPT BACK', 'Background',
1531 ('CTRL OPT STAIR', 'Steps',
1533 ('CTRL OPT WATER', 'Water',
1535 ('CTRL OPT ACID1', 'Acid 1',
1537 ('CTRL OPT ACID2', 'Acid 2',
1539 ('CTRL OPT LIFT', 'Streams',
1541 ('CTRL OPT BLOCKMON', 'Monster Boundary',
1542 'Блокиратор монстров'),
1543 ('CTRL OPT DESC TEXTURE', 'Deletes unused textures from texture list.',
1544 'Удаляет неиспользуемые текстуры из списка.'),
1545 ('CTRL OPT DESC PANEL', 'Merges nearby panels of same type. Increases game performance.',
1546 'Объединяет одинаковые панели, расположенные вплотную друг к другу, увеличивая тем самым производительность игры.'),
1547 ('CTRL SETS STATS', 'Statistics:',
1549 ('CTRL SETS SIZES', 'Map Size:',
1552 ('CTRL LAUNCH DM', 'Deathmatch',
1554 ('CTRL LAUNCH TDM', 'Team Deathmatch',
1556 ('CTRL LAUNCH CTF', 'Capture the Flag',
1557 'Capture the Flag'),
1558 ('CTRL LAUNCH COOP', 'Cooperative',
1560 ('CTRL LAUNCH 2P', 'Two Players',
1562 ('CTRL LAUNCH FF', 'Friendly Fire',
1564 ('CTRL LAUNCH EXIT', 'Enable Exit',
1566 ('CTRL LAUNCH WEAPONS', 'Weapons Stay',
1568 ('CTRL LAUNCH MONSTERS', 'Enable Monsters',
1570 ('CTRL LAUNCH CLOSE', 'Close the game after exiting the map',
1571 'Закрыть игру после выхода из карты'),
1572 ('CTRL LAUNCH OPEN', 'Select Doom 2D: Forever executable',
1573 'Выберите файл игры Doom 2D: Forever'),
1575 ('CTRL ES GRID', 'Show Grid',
1576 'Показывать сетку'),
1577 ('CTRL ES TEXTURE', 'Show Panel Texture',
1578 'Показывать текстуру панели'),
1579 ('CTRL ES PANEL SIZE', 'Show Panel Size',
1580 'Показывать размеры панели '),
1581 ('CTRL ES CHECKERBOARD', 'Use Checkerboard',
1582 'Использовать шахматку'),
1584 ('CTRL PACK TEXTURES', 'Textures',
1586 ('CTRL PACK SKY', 'Sky',
1588 ('CTRL PACK MUSIC', 'Music',
1590 ('CTRL PACK ADD', 'Don''t overwrite WAD',
1591 'Не перезаписывать WAD'),
1592 ('CTRL PACK NON STD', 'Non-standard Resources only',
1593 'Только нестандартные ресурсы'),
1595 ('LAB TEX WIDTH', 'Texture Width:',
1596 'Ширина текстуры:'),
1597 ('LAB TEX HEIGHT', 'Texture Height:',
1598 'Высота текстуры:'),
1600 ('LAB SPECTRUM', 'Show the Spectrum',
1603 ('LAB ABOUT VER', 'Version 2.1.5',
1605 ('LAB ABOUT AUTHOR', 'Author: rs.falcon',
1606 'Автор: rs.falcon'),
1607 ('LAB ABOUT AUTHOR 2', 'Additions: Pss',
1608 'Дорабатывал: Pss'),
1609 ('LAB ABOUT MAIL', 'rmw.falcon@mail.ru',
1610 'rmw.falcon@mail.ru'),
1611 ('LAB ABOUT MAIL 2', 'pssxx@mail.ru',
1613 ('LAB ABOUT SITE', 'Doom 2D: Forever Web-site',
1614 'Сайт Doom 2D: Forever'),
1615 ('LAB ABOUT HTTP', 'www.doom2d.org',
1618 ('LAB ADD WADS', 'WAD Files:',
1619 'Список WAD-файлов:'),
1620 ('LAB ADD SECTIONS', 'WAD Sections:',
1621 'Список секций WAD-файла:'),
1623 ('LAB SETS NAME', 'Map Name:',
1625 ('LAB SETS DESC', 'Map Description',
1627 ('LAB SETS AUTHOR', 'Author:',
1629 ('LAB SETS BACK', 'Background/Sky:',
1631 ('LAB SETS MUSIC', 'Music:',
1633 ('LAB SETS TEXTURES', 'Textures:',
1635 ('LAB SETS PANELS', 'Panels:',
1637 ('LAB SETS ITEMS', 'Items:',
1639 ('LAB SETS MONSTERS', 'Monsters:',
1641 ('LAB SETS AREAS', 'Areas:',
1643 ('LAB SETS TRIGGERS', 'Triggers:',
1645 ('LAB SETS SIZES', 'Current:',
1647 ('LAB SETS WIDTH', 'Width:',
1649 ('LAB SETS HEIGHT', 'Height:',
1651 ('LAB SETS MAPMOVE', 'Direction to shift map objects:',
1652 'Направление смещения объектов карты:'),
1653 ('LAB SETS SNAPPING', 'Preserve snapping',
1654 'Сохранять привязку'),
1656 ('LAB LAUNCH TIME', 'Time Limit:',
1658 ('LAB LAUNCH SECS', 'seconds',
1660 ('LAB LAUNCH SCORE', 'Score Limit:',
1662 ('LAB LAUNCH PATH', 'Path to Doom2DF.exe:',
1663 'Путь к Doom2DF.exe:'),
1665 ('LAB ES GRID', 'Grid Step:',
1667 ('LAB ES GRID COLOR', 'Grid Color:',
1669 ('LAB ES GRID SIZE', 'Grid Dot Size:',
1670 'Размер точек сетки:'),
1671 ('LAB ES BACK', 'Background Color:',
1673 ('LAB ES PREVIEW', 'Texture Preview Background Color:',
1674 'Цвет фона поля предпросмотра текстуры:'),
1675 ('LAB ES MINIMAP', 'Mini-map Scale:',
1676 'Масштаб мини-карты:'),
1677 ('LAB ES RECENT', 'Recent Maps List Contains:',
1678 'Запоминать последних открытых карт:'),
1679 ('LAB ES LANGUAGE', 'Language:',
1682 ('LAB PACK SAVE TO', 'Save to:',
1684 ('LAB PACK MAP NAME', 'Map Resource Name:',
1685 'Название ресурса карты:'),
1686 ('LAB PACK TEXTURES', 'Texture Section:',
1687 'Секция для текстур:'),
1688 ('LAB PACK SKY', 'Sky Section:',
1689 'Секция для неба:'),
1690 ('LAB PACK MUSIC', 'Music Section:',
1691 'Секция для музыки:'),
1693 ('LAB MINI SCALE', 'Scale:',
1696 ('BTN APPLY PROPS', 'Apply Properties',
1697 'Применить свойства'),
1700 ('BTN CANCEL', 'Cancel',
1704 ('BTN CLOSE', 'Close',
1706 ('BTN ADD CLOSE', 'Add and Close',
1707 'Добавить и закрыть'),
1708 ('BTN TEST AGAIN', 'Check',
1710 ('BTN START', 'Run',
1712 ('BTN PACK', 'Pack',
1714 ('BTN SAVE', 'Save',
1716 ('BTN NO SOUND', 'No sound',
1718 ('BTN TEXTURE ADD', 'Add texture to the list',
1719 'Добавить текстуру в список'),
1720 ('BTN TEXTURE DELETE', 'Delete texture from the list',
1721 'Удалить текстуру из списка'),
1722 ('BTN TEXTURE EMPTY', 'Deselect texture',
1723 'Снять выбор с текстуры'),
1725 ('LOAD WAD', 'Reading WAD',
1727 ('LOAD MAP', 'Loading Map',
1729 ('LOAD TEXTURES', 'Reading Textures',
1731 ('LOAD PANELS', 'Reading Panels',
1733 ('LOAD ITEMS', 'Reading Items',
1734 'Чтение предметов'),
1735 ('LOAD MONSTERS', 'Reading Monsters',
1737 ('LOAD AREAS', 'Reading Areas',
1739 ('LOAD TRIGGERS', 'Reading Triggers',
1740 'Чтение триггеров'),
1742 ('TEST AREA WALL', 'Player collides with the wall and will be stuck.',
1743 'Если в этой области появится игрок, то он застрянет в стене и не сможет двигаться.'),
1744 ('TEST AREA WALL STR', 'Area #%d collides with Map (%d:%d)',
1745 'Область #%d пересекается с картой (%d:%d)'),
1746 ('TEST SPAWNS 1', 'There are several spawn points for First Player on the map',
1747 'Несколько точек появления первого игрока'),
1748 ('TEST SPAWNS 2', 'There are several spawn points for Second Player on the map',
1749 'Несколько точек появления второго игрока'),
1750 ('TEST SPAWNS', 'There are several spawn points on the map. Random one will be used.',
1751 'Несколько точек появления игрока, будет использована случайная.'),
1752 ('TEST NO DM', 'There are no DM spawn points on the map',
1753 'На карте нет точек DM'),
1754 ('TEST NO DM EX', 'There are no DM spawn points on the map. Only "Single Player" mode available.',
1755 'На карте нет точек DM, поиграть получится только в режиме "Single Player".'),
1756 ('TEST MONSTER WALL', 'Monster collides with the wall and will be stuck.',
1757 'Монстр пересекается с картой. Он застрянет в стене и не сможет двигаться'),
1758 ('TEST MONSTER WALL STR', 'Monster #%d collides with a map (%d:%d)',
1759 'Монстр #%d пересекается с картой (%d:%d)'),
1761 ('OPT NO TEXTURES', 'Texture list is empty',
1762 'Список текстур пуст'),
1763 ('OPT DELETED TEXTURES', 'Deleted Textures:',
1764 'Удалённые текстуры:'),
1765 ('OPT TOTAL TEXTURES', 'Textures Total:',
1767 ('OPT TEX DELETED', 'Textures Deleted:',
1768 'Удалено текстур:'),
1769 ('OPT PANELS OPT', 'Panels Optimized:',
1770 'Оптимизировано панелей:'),
1771 ('OPT WALLS', 'Walls Optimization...',
1772 'Оптимизация стен...'),
1773 ('OPT FORES', 'Foreground Optimization...',
1774 'Оптимизация переднего плана...'),
1775 ('OPT BACKS', 'Background Optimization...',
1776 'Оптимизация фона...'),
1777 ('OPT STAIRS', 'Steps Optimization...',
1778 'Оптимизация ступеней...'),
1779 ('OPT WATER', 'Water Optimization...',
1780 'Оптимизация воды...'),
1781 ('OPT ACID1', 'Acid 1 Optimization...',
1782 'Оптимизация кислоты 1...'),
1783 ('OPT ACID2', 'Acid 2 Optimization...',
1784 'Оптимизация кислоты 2...'),
1785 ('OPT LIFTS', 'Streams Optimization...',
1786 'Оптимизация лифтов...'),
1787 ('OPT BLOCKMON', 'Monster Boundaries Optimization...',
1788 'Оптимизация блокираторов монстров....'),
1789 ('OPT TOTAL PANELS', 'Panels Total:',
1791 ('OPT PANELS AFTER', 'Panels after Optimization:',
1792 'Панелей после оптимизации:'),
1794 ('WAD SPECIAL MAP', '<MAP WAD-FILE>',
1795 '<WAD-ФАЙЛ КАРТЫ>'),
1796 ('WAD SPECIAL TEXS', '<EXTRA TEXTURES>',
1799 ('FILE FILTER ALL', 'Doom 2D: Forever Maps (*.wad)|*.wad|Old Doom 2D: Forever 0.30 Maps (*.ini)|*.ini|All Files (*.*)|*.*',
1800 'Карты Doom 2D: Forever (*.wad)|*.wad|Старые карты Doom 2D: Forever 0.30 (*.ini)|*.ini|Все файлы (*.*)|*.*'),
1801 ('FILE FILTER WAD', 'Doom 2D: Forever Maps (*.wad)|*.wad|All Files (*.*)|*.*',
1802 'Карты Doom 2D: Forever (*.wad)|*.wad|Все файлы (*.*)|*.*'),
1804 ('EDITOR TITLE', 'Doom 2D: Forever Map Editor',
1805 'Редактор карт Doom 2D: Forever'),
1811 procedure SetupArrays();
1817 BoolNames
[False] := _lc
[I_ARRAY_BOOL_FALSE
];
1818 BoolNames
[True] := _lc
[I_ARRAY_BOOL_TRUE
];
1821 DirNames
[D_LEFT
] := _lc
[I_ARRAY_DIR_LEFT
];
1822 DirNames
[D_RIGHT
] := _lc
[I_ARRAY_DIR_RIGHT
];
1824 // Смены направления:
1825 DirNamesAdv
[0] := _lc
[I_ARRAY_DIR_SAME
];
1826 DirNamesAdv
[1] := _lc
[I_ARRAY_DIR_LEFT
];
1827 DirNamesAdv
[2] := _lc
[I_ARRAY_DIR_RIGHT
];
1828 DirNamesAdv
[3] := _lc
[I_ARRAY_DIR_REVERSED
];
1830 // Направление (на кнопках):
1831 DirButtonNames
[1] := _lc
[I_ARRAY_DIRBTN_LEFT
];
1832 DirButtonNames
[2] := _lc
[I_ARRAY_DIRBTN_RIGHT
];
1833 DirButtonNames
[3] := _lc
[I_ARRAY_DIRBTN_UP
];
1834 DirButtonNames
[4] := _lc
[I_ARRAY_DIRBTN_DOWN
];
1836 // Названия панелей:
1837 PANELNAMES
[0] := _lc
[I_ARRAY_PANEL_WALL
];
1838 PANELNAMES
[1] := _lc
[I_ARRAY_PANEL_BACK
];
1839 PANELNAMES
[2] := _lc
[I_ARRAY_PANEL_FRONT
];
1840 PANELNAMES
[3] := _lc
[I_ARRAY_PANEL_DOOR_OPEN
];
1841 PANELNAMES
[4] := _lc
[I_ARRAY_PANEL_DOOR_CLOSE
];
1842 PANELNAMES
[5] := _lc
[I_ARRAY_PANEL_STAIR
];
1843 PANELNAMES
[6] := _lc
[I_ARRAY_PANEL_WATER
];
1844 PANELNAMES
[7] := _lc
[I_ARRAY_PANEL_ACID_1
];
1845 PANELNAMES
[8] := _lc
[I_ARRAY_PANEL_ACID_2
];
1846 PANELNAMES
[9] := _lc
[I_ARRAY_PANEL_LIFT_UP
];
1847 PANELNAMES
[10] := _lc
[I_ARRAY_PANEL_LIFT_DOWN
];
1848 PANELNAMES
[11] := _lc
[I_ARRAY_PANEL_LIFT_LEFT
];
1849 PANELNAMES
[12] := _lc
[I_ARRAY_PANEL_LIFT_RIGHT
];
1850 PANELNAMES
[13] := _lc
[I_ARRAY_PANEL_BLOCKMON
];
1852 // Названия эффектов:
1853 EffectNames
[EFFECT_NONE
] := _lc
[I_ARRAY_FX_NONE
];
1854 EffectNames
[EFFECT_TELEPORT
] := _lc
[I_ARRAY_FX_TELEPORT
];
1855 EffectNames
[EFFECT_RESPAWN
] := _lc
[I_ARRAY_FX_RESPAWN
];
1856 EffectNames
[EFFECT_FIRE
] := _lc
[I_ARRAY_FX_FIRE
];
1858 // Названия предметов:
1859 ItemNames
[ITEM_MEDKIT_SMALL
] := _lc
[I_ARRAY_ITEM_MEDKIT
];
1860 ItemNames
[ITEM_MEDKIT_LARGE
] := _lc
[I_ARRAY_ITEM_LARGE_MEDKIT
];
1861 ItemNames
[ITEM_MEDKIT_BLACK
] := _lc
[I_ARRAY_ITEM_BLACK_MEDKIT
];
1862 ItemNames
[ITEM_ARMOR_GREEN
] := _lc
[I_ARRAY_ITEM_GREEN_ARMOR
];
1863 ItemNames
[ITEM_ARMOR_BLUE
] := _lc
[I_ARRAY_ITEM_BLUE_ARMOR
];
1864 ItemNames
[ITEM_SPHERE_BLUE
] := _lc
[I_ARRAY_ITEM_BLUE_SPHERE
];
1865 ItemNames
[ITEM_SPHERE_WHITE
] := _lc
[I_ARRAY_ITEM_MEGASPHERE
];
1866 ItemNames
[ITEM_SUIT
] := _lc
[I_ARRAY_ITEM_HAZ_SUIT
];
1867 ItemNames
[ITEM_OXYGEN
] := _lc
[I_ARRAY_ITEM_OXYGEN
];
1868 ItemNames
[ITEM_INVUL
] := _lc
[I_ARRAY_ITEM_INVULNERABILITY
];
1869 ItemNames
[ITEM_WEAPON_SAW
] := _lc
[I_ARRAY_ITEM_CHAINSAW
];
1870 ItemNames
[ITEM_WEAPON_SHOTGUN1
] := _lc
[I_ARRAY_ITEM_SHOTGUN
];
1871 ItemNames
[ITEM_WEAPON_SHOTGUN2
] := _lc
[I_ARRAY_ITEM_DB_SHOTGUN
];
1872 ItemNames
[ITEM_WEAPON_CHAINGUN
] := _lc
[I_ARRAY_ITEM_CHAINGUN
];
1873 ItemNames
[ITEM_WEAPON_ROCKETLAUNCHER
] := _lc
[I_ARRAY_ITEM_ROCKET_LAUNCHER
];
1874 ItemNames
[ITEM_WEAPON_PLASMA
] := _lc
[I_ARRAY_ITEM_PLASMA_RIFLE
];
1875 ItemNames
[ITEM_WEAPON_BFG
] := _lc
[I_ARRAY_ITEM_BFG
];
1876 ItemNames
[ITEM_WEAPON_SUPERPULEMET
] := _lc
[I_ARRAY_ITEM_SUPER_MINIGUN
];
1877 ItemNames
[ITEM_WEAPON_FLAMETHROWER
] := _lc
[I_ARRAY_ITEM_FLAMETHROWER
];
1878 ItemNames
[ITEM_AMMO_BULLETS
] := _lc
[I_ARRAY_ITEM_CLIP
];
1879 ItemNames
[ITEM_AMMO_BULLETS_BOX
] := _lc
[I_ARRAY_ITEM_AMMO_BOX
];
1880 ItemNames
[ITEM_AMMO_SHELLS
] := _lc
[I_ARRAY_ITEM_4_SHELLS
];
1881 ItemNames
[ITEM_AMMO_SHELLS_BOX
] := _lc
[I_ARRAY_ITEM_25_SHELLS
];
1882 ItemNames
[ITEM_AMMO_ROCKET
] := _lc
[I_ARRAY_ITEM_1_ROCKET
];
1883 ItemNames
[ITEM_AMMO_ROCKET_BOX
] := _lc
[I_ARRAY_ITEM_ROCKET_BOX
];
1884 ItemNames
[ITEM_AMMO_CELL
] := _lc
[I_ARRAY_ITEM_CELL
];
1885 ItemNames
[ITEM_AMMO_CELL_BIG
] := _lc
[I_ARRAY_ITEM_LARGE_CELL
];
1886 ItemNames
[ITEM_AMMO_FUELCAN
] := _lc
[I_ARRAY_ITEM_FUELCAN
];
1887 ItemNames
[ITEM_AMMO_BACKPACK
] := _lc
[I_ARRAY_ITEM_BACKPACK
];
1888 ItemNames
[ITEM_KEY_RED
] := _lc
[I_ARRAY_ITEM_KEY_RED
];
1889 ItemNames
[ITEM_KEY_GREEN
] := _lc
[I_ARRAY_ITEM_KEY_GREEN
];
1890 ItemNames
[ITEM_KEY_BLUE
] := _lc
[I_ARRAY_ITEM_KEY_BLUE
];
1891 ItemNames
[ITEM_WEAPON_KASTET
] := '?';
1892 ItemNames
[ITEM_WEAPON_PISTOL
] := '??';
1893 ItemNames
[ITEM_BOTTLE
] := _lc
[I_ARRAY_ITEM_BOTTLE
];
1894 ItemNames
[ITEM_HELMET
] := _lc
[I_ARRAY_ITEM_HELMET
];
1895 ItemNames
[ITEM_JETPACK
] := _lc
[I_ARRAY_ITEM_JETPACK
];
1896 ItemNames
[ITEM_INVIS
] := _lc
[I_ARRAY_ITEM_INVIS
];
1898 // Названия снарядов:
1899 ShotNames
[TRIGGER_SHOT_PISTOL
] := _lc
[I_ARRAY_SHOT_PISTOL
];
1900 ShotNames
[TRIGGER_SHOT_BULLET
] := _lc
[I_ARRAY_SHOT_BULLET
];
1901 ShotNames
[TRIGGER_SHOT_SHOTGUN
] := _lc
[I_ARRAY_SHOT_SHOTGUN
];
1902 ShotNames
[TRIGGER_SHOT_SSG
] := _lc
[I_ARRAY_SHOT_SSG
];
1903 ShotNames
[TRIGGER_SHOT_IMP
] := _lc
[I_ARRAY_SHOT_IMP
];
1904 ShotNames
[TRIGGER_SHOT_PLASMA
] := _lc
[I_ARRAY_SHOT_PLASMA
];
1905 ShotNames
[TRIGGER_SHOT_SPIDER
] := _lc
[I_ARRAY_SHOT_SPIDER
];
1906 ShotNames
[TRIGGER_SHOT_CACO
] := _lc
[I_ARRAY_SHOT_CACO
];
1907 ShotNames
[TRIGGER_SHOT_BARON
] := _lc
[I_ARRAY_SHOT_BARON
];
1908 ShotNames
[TRIGGER_SHOT_MANCUB
] := _lc
[I_ARRAY_SHOT_MANCUB
];
1909 ShotNames
[TRIGGER_SHOT_REV
] := _lc
[I_ARRAY_SHOT_REV
];
1910 ShotNames
[TRIGGER_SHOT_ROCKET
] := _lc
[I_ARRAY_SHOT_ROCKET
];
1911 ShotNames
[TRIGGER_SHOT_BFG
] := _lc
[I_ARRAY_SHOT_BFG
];
1912 ShotNames
[TRIGGER_SHOT_EXPL
] := _lc
[I_ARRAY_SHOT_EXPL
];
1913 ShotNames
[TRIGGER_SHOT_BFGEXPL
] := _lc
[I_ARRAY_SHOT_BFGEXPL
];
1914 ShotNames
[TRIGGER_SHOT_FLAME
] := _lc
[I_ARRAY_SHOT_FLAME
];
1916 // Названия монстров:
1917 MonsterNames
[MONSTER_DEMON
] := _lc
[I_ARRAY_MON_DEMON
];
1918 MonsterNames
[MONSTER_IMP
] := _lc
[I_ARRAY_MON_IMP
];
1919 MonsterNames
[MONSTER_ZOMBY
] := _lc
[I_ARRAY_MON_ZOMBIE
];
1920 MonsterNames
[MONSTER_SERG
] := _lc
[I_ARRAY_MON_SERGEANT
];
1921 MonsterNames
[MONSTER_CYBER
] := _lc
[I_ARRAY_MON_CYBER
];
1922 MonsterNames
[MONSTER_CGUN
] := _lc
[I_ARRAY_MON_CGUN
];
1923 MonsterNames
[MONSTER_BARON
] := _lc
[I_ARRAY_MON_HELL_BARON
];
1924 MonsterNames
[MONSTER_KNIGHT
] := _lc
[I_ARRAY_MON_HELL_KNIGHT
];
1925 MonsterNames
[MONSTER_CACO
] := _lc
[I_ARRAY_MON_CACODEMON
];
1926 MonsterNames
[MONSTER_SOUL
] := _lc
[I_ARRAY_MON_LOST_SOUL
];
1927 MonsterNames
[MONSTER_PAIN
] := _lc
[I_ARRAY_MON_PAIN_ELEMENTAL
];
1928 MonsterNames
[MONSTER_SPIDER
] := _lc
[I_ARRAY_MON_MASTERMIND
];
1929 MonsterNames
[MONSTER_BSP
] := _lc
[I_ARRAY_MON_ARACHNATRON
];
1930 MonsterNames
[MONSTER_MANCUB
] := _lc
[I_ARRAY_MON_MANCUBUS
];
1931 MonsterNames
[MONSTER_SKEL
] := _lc
[I_ARRAY_MON_REVENANT
];
1932 MonsterNames
[MONSTER_VILE
] := _lc
[I_ARRAY_MON_ARCHVILE
];
1933 MonsterNames
[MONSTER_FISH
] := _lc
[I_ARRAY_MON_FISH
];
1934 MonsterNames
[MONSTER_BARREL
] := _lc
[I_ARRAY_MON_BARREL
];
1935 MonsterNames
[MONSTER_ROBO
] := _lc
[I_ARRAY_MON_ROBOT
];
1936 MonsterNames
[MONSTER_MAN
] := _lc
[I_ARRAY_MON_PRIKOLIST
];
1938 // Названия областей:
1939 AreaNames
[AREA_PLAYERPOINT1
] := _lc
[I_ARRAY_AREA_PLAYER_ONE
];
1940 AreaNames
[AREA_PLAYERPOINT2
] := _lc
[I_ARRAY_AREA_PLAYER_TWO
];
1941 AreaNames
[AREA_DMPOINT
] := _lc
[I_ARRAY_AREA_DM
];
1942 AreaNames
[AREA_REDFLAG
] := _lc
[I_ARRAY_AREA_FLAG_RED
];
1943 AreaNames
[AREA_BLUEFLAG
] := _lc
[I_ARRAY_AREA_FLAG_BLUE
];
1944 AreaNames
[AREA_DOMFLAG
] := _lc
[I_ARRAY_AREA_FLAG_DOM
];
1945 AreaNames
[AREA_REDTEAMPOINT
] := _lc
[I_ARRAY_AREA_TEAM_RED
];
1946 AreaNames
[AREA_BLUETEAMPOINT
] := _lc
[I_ARRAY_AREA_TEAM_BLUE
];
1948 // Названия триггеров:
1949 TriggerNames
[TRIGGER_EXIT
] := _lc
[I_ARRAY_TR_EXIT
];
1950 TriggerNames
[TRIGGER_TELEPORT
] := _lc
[I_ARRAY_TR_TELEPORT
];
1951 TriggerNames
[TRIGGER_OPENDOOR
] := _lc
[I_ARRAY_TR_DOOR_OPEN
];
1952 TriggerNames
[TRIGGER_CLOSEDOOR
] := _lc
[I_ARRAY_TR_DOOR_CLOSE
];
1953 TriggerNames
[TRIGGER_DOOR
] := _lc
[I_ARRAY_TR_DOOR_SWITCH
];
1954 TriggerNames
[TRIGGER_DOOR5
] := _lc
[I_ARRAY_TR_DOOR_5_SEC
];
1955 TriggerNames
[TRIGGER_CLOSETRAP
] := _lc
[I_ARRAY_TR_TRAP_CLOSE
];
1956 TriggerNames
[TRIGGER_TRAP
] := _lc
[I_ARRAY_TR_TRAP
];
1957 TriggerNames
[TRIGGER_PRESS
] := _lc
[I_ARRAY_TR_EXTEND
];
1958 TriggerNames
[TRIGGER_SECRET
] := _lc
[I_ARRAY_TR_SECRET
];
1959 TriggerNames
[TRIGGER_LIFTUP
] := _lc
[I_ARRAY_TR_LIFT_UP
];
1960 TriggerNames
[TRIGGER_LIFTDOWN
] := _lc
[I_ARRAY_TR_LIFT_DOWN
];
1961 TriggerNames
[TRIGGER_LIFT
] := _lc
[I_ARRAY_TR_LIFT_SWITCH
];
1962 TriggerNames
[TRIGGER_TEXTURE
] := _lc
[I_ARRAY_TR_TEXTURE
];
1963 TriggerNames
[TRIGGER_ON
] := _lc
[I_ARRAY_TR_ON
];
1964 TriggerNames
[TRIGGER_OFF
] := _lc
[I_ARRAY_TR_OFF
];
1965 TriggerNames
[TRIGGER_ONOFF
] := _lc
[I_ARRAY_TR_SWITCH
];
1966 TriggerNames
[TRIGGER_SOUND
] := _lc
[I_ARRAY_TR_SOUND
];
1967 TriggerNames
[TRIGGER_SPAWNMONSTER
] := _lc
[I_ARRAY_TR_SPAWN_MONSTER
];
1968 TriggerNames
[TRIGGER_SPAWNITEM
] := _lc
[I_ARRAY_TR_SPAWN_ITEM
];
1969 TriggerNames
[TRIGGER_MUSIC
] := _lc
[I_ARRAY_TR_MUSIC
];
1970 TriggerNames
[TRIGGER_PUSH
] := _lc
[I_ARRAY_TR_PUSH
];
1971 TriggerNames
[TRIGGER_SCORE
] := _lc
[I_ARRAY_TR_SCORE
];
1972 TriggerNames
[TRIGGER_MESSAGE
] := _lc
[I_ARRAY_TR_MESSAGE
];
1973 TriggerNames
[TRIGGER_DAMAGE
] := _lc
[I_ARRAY_TR_DAMAGE
];
1974 TriggerNames
[TRIGGER_HEALTH
] := _lc
[I_ARRAY_TR_HEALTH
];
1975 TriggerNames
[TRIGGER_SHOT
] := _lc
[I_ARRAY_TR_SHOT
];
1976 TriggerNames
[TRIGGER_EFFECT
] := _lc
[I_ARRAY_TR_EFFECT
];
1978 // Установка значений в панели выбора объектов:
1981 lbPanelType
.Items
.Clear();
1982 for i
:= 0 to High(PANELNAMES
) do
1983 lbPanelType
.Items
.Add(PANELNAMES
[i
]);
1984 lbPanelType
.ItemIndex
:= 0;
1987 for i
:= ITEM_MEDKIT_SMALL
to ITEM_KEY_BLUE
do
1988 lbItemList
.Items
.Add(ItemNames
[i
]);
1989 lbItemList
.Items
.Add(ItemNames
[ITEM_BOTTLE
]);
1990 lbItemList
.Items
.Add(ItemNames
[ITEM_HELMET
]);
1991 lbItemList
.Items
.Add(ItemNames
[ITEM_JETPACK
]);
1992 lbItemList
.Items
.Add(ItemNames
[ITEM_INVIS
]);
1993 lbItemList
.Items
.Add(ItemNames
[ITEM_WEAPON_FLAMETHROWER
]);
1994 lbItemList
.Items
.Add(ItemNames
[ITEM_AMMO_FUELCAN
]);
1996 lbMonsterList
.Clear();
1997 for i
:= MONSTER_DEMON
to MONSTER_MAN
do
1998 lbMonsterList
.Items
.Add(MonsterNames
[i
]);
2000 lbAreasList
.Clear();
2001 for i
:= AREA_PLAYERPOINT1
to AREA_BLUETEAMPOINT
do
2002 lbAreasList
.Items
.Add(AreaNames
[i
]);
2004 lbTriggersList
.Clear();
2005 for i
:= Low(TriggerNames
) to High(TriggerNames
) do
2006 lbTriggersList
.Items
.Add(TriggerNames
[i
]);
2008 clbActivationType
.Clear();
2009 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_PLAYER_CLOSE
]);
2010 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_MONSTER_CLOSE
]);
2011 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_PLAYER_PRESS
]);
2012 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_MONSTER_PRESS
]);
2013 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_SHOT
]);
2014 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_NO_MONSTER
]);
2017 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_RED
]);
2018 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_GREEN
]);
2019 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_BLUE
]);
2020 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_TEAM_RED
]);
2021 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_TEAM_BLUE
]);
2025 procedure SetupCaptions();
2034 FormCaption
:= _lc
[I_EDITOR_TITLE
];
2035 i
:= Pos('-', Caption
);
2038 Caption
:= FormCaption
+ ' ' + Copy(Caption
, i
, Length(Caption
)-i
+1);
2041 Caption
:= FormCaption
;
2044 miMenuFile
.Caption
:= _lc
[I_MENU_FILE
];
2045 miNewMap
.Caption
:= _lc
[I_MENU_FILE_NEW
];
2046 miOpenMap
.Caption
:= _lc
[I_MENU_FILE_OPEN
];
2047 miSaveMap
.Caption
:= _lc
[I_MENU_FILE_SAVE
];
2048 miSaveMapAs
.Caption
:= _lc
[I_MENU_FILE_SAVE_AS
];
2049 miOpenWadMap
.Caption
:= _lc
[I_MENU_FILE_OPEN_WAD
];
2050 miReopenMap
.Caption
:= _lc
[I_MENU_FILE_REOPEN
];
2051 miSaveMiniMap
.Caption
:= _lc
[I_MENU_FILE_SAVE_MINI
];
2052 miDeleteMap
.Caption
:= _lc
[I_MENU_FILE_DELETE
];
2053 miPackMap
.Caption
:= _lc
[I_MENU_FILE_PACK_MAP
];
2054 miExit
.Caption
:= _lc
[I_MENU_FILE_EXIT
];
2056 miMenuEdit
.Caption
:= _lc
[I_MENU_EDIT
];
2057 miUndo
.Caption
:= _lc
[I_MENU_EDIT_UNDO
];
2058 miCopy
.Caption
:= _lc
[I_MENU_EDIT_COPY
];
2059 miCut
.Caption
:= _lc
[I_MENU_EDIT_CUT
];
2060 miPaste
.Caption
:= _lc
[I_MENU_EDIT_PASTE
];
2061 miSelectAll
.Caption
:= _lc
[I_MENU_EDIT_SELECT_ALL
];
2062 miToFore
.Caption
:= _lc
[I_MENU_EDIT_TO_FORE
];
2063 miToBack
.Caption
:= _lc
[I_MENU_EDIT_TO_BACK
];
2065 miMenuTools
.Caption
:= _lc
[I_MENU_TOOLS
];
2066 miSnapToGrid
.Caption
:= _lc
[I_MENU_TOOLS_SNAP_GRID
];
2067 miMiniMap
.Caption
:= _lc
[I_MENU_TOOLS_MINIMAP
];
2068 miSwitchGrid
.Caption
:= _lc
[I_MENU_TOOLS_STEP_GRID
];
2069 miShowEdges
.Caption
:= _lc
[I_MENU_TOOLS_SHOW_EDGES
];
2070 miLayers
.Caption
:= _lc
[I_MENU_TOOLS_LAYERS
];
2071 miLayer1
.Caption
:= _lc
[I_MENU_LAYER_BACK
];
2072 miLayer2
.Caption
:= _lc
[I_MENU_LAYER_WALL
];
2073 miLayer3
.Caption
:= _lc
[I_MENU_LAYER_FORE
];
2074 miLayer4
.Caption
:= _lc
[I_MENU_LAYER_STAIR
];
2075 miLayer5
.Caption
:= _lc
[I_MENU_LAYER_WATER
];
2076 miLayer6
.Caption
:= _lc
[I_MENU_LAYER_ITEM
];
2077 miLayer7
.Caption
:= _lc
[I_MENU_LAYER_MONSTER
];
2078 miLayer8
.Caption
:= _lc
[I_MENU_LAYER_AREA
];
2079 miLayer9
.Caption
:= _lc
[I_MENU_LAYER_TRIGGER
];
2081 miMenuService
.Caption
:= _lc
[I_MENU_SERV
];
2082 miCheckMap
.Caption
:= _lc
[I_MENU_SERV_TEST
];
2083 miOptimmization
.Caption
:= _lc
[I_MENU_SERV_OPT
];
2084 miMapPreview
.Caption
:= _lc
[I_MENU_SERV_PREVIEW
];
2085 miTestMap
.Caption
:= _lc
[I_MENU_SERV_LAUNCH
];
2087 miMenuSettings
.Caption
:= _lc
[I_MENU_SETS
];
2088 miMapOptions
.Caption
:= _lc
[I_MENU_SETS_MAP
];
2089 miOptions
.Caption
:= _lc
[I_MENU_SETS_EDITOR
];
2090 miMapTestSettings
.Caption
:= _lc
[I_MENU_SETS_LAUNCH
];
2092 miMenuHelp
.Caption
:= _lc
[I_MENU_HELP
];
2093 miAbout
.Caption
:= _lc
[I_MENU_HELP_ABOUT
];
2095 // Панель инструментов:
2096 tbNewMap
.Hint
:= _lc
[I_MENU_TB_NEW
];
2097 tbOpenMap
.Hint
:= _lc
[I_MENU_TB_OPEN
];
2098 tbSaveMap
.Hint
:= _lc
[I_MENU_TB_SAVE
];
2099 tbOpenWadMap
.Hint
:= _lc
[I_MENU_TB_OPEN_WAD
];
2100 tbShowMap
.Hint
:= _lc
[I_MENU_TB_MINIMAP
];
2101 tbShow
.Hint
:= _lc
[I_MENU_TB_LAYERS
];
2102 tbGridOn
.Hint
:= _lc
[I_MENU_TB_GRID
];
2103 tbGrid
.Hint
:= _lc
[I_MENU_TB_GRID_STEP
];
2104 tbTestMap
.Hint
:= _lc
[I_MENU_TB_LAUNCH
];
2105 // Всплывающее меню для кнопки слоев:
2106 miLayerP1
.Caption
:= _lc
[I_MENU_LAYER_BACK
];
2107 miLayerP2
.Caption
:= _lc
[I_MENU_LAYER_WALL
];
2108 miLayerP3
.Caption
:= _lc
[I_MENU_LAYER_FORE
];
2109 miLayerP4
.Caption
:= _lc
[I_MENU_LAYER_STAIR
];
2110 miLayerP5
.Caption
:= _lc
[I_MENU_LAYER_WATER
];
2111 miLayerP6
.Caption
:= _lc
[I_MENU_LAYER_ITEM
];
2112 miLayerP7
.Caption
:= _lc
[I_MENU_LAYER_MONSTER
];
2113 miLayerP8
.Caption
:= _lc
[I_MENU_LAYER_AREA
];
2114 miLayerP9
.Caption
:= _lc
[I_MENU_LAYER_TRIGGER
];
2115 // Всплывающее меню для кнопки теста карты:
2116 miMapTestPMSet
.Caption
:= _lc
[I_MENU_LAUNCH_SETS
];
2118 // Кнопка применения свойств:
2119 bApplyProperty
.Caption
:= _lc
[I_BTN_APPLY_PROPS
];
2120 // Редактор свойств объектов:
2121 vleObjectProperty
.TitleCaptions
[0] := _lc
[I_CTRL_PROP_KEY
];
2122 vleObjectProperty
.TitleCaptions
[1] := _lc
[I_CTRL_PROP_VALUE
];
2124 // Вкладка "Панели":
2125 tsPanels
.Caption
:= _lc
[I_CTRL_PANELS
];
2126 lbPanelType
.Hint
:= _lc
[I_PROP_PANEL_TYPE
];
2127 lbTextureList
.Hint
:= _lc
[I_CTRL_LIST_TEXTURE
];
2128 // Панель настройки текстур:
2129 LabelTxW
.Caption
:= _lc
[I_LAB_TEX_WIDTH
];
2130 LabelTxH
.Caption
:= _lc
[I_LAB_TEX_HEIGHT
];
2131 cbPreview
.Caption
:= _lc
[I_CTRL_PREVIEW
];
2132 bbAddTexture
.Hint
:= _lc
[I_BTN_TEXTURE_ADD
];
2133 bbRemoveTexture
.Hint
:= _lc
[I_BTN_TEXTURE_DELETE
];
2134 bClearTexture
.Hint
:= _lc
[I_BTN_TEXTURE_EMPTY
];
2136 // Вкладка "Предметы":
2137 tsItems
.Caption
:= _lc
[I_CTRL_ITEMS
];
2138 lbItemList
.Hint
:= _lc
[I_CTRL_LIST_ITEM
];
2139 cbOnlyDM
.Caption
:= _lc
[I_CTRL_ITEM_DM
];
2140 cbFall
.Caption
:= _lc
[I_CTRL_ITEM_FALLS
];
2142 // Вкладка "Монстры":
2143 tsMonsters
.Caption
:= _lc
[I_CTRL_MONSTERS
];
2144 lbMonsterList
.Hint
:= _lc
[I_CTRL_LIST_MONSTER
];
2145 rbMonsterLeft
.Caption
:= _lc
[I_CTRL_LEFT
];
2146 rbMonsterRight
.Caption
:= _lc
[I_CTRL_RIGHT
];
2148 // Вкладка "Области":
2149 tsAreas
.Caption
:= _lc
[I_CTRL_AREAS
];
2150 lbAreasList
.Hint
:= _lc
[I_CTRL_LIST_AREA
];
2151 rbAreaLeft
.Caption
:= _lc
[I_CTRL_LEFT
];
2152 rbAreaRight
.Caption
:= _lc
[I_CTRL_RIGHT
];
2154 // Вкладка "Триггеры":
2155 tsTriggers
.Caption
:= _lc
[I_CTRL_TRIGGERS
];
2156 lbTriggersList
.Hint
:= _lc
[I_CTRL_LIST_TRIGGER
];
2157 clbActivationType
.Hint
:= _lc
[I_CTRL_LIST_ACTIVE
];
2158 clbKeys
.Hint
:= _lc
[I_CTRL_LIST_KEYS
];
2161 // Форма "О программе":
2164 Caption
:= _lc
[I_CAP_ABOUT
];
2165 LabelTitle
.Caption
:= _lc
[I_EDITOR_TITLE
];
2166 LabelVer
.Caption
:= _lc
[I_LAB_ABOUT_VER
];
2167 LabelAuthor
.Caption
:= _lc
[I_LAB_ABOUT_AUTHOR
];
2168 LabelAuthor2
.Caption
:= _lc
[I_LAB_ABOUT_AUTHOR_2
];
2169 LabelMail
.Caption
:= _lc
[I_LAB_ABOUT_MAIL
];
2170 LabelMail2
.Caption
:= _lc
[I_LAB_ABOUT_MAIL_2
];
2171 LabelSite
.Caption
:= _lc
[I_LAB_ABOUT_SITE
];
2172 LabelHttp
.Caption
:= _lc
[I_LAB_ABOUT_HTTP
];
2175 // Форма "Тип активации":
2176 with ActivationTypeForm
do
2178 Caption
:= _lc
[I_CAP_ACT
];
2179 cbPlayerCollide
.Caption
:= _lc
[I_CTRL_ACT_PLAYER_CLOSE
];
2180 cbMonsterCollide
.Caption
:= _lc
[I_CTRL_ACT_MONSTER_CLOSE
];
2181 cbPlayerPress
.Caption
:= _lc
[I_CTRL_ACT_PLAYER_PRESS
];
2182 cbMonsterPress
.Caption
:= _lc
[I_CTRL_ACT_MONSTER_PRESS
];
2183 cbShot
.Caption
:= _lc
[I_CTRL_ACT_SHOT
];
2184 cbNoMonster
.Caption
:= _lc
[I_CTRL_ACT_NO_MONSTER
];
2185 bOK
.Caption
:= _lc
[I_BTN_OK
];
2188 // Форма "Выбор текстуры для неба":
2191 Caption
:= _lc
[I_CAP_ADD_SKY
];
2192 LabelWADs
.Caption
:= _lc
[I_LAB_ADD_WADS
];
2193 LabelSections
.Caption
:= _lc
[I_LAB_ADD_SECTIONS
];
2194 bOK
.Caption
:= _lc
[I_BTN_OK
];
2195 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2198 // Форма "Выбор звука или музыки":
2199 with AddSoundForm
do
2201 Caption
:= _lc
[I_CAP_ADD_SOUND
];
2202 LabelWADs
.Caption
:= _lc
[I_LAB_ADD_WADS
];
2203 LabelSections
.Caption
:= _lc
[I_LAB_ADD_SECTIONS
];
2204 bOK
.Caption
:= _lc
[I_BTN_OK
];
2205 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2206 bEmpty
.Caption
:= _lc
[I_BTN_NO_SOUND
];
2209 // Форма "Выбор текстуры":
2210 with AddTextureForm
do
2212 Caption
:= _lc
[I_CAP_ADD_TEXTURE
];
2213 LabelWADs
.Caption
:= _lc
[I_LAB_ADD_WADS
];
2214 LabelSections
.Caption
:= _lc
[I_LAB_ADD_SECTIONS
];
2215 bAddTexture
.Caption
:= _lc
[I_BTN_ADD
];
2216 bClose
.Caption
:= _lc
[I_BTN_CLOSE
];
2217 bAddClose
.Caption
:= _lc
[I_BTN_ADD_CLOSE
];
2220 // Форма "Выбор типа монстра" / "Выбор типа предмета":
2221 ChooseTypeForm
.bOK
.Caption
:= _lc
[I_BTN_OK
];
2226 Caption
:= _lc
[I_CAP_KEYS
];
2227 cbRedKey
.Caption
:= _lc
[I_CTRL_KEYS_RED
];
2228 cbGreenKey
.Caption
:= _lc
[I_CTRL_KEYS_GREEN
];
2229 cbBlueKey
.Caption
:= _lc
[I_CTRL_KEYS_BLUE
];
2230 cbRedTeam
.Caption
:= _lc
[I_CTRL_KEYS_TEAM_RED
];
2231 cbBlueTeam
.Caption
:= _lc
[I_CTRL_KEYS_TEAM_BLUE
];
2232 bOK
.Caption
:= _lc
[I_BTN_OK
];
2235 // Форма "Проверка карты":
2236 with MapCheckForm
do
2238 Caption
:= _lc
[I_CAP_TEST
];
2239 bCheckMap
.Caption
:= _lc
[I_BTN_TEST_AGAIN
];
2240 bClose
.Caption
:= _lc
[I_BTN_CLOSE
];
2243 // Форма "Оптимизация карты":
2244 with MapOptimizationForm
do
2246 Caption
:= _lc
[I_CAP_OPT
];
2247 // Выбор оптимизации:
2248 GroupBoxOpt
.Caption
:= _lc
[I_CTRL_OPT_GB
];
2249 rbTexturesOptimization
.Caption
:= _lc
[I_CTRL_OPT_TEXTURE
];
2250 rbPanelsOptimization
.Caption
:= _lc
[I_CTRL_OPT_PANEL
];
2251 // Оптимизация текстур:
2252 bBeginTextureOptimization
.Caption
:= _lc
[I_BTN_START
];
2253 // Оптимизация панелей:
2254 cbOptimizeWalls
.Caption
:= _lc
[I_CTRL_OPT_WALL
];
2255 cbOptimizeForeGround
.Caption
:= _lc
[I_CTRL_OPT_FORE
];
2256 cbOptimizeBackGround
.Caption
:= _lc
[I_CTRL_OPT_BACK
];
2257 cbOptimizeSteps
.Caption
:= _lc
[I_CTRL_OPT_STAIR
];
2258 cbOptimizeWater
.Caption
:= _lc
[I_CTRL_OPT_WATER
];
2259 cbOptimizeAcid1
.Caption
:= _lc
[I_CTRL_OPT_ACID1
];
2260 cbOptimizeAcid2
.Caption
:= _lc
[I_CTRL_OPT_ACID2
];
2261 cbOptimizeLift
.Caption
:= _lc
[I_CTRL_OPT_LIFT
];
2262 cbOptimizeBlockMon
.Caption
:= _lc
[I_CTRL_OPT_BLOCKMON
];
2263 bBeginPanelsOptimization
.Caption
:= _lc
[I_BTN_START
];
2266 // Форма "Параметры карты":
2267 with MapOptionsForm
do
2269 Caption
:= _lc
[I_CAP_SETS
];
2270 // Основные параметры:
2271 LabelName
.Caption
:= _lc
[I_LAB_SETS_NAME
];
2272 LabelDesc
.Caption
:= _lc
[I_LAB_SETS_DESC
];
2273 LabelAuthor
.Caption
:= _lc
[I_LAB_SETS_AUTHOR
];
2274 LabelBack
.Caption
:= _lc
[I_LAB_SETS_BACK
];
2275 LabelMusic
.Caption
:= _lc
[I_LAB_SETS_MUSIC
];
2277 GBStats
.Caption
:= _lc
[I_CTRL_SETS_STATS
];
2278 LabelTexs
.Caption
:= _lc
[I_LAB_SETS_TEXTURES
];
2279 LabelPanels
.Caption
:= _lc
[I_LAB_SETS_PANELS
];
2280 LabelItems
.Caption
:= _lc
[I_LAB_SETS_ITEMS
];
2281 LabelMonsters
.Caption
:= _lc
[I_LAB_SETS_MONSTERS
];
2282 LabelAreas
.Caption
:= _lc
[I_LAB_SETS_AREAS
];
2283 LabelTriggers
.Caption
:= _lc
[I_LAB_SETS_TRIGGERS
];
2285 GBSizes
.Caption
:= _lc
[I_CTRL_SETS_SIZES
];
2286 LabelWidth
.Caption
:= _lc
[I_LAB_SETS_WIDTH
];
2287 LabelHeight
.Caption
:= _lc
[I_LAB_SETS_HEIGHT
];
2288 LabelCurSize
.Caption
:= _lc
[I_LAB_SETS_SIZES
];
2289 LabelMapMove
.Caption
:= _lc
[I_LAB_SETS_MAPMOVE
];
2290 cbSnapping
.Caption
:= _lc
[I_LAB_SETS_SNAPPING
];
2292 bOK
.Caption
:= _lc
[I_BTN_OK
];
2293 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2296 // Форма "Настройки теста карты":
2299 Caption
:= _lc
[I_CAP_LAUNCH
];
2300 bOK
.Caption
:= _lc
[I_BTN_OK
];
2301 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2303 rbDM
.Caption
:= _lc
[I_CTRL_LAUNCH_DM
];
2304 rbTDM
.Caption
:= _lc
[I_CTRL_LAUNCH_TDM
];
2305 rbCTF
.Caption
:= _lc
[I_CTRL_LAUNCH_CTF
];
2306 rbCOOP
.Caption
:= _lc
[I_CTRL_LAUNCH_COOP
];
2308 cbTwoPlayers
.Caption
:= _lc
[I_CTRL_LAUNCH_2P
];
2309 cbTeamDamage
.Caption
:= _lc
[I_CTRL_LAUNCH_FF
];
2310 cbAllowExit
.Caption
:= _lc
[I_CTRL_LAUNCH_EXIT
];
2311 cbWeaponStay
.Caption
:= _lc
[I_CTRL_LAUNCH_WEAPONS
];
2312 cbMonstersDM
.Caption
:= _lc
[I_CTRL_LAUNCH_MONSTERS
];
2313 cbMapOnce
.Caption
:= _lc
[I_CTRL_LAUNCH_CLOSE
];
2314 LabelTime
.Caption
:= _lc
[I_LAB_LAUNCH_TIME
];
2315 LabelSecs
.Caption
:= _lc
[I_LAB_LAUNCH_SECS
];
2316 LabelScore
.Caption
:= _lc
[I_LAB_LAUNCH_SCORE
];
2318 LabelPath
.Caption
:= _lc
[I_LAB_LAUNCH_PATH
];
2319 FindD2dDialog
.Title
:= _lc
[I_CTRL_LAUNCH_OPEN
];
2322 // Форма "Настройки редактора":
2325 Caption
:= _lc
[I_CAP_ES
];
2326 bOK
.Caption
:= _lc
[I_BTN_OK
];
2327 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2329 cbShowDots
.Caption
:= _lc
[I_CTRL_ES_GRID
];
2330 cbShowTexture
.Caption
:= _lc
[I_CTRL_ES_TEXTURE
];
2331 cbShowSize
.Caption
:= _lc
[I_CTRL_ES_PANEL_SIZE
];
2332 cbCheckerboard
.Caption
:= _lc
[I_CTRL_ES_CHECKERBOARD
];
2333 LabelGrid
.Caption
:= _lc
[I_LAB_ES_GRID
];
2334 LabelGridCol
.Caption
:= _lc
[I_LAB_ES_GRID_COLOR
];
2335 LabelGridSize
.Caption
:= _lc
[I_LAB_ES_GRID_SIZE
];
2336 LabelBack
.Caption
:= _lc
[I_LAB_ES_BACK
];
2337 LabelPreview
.Caption
:= _lc
[I_LAB_ES_PREVIEW
];
2338 LabelMinimap
.Caption
:= _lc
[I_LAB_ES_MINIMAP
];
2339 LabelRecent
.Caption
:= _lc
[I_LAB_ES_RECENT
];
2340 LabelLanguage
.Caption
:= _lc
[I_LAB_ES_LANGUAGE
];
2343 // Форма "Упаковать карту":
2346 Caption
:= _lc
[I_CAP_PACK
];
2347 bPack
.Caption
:= _lc
[I_BTN_PACK
];
2348 LabelSaveTo
.Caption
:= _lc
[I_LAB_PACK_SAVE_TO
];
2349 LabelMapName
.Caption
:= _lc
[I_LAB_PACK_MAP_NAME
];
2351 cbTextrures
.Caption
:= _lc
[I_CTRL_PACK_TEXTURES
];
2352 LabelTextures
.Caption
:= _lc
[I_LAB_PACK_TEXTURES
];
2353 cbSky
.Caption
:= _lc
[I_CTRL_PACK_SKY
];
2354 LabelSky
.Caption
:= _lc
[I_LAB_PACK_SKY
];
2355 cbMusic
.Caption
:= _lc
[I_CTRL_PACK_MUSIC
];
2356 LabelMusic
.Caption
:= _lc
[I_LAB_PACK_MUSIC
];
2357 cbAdd
.Caption
:= _lc
[I_CTRL_PACK_ADD
];
2358 cbNonStandart
.Caption
:= _lc
[I_CTRL_PACK_NON_STD
];
2361 // Форма "Сохранить карту":
2364 Caption
:= _lc
[I_CAP_SAVE
];
2365 bOK
.Caption
:= _lc
[I_BTN_OK
];
2366 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2369 // Форма "Сохранить мини-карту":
2370 with SaveMiniMapForm
do
2372 Caption
:= _lc
[I_CAP_MINI
];
2373 LabelScale
.Caption
:= _lc
[I_LAB_MINI_SCALE
];
2374 bSave
.Caption
:= _lc
[I_BTN_SAVE
];
2375 bClose
.Caption
:= _lc
[I_BTN_CLOSE
];
2378 // Форма "Выбор карты":
2379 with SelectMapForm
do
2381 Caption
:= _lc
[I_CAP_SELECT
];
2382 bOK
.Caption
:= _lc
[I_BTN_OK
];
2383 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2386 // Заголовок приложения:
2387 Application
.Title
:= _lc
[I_EDITOR_TITLE
];
2390 procedure g_Language_Load(fileName
: String);
2399 // Значения по-умолчанию:
2400 for i
:= Low(TStrings_Locale
) to High(TStrings_Locale
) do
2401 _lc
[i
] := g_lang_default
[i
][LANGUAGE_ENGLISH_N
];
2403 if FileExists(fileName
) then
2405 AssignFile(F
, fileName
);
2416 // Строка - ключ перевода:
2419 (Pos(']', key
) > 2) then
2421 key
:= UpperCase(Copy(key
, 2, Pos(']', key
)-2));
2423 // Пропускаем пустые строки до строки - перевода:
2425 while (not EoF(F
)) and (value
= '') do
2428 value
:= Trim(value
);
2431 // Есть строка - перевод:
2434 // Ищем индекс ключа перевода:
2436 i
:= TStrings_Locale(k
);
2438 // От текущего к первому:
2439 while i
> Low(TStrings_Locale
) do
2441 if g_lang_default
[i
][1] = key
then
2454 i
:= Low(TStrings_Locale
);
2456 if (g_lang_default
[i
][1] = key
) then
2463 // От следующего за текущим до последнего:
2466 i
:= TStrings_Locale(k
);
2468 while i
< High(TStrings_Locale
) do
2472 if g_lang_default
[i
][1] = key
then
2488 e_WriteLog('Language file "'+fileName
+'" not found!', MSG_WARNING
);
2492 RemoveSelectFromObjects();
2495 procedure g_Language_Set(lang
: String);
2501 if lang
= LANGUAGE_ENGLISH
then
2502 n
:= LANGUAGE_ENGLISH_N
2504 n
:= LANGUAGE_RUSSIAN_N
;
2506 for i
:= Low(TStrings_Locale
) to High(TStrings_Locale
) do
2508 _lc
[i
] := g_lang_default
[i
][n
];
2509 // have to cache a CP1251 version for GL text
2510 _glc
[i
] := utf8to1251(g_lang_default
[i
][n
]);
2515 RemoveSelectFromObjects();
2518 procedure g_Language_Dump(fileName
: String);
2524 AssignFile(F
, fileName
);
2527 for i
:= Low(TStrings_Locale
) to High(TStrings_Locale
) do