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_DAMAGE_KIND
,
238 I_PROP_TR_DAMAGE_KIND_0
,
239 I_PROP_TR_DAMAGE_KIND_3
,
240 I_PROP_TR_DAMAGE_KIND_4
,
241 I_PROP_TR_DAMAGE_KIND_5
,
242 I_PROP_TR_DAMAGE_KIND_6
,
243 I_PROP_TR_DAMAGE_KIND_7
,
244 I_PROP_TR_DAMAGE_KIND_8
,
245 I_PROP_TR_HEALTH_MAX
,
247 I_PROP_TR_SHOT_SOUND
,
248 I_PROP_TR_SHOT_ANGLE
,
259 I_PROP_TR_SHOT_AIM_0
,
260 I_PROP_TR_SHOT_AIM_1
,
261 I_PROP_TR_SHOT_AIM_2
,
262 I_PROP_TR_SHOT_AIM_3
,
264 I_PROP_TR_SHOT_RELOAD
,
265 I_PROP_TR_SHOT_SIGHT
,
266 I_PROP_TR_SHOT_PANEL
,
267 I_PROP_TR_MESSAGE_KIND
,
268 I_PROP_TR_MESSAGE_KIND_0
,
269 I_PROP_TR_MESSAGE_KIND_1
,
270 I_PROP_TR_MESSAGE_TO
,
271 I_PROP_TR_MESSAGE_TO_0
,
272 I_PROP_TR_MESSAGE_TO_1
,
273 I_PROP_TR_MESSAGE_TO_2
,
274 I_PROP_TR_MESSAGE_TO_3
,
275 I_PROP_TR_MESSAGE_TO_4
,
276 I_PROP_TR_MESSAGE_TO_5
,
277 I_PROP_TR_MESSAGE_TEXT
,
278 I_PROP_TR_MESSAGE_TIME
,
279 I_PROP_TR_EFFECT_TYPE
,
280 I_PROP_TR_EFFECT_SUBTYPE
,
281 I_PROP_TR_EFFECT_COLOR
,
282 I_PROP_TR_EFFECT_CENTER
,
283 I_PROP_TR_EFFECT_VELX
,
284 I_PROP_TR_EFFECT_VELY
,
285 I_PROP_TR_EFFECT_SPL
,
286 I_PROP_TR_EFFECT_SPR
,
287 I_PROP_TR_EFFECT_SPU
,
288 I_PROP_TR_EFFECT_SPD
,
289 I_PROP_TR_EFFECT_PARTICLE
,
290 I_PROP_TR_EFFECT_ANIMATION
,
291 I_PROP_TR_EFFECT_SLIQUID
,
292 I_PROP_TR_EFFECT_LLIQUID
,
293 I_PROP_TR_EFFECT_DLIQUID
,
294 I_PROP_TR_EFFECT_BLOOD
,
295 I_PROP_TR_EFFECT_SPARK
,
296 I_PROP_TR_EFFECT_BUBBLE
,
299 I_MSG_WRONG_TEXWIDTH
,
300 I_MSG_WRONG_TEXHEIGHT
,
304 I_MSG_TEXTURE_ALREADY
,
307 I_MSG_CHOOSE_MONSTER
,
309 I_MSG_CHOOSE_TEXTURE
,
314 I_MSG_DEL_TEXTURE_PROMT
,
315 I_MSG_DEL_TEXTURE_CANT
,
317 I_MSG_DEL_RECENT_PROMT
,
319 I_MSG_CLEAR_MAP_PROMT
,
321 I_MSG_DELETE_MAP_PROMT
,
323 I_MSG_MAP_DELETED_PROMT
,
324 I_MSG_REOPEN_MAP_PROMT
,
336 I_HINT_PANEL_TEXTURE
,
349 I_MENU_FILE_OPEN_WAD
,
351 I_MENU_FILE_SAVE_MINI
,
353 I_MENU_FILE_PACK_MAP
,
361 I_MENU_EDIT_SELECT_ALL
,
366 I_MENU_TOOLS_SNAP_GRID
,
367 I_MENU_TOOLS_MINIMAP
,
368 I_MENU_TOOLS_STEP_GRID
,
369 I_MENU_TOOLS_SHOW_EDGES
,
392 I_MENU_LAYER_MONSTER
,
394 I_MENU_LAYER_TRIGGER
,
454 I_CTRL_ACT_PLAYER_CLOSE
,
455 I_CTRL_ACT_MONSTER_CLOSE
,
456 I_CTRL_ACT_PLAYER_PRESS
,
457 I_CTRL_ACT_MONSTER_PRESS
,
459 I_CTRL_ACT_NO_MONSTER
,
464 I_CTRL_KEYS_TEAM_RED
,
465 I_CTRL_KEYS_TEAM_BLUE
,
479 I_CTRL_OPT_DESC_TEXTURE
,
480 I_CTRL_OPT_DESC_PANEL
,
492 I_CTRL_LAUNCH_WEAPONS
,
493 I_CTRL_LAUNCH_MONSTERS
,
499 I_CTRL_ES_PANEL_SIZE
,
500 I_CTRL_ES_CHECKERBOARD
,
502 I_CTRL_PACK_TEXTURES
,
515 I_LAB_ABOUT_AUTHOR_2
,
578 I_BTN_TEXTURE_DELETE
,
591 I_TEST_AREA_WALL_STR
,
598 I_TEST_MONSTER_WALL_STR
,
601 I_OPT_DELETED_TEXTURES
,
602 I_OPT_TOTAL_TEXTURES
,
628 LANGUAGE_RUSSIAN
= 'Russian';
629 LANGUAGE_ENGLISH
= 'English';
630 LANGUAGE_RUSSIAN_N
= 3;
631 LANGUAGE_ENGLISH_N
= 2;
634 _lc
: Array [TStrings_Locale
] of String; // for the GUI (in UTF-8)
635 _glc
: Array [TStrings_Locale
] of String; // for GL text (in CP1251)
637 BoolNames
: Array [False..True] of String;
638 DirNames
: Array [D_LEFT
..D_RIGHT
] of String;
639 DirNamesAdv
: Array [0..3] of String;
640 DirButtonNames
: Array [1..4] of String;
641 PANELNAMES
: Array[0..13] of String;
642 EffectNames
: Array [EFFECT_NONE
..EFFECT_FIRE
] of String;
643 ItemNames
: Array [ITEM_MEDKIT_SMALL
..ITEM_MAX
] of String;
644 ShotNames
: Array [TRIGGER_SHOT_PISTOL
..TRIGGER_SHOT_MAX
] of String;
645 MonsterNames
: Array [MONSTER_DEMON
..MONSTER_MAN
] of String;
646 AreaNames
: Array [AREA_PLAYERPOINT1
..AREA_BLUETEAMPOINT
] of String;
647 TriggerNames
: Array [TRIGGER_EXIT
..TRIGGER_MAX
] of String;
650 procedure g_Language_Load(fileName
: String);
651 procedure g_Language_Set(lang
: String);
652 procedure g_Language_Dump(fileName
: String);
657 SysUtils
, e_log
, f_main
, f_about
, f_activationtype
,
658 f_addresource_sky
, f_addresource_sound
,
659 f_addresource_texture
, f_choosetype
, f_keys
, f_mapcheck
,
660 f_mapoptions
, f_mapoptimization
, f_options
,
661 f_packmap
, f_savemap
, f_saveminimap
, f_selectmap
, Forms
, utils
;
664 g_lang_default
: Array [TStrings_Locale
] of Array [1..3] of String = (
665 ('NOT ACCESSIBLE', 'N/A',
668 ('ARRAY BOOL FALSE', 'No',
670 ('ARRAY BOOL TRUE', 'Yes',
673 ('ARRAY DIR LEFT', 'Left',
675 ('ARRAY DIR RIGHT', 'Right',
677 ('ARRAY DIR SAME', 'Don''t change',
679 ('ARRAY DIR REVERSED', 'Reversed',
682 ('ARRAY DIRBTN LEFT', 'Left',
684 ('ARRAY DIRBTN RIGHT', 'Right',
686 ('ARRAY DIRBTN UP', 'Up',
688 ('ARRAY DIRBTN DOWN', 'Down',
691 ('ARRAY PANEL WALL', 'Wall',
693 ('ARRAY PANEL BACK', 'Background',
695 ('ARRAY PANEL FRONT', 'Foreground',
697 ('ARRAY PANEL DOOR OPEN', 'Open Door',
699 ('ARRAY PANEL DOOR CLOSE', 'Closed Door',
701 ('ARRAY PANEL STAIR', 'Step',
703 ('ARRAY PANEL WATER', 'Water',
705 ('ARRAY PANEL ACID 1', 'Acid 1',
707 ('ARRAY PANEL ACID 2', 'Acid 2',
709 ('ARRAY PANEL LIFT UP', 'Stream Up',
711 ('ARRAY PANEL LIFT DOWN', 'Stream Down',
713 ('ARRAY PANEL LIFT LEFT', 'Stream Left',
715 ('ARRAY PANEL LIFT RIGHT', 'Stream Right',
717 ('ARRAY PANEL BLOCKMON', 'Monster Boundary',
718 'Блокиратор монстров'),
720 ('ARRAY FX NONE', 'None',
722 ('ARRAY FX TELEPORT', 'Teleport',
724 ('ARRAY FX RESPAWN', 'Respawn',
726 ('ARRAY FX FIRE', 'Arch-Vile Fire',
729 ('ARRAY ITEM MEDKIT', 'Stimpack',
731 ('ARRAY ITEM LARGE MEDKIT', 'Medikit',
733 ('ARRAY ITEM BLACK MEDKIT', 'Berserk Pack',
735 ('ARRAY ITEM GREEN ARMOR', 'Green Armor',
737 ('ARRAY ITEM BLUE ARMOR', 'Blue Armor',
739 ('ARRAY ITEM BLUE SPHERE', 'Soulsphere',
741 ('ARRAY ITEM MEGASPHERE', 'Megasphere',
743 ('ARRAY ITEM HAZ SUIT', 'Envirosuit',
745 ('ARRAY ITEM OXYGEN', 'Scuba',
747 ('ARRAY ITEM INVULNERABILITY', 'Invulnerability',
749 ('ARRAY ITEM CHAINSAW', 'Chainsaw',
751 ('ARRAY ITEM SHOTGUN', 'Shotgun',
753 ('ARRAY ITEM DB SHOTGUN', 'Super Shotgun',
755 ('ARRAY ITEM CHAINGUN', 'Chaingun',
757 ('ARRAY ITEM ROCKET LAUNCHER', 'Rocket Launcher',
759 ('ARRAY ITEM PLASMA RIFLE', 'Plasma Rifle',
761 ('ARRAY ITEM BFG', 'BFG9000',
763 ('ARRAY ITEM SUPER MINIGUN', 'Super Chaingun',
765 ('ARRAY ITEM FLAMETHROWER', 'Flamethrower',
767 ('ARRAY ITEM CLIP', 'Clip',
769 ('ARRAY ITEM AMMO BOX', 'Box of Bullets',
771 ('ARRAY ITEM 4 SHELLS', '4 Shells',
773 ('ARRAY ITEM 25 SHELLS', 'Box of Shells',
775 ('ARRAY ITEM 1 ROCKET', 'Rocket',
777 ('ARRAY ITEM ROCKET BOX', 'Box of Rockets',
779 ('ARRAY ITEM CELL', 'Energy Cell',
781 ('ARRAY ITEM LARGE CELL', 'Energy Cell Pack',
783 ('ARRAY ITEM FUELCAN', 'Fuel Canister',
785 ('ARRAY ITEM BACKPACK', 'Backpack',
787 ('ARRAY ITEM KEY RED', 'Red Key',
789 ('ARRAY ITEM KEY GREEN', 'Green Key',
791 ('ARRAY ITEM KEY BLUE', 'Blue Key',
793 ('ARRAY ITEM BOTTLE', 'Health Globe',
795 ('ARRAY ITEM HELMET', 'Armor Shard',
797 ('ARRAY ITEM JETPACK', 'Jetpack',
799 ('ARRAY ITEM INVIS', 'Invisibility',
802 ('ARRAY SHOT PISTOL', 'Pistol shot',
803 'Выстрел пистолета'),
804 ('ARRAY SHOT BULLET', 'Chaingun shot',
806 ('ARRAY SHOT SHOTGUN', 'Shotgun shot',
808 ('ARRAY SHOT SSG', 'Super Shotgun shot',
809 'Выстрел двустволки'),
810 ('ARRAY SHOT IMP', 'Imp fireball',
812 ('ARRAY SHOT PLASMA', 'Blue plasma',
814 ('ARRAY SHOT SPIDER', 'Arachnotron plasma',
815 'Плазма арахнотрона'),
816 ('ARRAY SHOT CACO', 'Cacodemon fireball',
818 ('ARRAY SHOT BARON', 'Hell Baron projectile',
819 'Выстрел барона ада'),
820 ('ARRAY SHOT MANCUB', 'Mancubus gunshot',
822 ('ARRAY SHOT REV', 'Revenant projectile',
824 ('ARRAY SHOT ROCKET', 'Rocket',
826 ('ARRAY SHOT BFG', 'BFG ball',
828 ('ARRAY SHOT EXPL', 'Explosion',
830 ('ARRAY SHOT BFGEXPL', 'BFG explosion',
832 ('ARRAY SHOT FLAME', 'Flame',
835 ('ARRAY MON DEMON', 'Pinky',
837 ('ARRAY MON IMP', 'Imp',
839 ('ARRAY MON ZOMBIE', 'Zombie',
841 ('ARRAY MON SERGEANT', 'Sergeant',
843 ('ARRAY MON CYBER', 'Cyberdemon',
845 ('ARRAY MON CGUN', 'Commando',
847 ('ARRAY MON HELL BARON', 'Hell Baron',
849 ('ARRAY MON HELL KNIGHT', 'Hell Knight',
851 ('ARRAY MON CACODEMON', 'Cacodemon',
853 ('ARRAY MON LOST SOUL', 'Lost Soul',
855 ('ARRAY MON PAIN ELEMENTAL', 'Pain Elemental',
857 ('ARRAY MON MASTERMIND', 'Spider Mastermind',
859 ('ARRAY MON ARACHNATRON', 'Arachnotron',
861 ('ARRAY MON MANCUBUS', 'Mancubus',
863 ('ARRAY MON REVENANT', 'Revenant',
865 ('ARRAY MON ARCHVILE', 'Arch-Vile',
867 ('ARRAY MON FISH', 'Piranha',
869 ('ARRAY MON BARREL', 'Barrel',
871 ('ARRAY MON ROBOT', 'Robot',
873 ('ARRAY MON PRIKOLIST', 'Prikolist',
876 ('ARRAY AREA PLAYER ONE', 'Player 1',
878 ('ARRAY AREA PLAYER TWO', 'Player 2',
880 ('ARRAY AREA DM', 'DM Spawn Point',
882 ('ARRAY AREA FLAG RED', 'Red Flag',
884 ('ARRAY AREA FLAG BLUE', 'Blue Flag',
886 ('ARRAY AREA FLAG DOM', 'Domination Flag',
888 ('ARRAY AREA TEAM RED', 'Red Team',
890 ('ARRAY AREA TEAM BLUE', 'Blue Team',
893 ('ARRAY TR EXIT', 'Exit',
895 ('ARRAY TR TELEPORT', 'Teleport',
897 ('ARRAY TR DOOR OPEN', 'Open Door',
899 ('ARRAY TR DOOR CLOSE', 'Close Door',
901 ('ARRAY TR DOOR SWITCH', 'Door',
903 ('ARRAY TR DOOR 5 SEC', 'Door (5 sec)',
905 ('ARRAY TR TRAP CLOSE', 'Close Trap',
907 ('ARRAY TR TRAP', 'Trap',
909 ('ARRAY TR EXTEND', 'Extender',
911 ('ARRAY TR SECRET', 'Secret',
913 ('ARRAY TR LIFT UP', 'Turn stream up/left',
914 'Лифт вверх/поток влево'),
915 ('ARRAY TR LIFT DOWN', 'Turn stream down/right',
916 'Лифт вниз/поток вправо'),
917 ('ARRAY TR LIFT SWITCH', 'Revert stream',
919 ('ARRAY TR TEXTURE', 'Change Texture',
921 ('ARRAY TR ON', 'Enable Trigger',
923 ('ARRAY TR OFF', 'Disable Trigger',
924 'Выключить триггер'),
925 ('ARRAY TR SWITCH', 'Trigger Toggle',
926 'Переключить триггер'),
927 ('ARRAY TR SOUND', 'Play Sound',
929 ('ARRAY TR SPAWN MONSTER', 'Spawn Monster',
931 ('ARRAY TR SPAWN ITEM', 'Spawn Item',
933 ('ARRAY TR MUSIC', 'Play Music',
935 ('ARRAY TR PUSH', 'Push',
937 ('ARRAY TR SCORE', 'Team Score',
939 ('ARRAY TR MESSAGE', 'Message',
941 ('ARRAY TR DAMAGE', 'Damage',
943 ('ARRAY TR HEALTH', 'Healer',
945 ('ARRAY TR SHOT', 'Turret',
947 ('ARRAY TR EFFECT', 'Effect',
956 ('PROP WIDTH', 'Width',
958 ('PROP HEIGHT', 'Height',
960 ('PROP PANEL TYPE', 'Panel Type',
962 ('PROP PANEL TEX', 'Texture',
964 ('PROP PANEL ALPHA', 'Transparency',
966 ('PROP PANEL BLEND', 'Blending',
968 ('PROP DM ONLY', 'DM Only',
970 ('PROP ITEM FALLS', 'Falls',
972 ('PROP DIRECTION', 'Direction',
975 ('PROP TR TYPE', 'Trigger Type',
977 ('PROP TR ENABLED', 'Enabled',
979 ('PROP TR TEXTURE PANEL', 'Textured Panel',
980 'Панель с текстурой'),
981 ('PROP TR ACTIVATION', 'Activation Type',
983 ('PROP TR KEYS', 'Keys',
985 ('PROP TR D2D', 'D2D-like',
987 ('PROP TR SILENT', 'Silent',
989 ('PROP TR COUNT', 'Count',
991 ('PROP TR INTERVAL', 'Interval (in ticks)',
992 'Интервал (в тиках)'),
993 ('PROP TR HEALTH', 'Health',
995 ('PROP TR NEXT MAP', 'Next Map',
997 ('PROP TR TELEPORT TO', 'Teleport to',
999 ('PROP TR TELEPORT SILENT', 'Silent',
1001 ('PROP TR TELEPORT DIR', 'New Direction',
1002 'Направление после'),
1003 ('PROP TR DOOR PANEL', 'Door Panel',
1005 ('PROP TR TRAP PANEL', 'Trap Panel',
1007 ('PROP TR EX AREA', 'Action Area',
1008 'Область воздействия'),
1009 ('PROP TR EX DELAY', 'Delay',
1011 ('PROP TR EX COUNT', 'Count',
1013 ('PROP TR EX MONSTER', 'Monster ID',
1015 ('PROP TR EX RANDOM', 'Random',
1017 ('PROP TR LIFT PANEL', 'Stream Panel',
1019 ('PROP TR TEXTURE ONCE', 'Once',
1021 ('PROP TR TEXTURE ANIM ONCE', 'Animate Once',
1023 ('PROP TR SOUND NAME', 'Sound (snd)',
1025 ('PROP TR SOUND VOLUME', 'Volume',
1027 ('PROP TR SOUND PAN', 'Pan',
1029 ('PROP TR SOUND COUNT', 'Loops',
1031 ('PROP TR SOUND LOCAL', 'Local',
1033 ('PROP TR SOUND SWITCH', 'Switch',
1035 ('PROP TR FX TYPE', 'Effect',
1037 ('PROP TR SPAWN TO', 'Spawn at',
1039 ('PROP TR SPAWN MAX', 'Maximum',
1041 ('PROP TR SPAWN DELAY', 'Autospawn (in ticks)',
1042 'Автоспаун (в тиках)'),
1043 ('PROP TR MONSTER TYPE', 'Monster',
1045 ('PROP TR MONSTER ACTIVE', 'Active',
1047 ('PROP TR MONSTER BEHAVIOUR', 'Behaviour',
1049 ('PROP TR MONSTER BEHAVIOUR 0', 'Normal',
1051 ('PROP TR MONSTER BEHAVIOUR 1', 'Killer',
1053 ('PROP TR MONSTER BEHAVIOUR 2', 'Maniac',
1055 ('PROP TR MONSTER BEHAVIOUR 3', 'Insane',
1057 ('PROP TR MONSTER BEHAVIOUR 4', 'Cannibal',
1059 ('PROP TR MONSTER BEHAVIOUR 5', 'Good',
1061 ('PROP TR ITEM TYPE', 'Item',
1063 ('PROP TR MUSIC NAME', 'Music',
1065 ('PROP TR MUSIC ACT', 'Action (m)',
1067 ('PROP TR MUSIC ON', 'Play',
1069 ('PROP TR MUSIC OFF', 'Pause',
1071 ('PROP TR PUSH ANGLE', 'Angle',
1073 ('PROP TR PUSH FORCE', 'Force',
1075 ('PROP TR PUSH RESET', 'Reset velocity',
1076 'Сбрасывать скорость'),
1077 ('PROP TR SCORE ACT', 'Action (s)',
1079 ('PROP TR SCORE ACT 0', 'Add points',
1081 ('PROP TR SCORE ACT 1', 'Subtract points',
1083 ('PROP TR SCORE ACT 2', 'Team Wins',
1085 ('PROP TR SCORE ACT 3', 'Team Loses',
1087 ('PROP TR SCORE TEAM', 'Team',
1089 ('PROP TR SCORE TEAM 0', 'My',
1091 ('PROP TR SCORE TEAM 1', 'Enemy',
1093 ('PROP TR SCORE TEAM 2', 'Red',
1095 ('PROP TR SCORE TEAM 3', 'Blue',
1097 ('PROP TR SCORE CON', 'Console message',
1098 'Сообщение в консоль'),
1099 ('PROP TR SCORE MSG', 'Game message',
1100 'Сообщение в игру'),
1101 ('PROP TR DAMAGE VALUE', 'Damage',
1103 ('PROP TR DAMAGE KIND', 'Damage type',
1105 ('PROP TR DAMAGE KIND 0', 'HIT_SOME',
1107 ('PROP TR DAMAGE KIND 3', 'HIT_TRAP',
1109 ('PROP TR DAMAGE KIND 4', 'HIT_FALL',
1111 ('PROP TR DAMAGE KIND 5', 'HIT_WATER',
1113 ('PROP TR DAMAGE KIND 6', 'HIT_ACID',
1115 ('PROP TR DAMAGE KIND 7', 'HIT_ELECTRO',
1117 ('PROP TR DAMAGE KIND 8', 'HIT_FLAME',
1119 ('PROP TR HEALTH MAX', 'To maximum',
1121 ('PROP TR SHOT TYPE', 'Projectile',
1123 ('PROP TR SHOT SOUND', 'Shot sound',
1125 ('PROP TR SHOT ANGLE', 'Angle',
1127 ('PROP TR SHOT ACC', 'Spread',
1129 ('PROP TR SHOT TO', 'Auto targeting',
1131 ('PROP TR SHOT TO 0', 'None',
1133 ('PROP TR SHOT TO 1', 'Monsters',
1135 ('PROP TR SHOT TO 2', 'Players',
1137 ('PROP TR SHOT TO 3', 'Red team',
1139 ('PROP TR SHOT TO 4', 'Blue team',
1141 ('PROP TR SHOT TO 5', 'Monsters, players',
1143 ('PROP TR SHOT TO 6', 'Players, monsters',
1145 ('PROP TR SHOT AIM', 'Auto-aiming mode',
1146 'Режим автонаведения'),
1147 ('PROP TR SHOT AIM 0', 'Trigger area',
1148 'Область триггера'),
1149 ('PROP TR SHOT AIM 1', 'Entire map',
1151 ('PROP TR SHOT AIM 2', 'Trace trigger area',
1152 'Область триггера с трассировкой'),
1153 ('PROP TR SHOT AIM 3', 'Trace entire map',
1154 'Вся карта с трассировкой'),
1155 ('PROP TR SHOT AMMO', 'Ammo limit',
1157 ('PROP TR SHOT RELOAD', 'Reload interval (in ticks)',
1158 'Перезарядка (в тиках)'),
1159 ('PROP TR SHOT SIGHT', 'Sight interval (in ticks)',
1160 'Реакция (в тиках)'),
1161 ('PROP TR SHOT PANEL', 'Indicator panel',
1162 'Панель индикации'),
1163 ('PROP TR MESSAGE KIND', 'Message kind',
1165 ('PROP TR MESSAGE KIND 0', 'Console message',
1167 ('PROP TR MESSAGE KIND 1', 'Event message',
1168 'Крупный текст по центру'),
1169 ('PROP TR MESSAGE TO', 'Send to',
1171 ('PROP TR MESSAGE TO 0', 'Me',
1173 ('PROP TR MESSAGE TO 1', 'My team',
1175 ('PROP TR MESSAGE TO 2', 'Enemy team',
1176 'Вражеская команда'),
1177 ('PROP TR MESSAGE TO 3', 'Red team',
1179 ('PROP TR MESSAGE TO 4', 'Blue team',
1181 ('PROP TR MESSAGE TO 5', 'Everyone',
1183 ('PROP TR MESSAGE TEXT', 'Message text',
1185 ('PROP TR MESSAGE TIME', 'Time (in ticks)',
1186 'Время показа (в тиках)'),
1187 ('PROP TR EFFECT TYPE', 'Effect type',
1189 ('PROP TR EFFECT SUBTYPE', 'Effect subtype',
1191 ('PROP TR EFFECT COLOR', 'Effect color',
1193 ('PROP TR EFFECT CENTER', 'Trigger center',
1195 ('PROP TR EFFECT VELX', 'Horizontal speed',
1196 'Скорость по горизонтали'),
1197 ('PROP TR EFFECT VELY', 'Vertical speed',
1198 'Скорость по вертикали'),
1199 ('PROP TR EFFECT SPL', 'Speed variance left',
1200 'Отклонение влево'),
1201 ('PROP TR EFFECT SPR', 'Speed variance right',
1202 'Отклонение вправо'),
1203 ('PROP TR EFFECT SPU', 'Speed variance up',
1204 'Отклонение вверх'),
1205 ('PROP TR EFFECT SPD', 'Speed variance down',
1207 ('PROP TR EFFECT PARTICLE', 'Particle generator',
1208 'Генератор частиц'),
1209 ('PROP TR EFFECT ANIMATION', 'Animation',
1211 ('PROP TR EFFECT SLIQUID', 'Water splash',
1213 ('PROP TR EFFECT LLIQUID', 'Light colored splash',
1214 'Цветные брызги (светлее)'),
1215 ('PROP TR EFFECT DLIQUID', 'Dark colored splash',
1216 'Цветные брызги (темнее)'),
1217 ('PROP TR EFFECT BLOOD', 'Blood',
1219 ('PROP TR EFFECT SPARK', 'Sparks',
1221 ('PROP TR EFFECT BUBBLE', 'Bubbles',
1224 ('MSG ERROR', 'Error',
1226 ('MSG WRONG TEXWIDTH', 'Panel Width must be a multiple of Texture Width (%d)',
1227 'Ширина панели должна быть кратна ширине текстуры (%d)'),
1228 ('MSG WRONG TEXHEIGHT', 'Panel Height must be a multiple of Texture Height (%d)',
1229 'Высота панели должна быть кратна высоте текстуры (%d)'),
1230 ('MSG WRONG ALPHA', 'Transparency must be in [0..255] interval',
1231 'Прозрачность должна быть в интервале [0..255]'),
1232 ('MSG WRONG SIZE', 'Width and Height must be greater than 0',
1233 'Ширина и высота должны быть больше 0'),
1234 ('MSG WRONG XY', 'X or Y coordinate hasn''t been set',
1235 'Не задана X или Y координата'),
1236 ('MSG TEXTURE ALREADY', 'Texture "%s" already exists',
1237 'Текстура "%s" уже добавлена'),
1238 ('MSG RES NAME 64', 'Resource "%s" name must not be longer than 64 chars',
1239 'Имя ресурса "%s" должно быть не длиннее 64 символов'),
1240 ('MSG CHOOSE ITEM', 'Select Item',
1241 'Выберите предмет'),
1242 ('MSG CHOOSE MONSTER', 'Select Monster',
1243 'Выберите монстра'),
1244 ('MSG CHOOSE AREA', 'Select Area',
1245 'Выберите область'),
1246 ('MSG CHOOSE TEXTURE', 'Select Texture',
1247 'Выберите текстуру'),
1248 ('MSG CHOOSE RES', 'Resource hasn''t been selected',
1249 'Не выбран ресурс'),
1250 ('MSG EXIT', 'Exit',
1252 ('MSG EXIT PROMT', 'Leaving so soon?',
1254 ('MSG DEL TEXTURE', 'Delete the texture',
1255 'Удалить текстуру'),
1256 ('MSG DEL TEXTURE PROMT', 'Delete the texture "%s" ?',
1257 'Удалить текстуру "%s" ?'),
1258 ('MSG DEL TEXTURE CANT', 'Can''t delete texture in use. Replace it on all panels with this texture.',
1259 'Нельзя удалить используемую текстуру. Замените её на каждой панели с ней.'),
1260 ('MSG DEL RECENT', 'File does not longer exist',
1261 'Этого файла больше нет'),
1262 ('MSG DEL RECENT PROMT', 'Remove entry from recent list?',
1263 'Убрать запись из истории?'),
1264 ('MSG CLEAR MAP', 'New map',
1266 ('MSG CLEAR MAP PROMT', 'Clear the entire map?',
1267 'Очистить всю карту?'),
1268 ('MSG DELETE MAP', 'Delete the map',
1270 ('MSG DELETE MAP PROMT', 'Delete the map "%s" from "%s" ?',
1271 'Удалить карту "%s" из "%s" ?'),
1272 ('MSG MAP DELETED', 'Map is deleted',
1274 ('MSG MAP DELETED PROMT', 'Map "%s" is deleted',
1275 'Карта "%s" удалена'),
1276 ('MSG REOPEN MAP PROMT', 'Reopen this map?',
1277 'Загрузить карту заново?'),
1278 ('MSG EXEC ERROR', 'Game start error',
1279 'Ошибка запуска игры'),
1280 ('MSG SOUND ERROR', 'Can''t play sound',
1281 'Не удалось проиграть звук'),
1282 ('MSG WAD ERROR', 'Can''t open WAD: %s',
1283 'Ошибка при открытии WAD: %s'),
1284 ('MSG RES ERROR', 'Can''t read resource: %s:%s\%s',
1285 'Ошибка при чтении ресурса: %s:%s\%s'),
1286 ('MSG PACKED', 'Map "%s" with resources saved to "%s"',
1287 'Карта "%s" вместе с ресурсами сохранена в "%s"'),
1288 ('MSG MAP EXISTS', 'Map "%s" already exists. Overwrite?',
1289 'Карта "%s" уже существует. Заменить?'),
1290 ('MSG SAVE MAP', 'Save the map',
1293 ('HINT TELEPORT', 'Choose destination of Teleport',
1294 'Выберите точку телепорта'),
1295 ('HINT SPAWN', 'Choose Spawn point',
1296 'Выберите точку появления'),
1297 ('HINT PANEL DOOR', 'Choose Door',
1298 'Выберите панель двери'),
1299 ('HINT PANEL TEXTURE', 'Choose textured Panel',
1300 'Выберите панель с текстурой'),
1301 ('HINT PANEL SHOT', 'Choose textured shot indicator Panel',
1302 'Выберите панель индикации выстрела с текстурой'),
1303 ('HINT PANEL LIFT', 'Choose Stream Panel',
1304 'Выберите панель лифта'),
1305 ('HINT MONSTER', 'Choose Monster',
1306 'Выберите монстра'),
1307 ('HINT EXT AREA', 'Specify action Area',
1308 'Укажите область воздействия'),
1309 ('HINT WIDTH', 'Width: %d',
1311 ('HINT HEIGHT', 'Height: %d',
1314 ('MENU FILE', 'File',
1316 ('MENU FILE NEW', 'New',
1318 ('MENU FILE OPEN', 'Open...',
1320 ('MENU FILE SAVE', 'Save',
1322 ('MENU FILE SAVE AS', 'Save As...',
1323 'Сохранить как...'),
1324 ('MENU FILE OPEN WAD', 'Select Map...',
1325 'Выбрать карту...'),
1326 ('MENU FILE REOPEN', 'Revert to Saved',
1328 ('MENU FILE SAVE MINI', 'Save Minimap...',
1329 'Сохранить мини-карту...'),
1330 ('MENU FILE DELETE', 'Delete from WAD...',
1331 'Удалить из WAD...'),
1332 ('MENU FILE PACK MAP', 'Pack to WAD...',
1333 'Упаковать в WAD...'),
1334 ('MENU FILE EXIT', 'Exit',
1337 ('MENU EDIT', 'Edit',
1339 ('MENU EDIT UNDO', 'Undo',
1341 ('MENU EDIT COPY', 'Copy',
1343 ('MENU EDIT CUT', 'Cut',
1345 ('MENU EDIT PASTE', 'Paste',
1347 ('MENU EDIT SELECT ALL', 'Select All',
1349 ('MENU EDIT TO FORE', 'Bring to Front',
1350 'Передвинуть вперёд'),
1351 ('MENU EDIT TO BACK', 'Send to Back',
1352 'Передвинуть назад'),
1354 ('MENU TOOLS', 'Tools',
1356 ('MENU TOOLS SNAP GRID', 'Snap to Grid',
1357 'Привязка к сетке'),
1358 ('MENU TOOLS MINIMAP', 'Show Minimap',
1359 'Показать Мини-карту'),
1360 ('MENU TOOLS STEP GRID', 'Switch Grid Granularity',
1361 'Переключить шаг сетки'),
1362 ('MENU TOOLS SHOW EDGES', 'Show Map Bounds',
1363 'Показывать границы карты'),
1364 ('MENU TOOLS LAYERS', 'Layers',
1367 ('MENU SERV', 'Service',
1369 ('MENU SERV TEST', 'Analyse Map...',
1370 'Проверка карты...'),
1371 ('MENU SERV OPT', 'Optimize Map...',
1372 'Оптимизация карты...'),
1373 ('MENU SERV PREVIEW', 'Preview Mode',
1374 'Предварительный просмотр'),
1375 ('MENU SERV LAUNCH', 'Run Test',
1376 'Тест карты в игре'),
1378 ('MENU SETS', 'Settings',
1380 ('MENU SETS MAP', 'Map Properties...',
1381 'Свойства карты...'),
1382 ('MENU SETS EDITOR', 'Preferences...',
1384 ('MENU SETS LAUNCH', 'In-game test settings',
1385 'Настройки теста в игре'),
1387 ('MENU HELP', 'Help',
1389 ('MENU HELP ABOUT', 'About',
1392 ('MENU LAYER BACK', '1. Background',
1394 ('MENU LAYER WALL', '2. Walls',
1396 ('MENU LAYER FORE', '3. Foreground',
1397 '3. Передний план'),
1398 ('MENU LAYER STAIR', '4. Steps',
1400 ('MENU LAYER WATER', '5. Liquids',
1402 ('MENU LAYER ITEM', '6. Items',
1404 ('MENU LAYER MONSTER', '7. Monsters',
1406 ('MENU LAYER AREA', '8. Areas',
1408 ('MENU LAYER TRIGGER', '9. Triggers',
1411 ('MENU TB NEW', 'New Map',
1413 ('MENU TB OPEN', 'Open Map',
1415 ('MENU TB SAVE', 'Save Map',
1417 ('MENU TB OPEN WAD', 'Open another Map from same WAD',
1418 'Открыть другую карту из этого же WAD''а'),
1419 ('MENU TB MINIMAP', 'Show Mini-map',
1420 'Показать мини-карту'),
1421 ('MENU TB LAYERS', 'Show/Hide Objects',
1422 'Отрисовка панелей/объектов'),
1423 ('MENU TB GRID', 'Grid On/Off',
1424 'Включить/Отключить отображение сетки'),
1425 ('MENU TB GRID STEP', 'Switch Grid step',
1426 'Изменить шаг сетки'),
1427 ('MENU TB LAUNCH', 'Run Test',
1428 'Тест карты в игре'),
1430 ('MENU LAUNCH SETS', 'Settings...',
1433 ('CAP FX TYPE', 'Select Effect type',
1434 'Выберите тип эффекта'),
1435 ('CAP MONSTER TYPE', 'Select Monster type',
1436 'Выберите тип монстра'),
1437 ('CAP ITEM TYPE', 'Select Item type',
1438 'Выберите тип предмета'),
1439 ('CAP ABOUT', 'About Map Editor',
1441 ('CAP ACT', 'Activation type',
1443 ('CAP ADD SKY', 'Select Sky Texture',
1444 'Выберите текстуру неба'),
1445 ('CAP ADD SOUND', 'Select Sound/Music',
1446 'Выберите звук/музыку'),
1447 ('CAP ADD TEXTURE', 'Select Texture',
1448 'Выберите текстуру'),
1449 ('CAP KEYS', 'Keys',
1451 ('CAP TEST', 'Analyse Map',
1453 ('CAP OPT', 'Optimize Map',
1454 'Оптимизация карты'),
1455 ('CAP SETS', 'Map Properties',
1457 ('CAP LAUNCH', 'In-game test Settings',
1458 'Настройки теста в игре'),
1459 ('CAP ES', 'Editor Preferences',
1460 'Настройки редактора'),
1461 ('CAP PACK', 'Pack Map',
1463 ('CAP SAVE', 'Save Map',
1465 ('CAP MINI', 'Save Minimap',
1466 'Сохранить мини-карту'),
1467 ('CAP SELECT', 'Select Map',
1469 ('CAP OPEN', 'Open Map',
1471 ('CAP REMOVE', 'Remove Map',
1473 ('CAP TEXTURE', 'Texture: %dx%d',
1475 ('CAP ANIMATION', 'Animation: %dx%d, %d frames',
1476 'Анимация: %dx%d, %d кадров'),
1477 ('CAP STAT SELECTED', 'Selected objects: %d',
1478 'Выделено объектов: %d'),
1480 ('CTRL PROP KEY', 'Property',
1482 ('CTRL PROP VALUE', 'Value',
1485 ('CTRL PANELS', 'Panels',
1487 ('CTRL ITEMS', 'Items',
1489 ('CTRL MONSTERS', 'Monsters',
1491 ('CTRL AREAS', 'Areas',
1493 ('CTRL TRIGGERS', 'Triggers',
1496 ('CTRL LIST TEXTURE', 'Texture List',
1498 ('CTRL LIST ITEM', 'Item List',
1499 'Список предметов'),
1500 ('CTRL LIST MONSTER', 'Monster List',
1502 ('CTRL LIST AREA', 'Area List',
1504 ('CTRL LIST TRIGGER', 'Trigger List',
1505 'Список триггеров'),
1506 ('CTRL LIST ACTIVE', 'Activation Type',
1507 'Тип активации триггера'),
1508 ('CTRL LIST KEYS', 'Keys Needed',
1509 'Ключи для активации'),
1511 ('CTRL PREVIEW', 'Texture Preview',
1512 'Предварительный просмотр'),
1513 ('CTRL ITEM DM', 'DM Only',
1515 ('CTRL ITEM FALLS', 'Falls',
1517 ('CTRL LEFT', 'Left',
1519 ('CTRL RIGHT', 'Right',
1522 ('CTRL ACT PLAYER CLOSE', 'Player Collides',
1524 ('CTRL ACT MONSTER CLOSE', 'Monster Collides',
1526 ('CTRL ACT PLAYER PRESS', 'Player Pressed',
1528 ('CTRL ACT MONSTER PRESS', 'Monster Pressed',
1530 ('CTRL ACT SHOT', 'Shot',
1532 ('CTRL ACT NO MONSTER', 'No Monsters',
1535 ('CTRL KEYS RED', 'Red Key',
1537 ('CTRL KEYS GREEN', 'Green Key',
1539 ('CTRL KEYS BLUE', 'Blue Key',
1541 ('CTRL KEYS TEAM RED', 'Red Team',
1543 ('CTRL KEYS TEAM BLUE', 'Blue Team',
1546 ('CTRL OPT GB', 'Optimization',
1548 ('CTRL OPT TEXTURE', 'Texture Optimization',
1549 'Оптимизация текстур'),
1550 ('CTRL OPT PANEL', 'Panel Optimization',
1551 'Оптимизация панелей'),
1552 ('CTRL OPT WALL', 'Walls',
1554 ('CTRL OPT FORE', 'Foreground',
1556 ('CTRL OPT BACK', 'Background',
1558 ('CTRL OPT STAIR', 'Steps',
1560 ('CTRL OPT WATER', 'Water',
1562 ('CTRL OPT ACID1', 'Acid 1',
1564 ('CTRL OPT ACID2', 'Acid 2',
1566 ('CTRL OPT LIFT', 'Streams',
1568 ('CTRL OPT BLOCKMON', 'Monster Boundary',
1569 'Блокиратор монстров'),
1570 ('CTRL OPT DESC TEXTURE', 'Deletes unused textures from texture list.',
1571 'Удаляет неиспользуемые текстуры из списка.'),
1572 ('CTRL OPT DESC PANEL', 'Merges nearby panels of same type. Increases game performance.',
1573 'Объединяет одинаковые панели, расположенные вплотную друг к другу, увеличивая тем самым производительность игры.'),
1574 ('CTRL SETS STATS', 'Statistics:',
1576 ('CTRL SETS SIZES', 'Map Size:',
1579 ('CTRL LAUNCH DM', 'Deathmatch',
1581 ('CTRL LAUNCH TDM', 'Team Deathmatch',
1583 ('CTRL LAUNCH CTF', 'Capture the Flag',
1584 'Capture the Flag'),
1585 ('CTRL LAUNCH COOP', 'Cooperative',
1587 ('CTRL LAUNCH 2P', 'Two Players',
1589 ('CTRL LAUNCH FF', 'Friendly Fire',
1591 ('CTRL LAUNCH EXIT', 'Enable Exit',
1593 ('CTRL LAUNCH WEAPONS', 'Weapons Stay',
1595 ('CTRL LAUNCH MONSTERS', 'Enable Monsters',
1597 ('CTRL LAUNCH CLOSE', 'Close the game after exiting the map',
1598 'Закрыть игру после выхода из карты'),
1599 ('CTRL LAUNCH OPEN', 'Select Doom 2D: Forever executable',
1600 'Выберите файл игры Doom 2D: Forever'),
1602 ('CTRL ES GRID', 'Show Grid',
1603 'Показывать сетку'),
1604 ('CTRL ES TEXTURE', 'Show Panel Texture',
1605 'Показывать текстуру панели'),
1606 ('CTRL ES PANEL SIZE', 'Show Panel Size',
1607 'Показывать размеры панели '),
1608 ('CTRL ES CHECKERBOARD', 'Use Checkerboard',
1609 'Использовать шахматку'),
1611 ('CTRL PACK TEXTURES', 'Textures',
1613 ('CTRL PACK SKY', 'Sky',
1615 ('CTRL PACK MUSIC', 'Music',
1617 ('CTRL PACK ADD', 'Don''t overwrite WAD',
1618 'Не перезаписывать WAD'),
1619 ('CTRL PACK NON STD', 'Non-standard Resources only',
1620 'Только нестандартные ресурсы'),
1622 ('LAB TEX WIDTH', 'Texture Width:',
1623 'Ширина текстуры:'),
1624 ('LAB TEX HEIGHT', 'Texture Height:',
1625 'Высота текстуры:'),
1627 ('LAB SPECTRUM', 'Show the Spectrum',
1630 ('LAB ABOUT VER', 'Version 2.1.5',
1632 ('LAB ABOUT AUTHOR', 'Author: rs.falcon',
1633 'Автор: rs.falcon'),
1634 ('LAB ABOUT AUTHOR 2', 'Additions: Pss',
1635 'Дорабатывал: Pss'),
1636 ('LAB ABOUT MAIL', 'rmw.falcon@mail.ru',
1637 'rmw.falcon@mail.ru'),
1638 ('LAB ABOUT MAIL 2', 'pssxx@mail.ru',
1640 ('LAB ABOUT SITE', 'Doom 2D: Forever Web-site',
1641 'Сайт Doom 2D: Forever'),
1642 ('LAB ABOUT HTTP', 'www.doom2d.org',
1645 ('LAB ADD WADS', 'WAD Files:',
1646 'Список WAD-файлов:'),
1647 ('LAB ADD SECTIONS', 'WAD Sections:',
1648 'Список секций WAD-файла:'),
1650 ('LAB SETS NAME', 'Map Name:',
1652 ('LAB SETS DESC', 'Map Description',
1654 ('LAB SETS AUTHOR', 'Author:',
1656 ('LAB SETS BACK', 'Background/Sky:',
1658 ('LAB SETS MUSIC', 'Music:',
1660 ('LAB SETS TEXTURES', 'Textures:',
1662 ('LAB SETS PANELS', 'Panels:',
1664 ('LAB SETS ITEMS', 'Items:',
1666 ('LAB SETS MONSTERS', 'Monsters:',
1668 ('LAB SETS AREAS', 'Areas:',
1670 ('LAB SETS TRIGGERS', 'Triggers:',
1672 ('LAB SETS SIZES', 'Current:',
1674 ('LAB SETS WIDTH', 'Width:',
1676 ('LAB SETS HEIGHT', 'Height:',
1678 ('LAB SETS MAPMOVE', 'Direction to shift map objects:',
1679 'Направление смещения объектов карты:'),
1680 ('LAB SETS SNAPPING', 'Preserve snapping',
1681 'Сохранять привязку'),
1683 ('LAB LAUNCH TIME', 'Time Limit:',
1685 ('LAB LAUNCH SECS', 'seconds',
1687 ('LAB LAUNCH SCORE', 'Score Limit:',
1689 ('LAB LAUNCH PATH', 'Path to Doom2DF.exe:',
1690 'Путь к Doom2DF.exe:'),
1691 ('LAB LAUNCH ARGS', 'Launch Arguments:',
1692 'Параметры запуска:'),
1694 ('LAB ES GRID', 'Grid Step:',
1696 ('LAB ES GRID COLOR', 'Grid Color:',
1698 ('LAB ES GRID SIZE', 'Grid Dot Size:',
1699 'Размер точек сетки:'),
1700 ('LAB ES BACK', 'Background Color:',
1702 ('LAB ES PREVIEW', 'Texture Preview Background Color:',
1703 'Цвет фона поля предпросмотра текстуры:'),
1704 ('LAB ES MINIMAP', 'Mini-map Scale:',
1705 'Масштаб мини-карты:'),
1706 ('LAB ES RECENT', 'Recent Maps List Contains:',
1707 'Запоминать последних открытых карт:'),
1708 ('LAB ES LANGUAGE', 'Language:',
1710 ('LAB ES COMPRESS', 'Compress archive when save',
1711 'Сжимать архив при сохранении'),
1712 ('LAB ES BACKUP', 'Make backup before save',
1713 'Резервная копия при сохранении'),
1715 ('LAB PACK SAVE TO', 'Save to:',
1717 ('LAB PACK MAP NAME', 'Map Resource Name:',
1718 'Название ресурса карты:'),
1719 ('LAB PACK TEXTURES', 'Texture Section:',
1720 'Секция для текстур:'),
1721 ('LAB PACK SKY', 'Sky Section:',
1722 'Секция для неба:'),
1723 ('LAB PACK MUSIC', 'Music Section:',
1724 'Секция для музыки:'),
1726 ('LAB MINI SCALE', 'Scale:',
1729 ('BTN APPLY PROPS', 'Apply Properties',
1730 'Применить свойства'),
1733 ('BTN CANCEL', 'Cancel',
1737 ('BTN CLOSE', 'Close',
1739 ('BTN ADD CLOSE', 'Add and Close',
1740 'Добавить и закрыть'),
1741 ('BTN TEST AGAIN', 'Check',
1743 ('BTN START', 'Run',
1745 ('BTN PACK', 'Pack',
1747 ('BTN SAVE', 'Save',
1749 ('BTN NO SOUND', 'No sound',
1751 ('BTN TEXTURE ADD', 'Add texture to the list',
1752 'Добавить текстуру в список'),
1753 ('BTN TEXTURE DELETE', 'Delete texture from the list',
1754 'Удалить текстуру из списка'),
1755 ('BTN TEXTURE EMPTY', 'Deselect texture',
1756 'Снять выбор с текстуры'),
1758 ('LOAD WAD', 'Reading WAD',
1760 ('LOAD MAP', 'Loading Map',
1762 ('LOAD TEXTURES', 'Reading Textures',
1764 ('LOAD PANELS', 'Reading Panels',
1766 ('LOAD ITEMS', 'Reading Items',
1767 'Чтение предметов'),
1768 ('LOAD MONSTERS', 'Reading Monsters',
1770 ('LOAD AREAS', 'Reading Areas',
1772 ('LOAD TRIGGERS', 'Reading Triggers',
1773 'Чтение триггеров'),
1775 ('TEST AREA WALL', 'Player collides with the wall and will be stuck.',
1776 'Если в этой области появится игрок, то он застрянет в стене и не сможет двигаться.'),
1777 ('TEST AREA WALL STR', 'Area #%d collides with Map (%d:%d)',
1778 'Область #%d пересекается с картой (%d:%d)'),
1779 ('TEST SPAWNS 1', 'There are several spawn points for First Player on the map',
1780 'Несколько точек появления первого игрока'),
1781 ('TEST SPAWNS 2', 'There are several spawn points for Second Player on the map',
1782 'Несколько точек появления второго игрока'),
1783 ('TEST SPAWNS', 'There are several spawn points on the map. Random one will be used.',
1784 'Несколько точек появления игрока, будет использована случайная.'),
1785 ('TEST NO DM', 'There are no DM spawn points on the map',
1786 'На карте нет точек DM'),
1787 ('TEST NO DM EX', 'There are no DM spawn points on the map. Only "Single Player" mode available.',
1788 'На карте нет точек DM, поиграть получится только в режиме "Single Player".'),
1789 ('TEST MONSTER WALL', 'Monster collides with the wall and will be stuck.',
1790 'Монстр пересекается с картой. Он застрянет в стене и не сможет двигаться'),
1791 ('TEST MONSTER WALL STR', 'Monster #%d collides with a map (%d:%d)',
1792 'Монстр #%d пересекается с картой (%d:%d)'),
1794 ('OPT NO TEXTURES', 'Texture list is empty',
1795 'Список текстур пуст'),
1796 ('OPT DELETED TEXTURES', 'Deleted Textures:',
1797 'Удалённые текстуры:'),
1798 ('OPT TOTAL TEXTURES', 'Textures Total:',
1800 ('OPT TEX DELETED', 'Textures Deleted:',
1801 'Удалено текстур:'),
1802 ('OPT PANELS OPT', 'Panels Optimized:',
1803 'Оптимизировано панелей:'),
1804 ('OPT WALLS', 'Walls Optimization...',
1805 'Оптимизация стен...'),
1806 ('OPT FORES', 'Foreground Optimization...',
1807 'Оптимизация переднего плана...'),
1808 ('OPT BACKS', 'Background Optimization...',
1809 'Оптимизация фона...'),
1810 ('OPT STAIRS', 'Steps Optimization...',
1811 'Оптимизация ступеней...'),
1812 ('OPT WATER', 'Water Optimization...',
1813 'Оптимизация воды...'),
1814 ('OPT ACID1', 'Acid 1 Optimization...',
1815 'Оптимизация кислоты 1...'),
1816 ('OPT ACID2', 'Acid 2 Optimization...',
1817 'Оптимизация кислоты 2...'),
1818 ('OPT LIFTS', 'Streams Optimization...',
1819 'Оптимизация лифтов...'),
1820 ('OPT BLOCKMON', 'Monster Boundaries Optimization...',
1821 'Оптимизация блокираторов монстров....'),
1822 ('OPT TOTAL PANELS', 'Panels Total:',
1824 ('OPT PANELS AFTER', 'Panels after Optimization:',
1825 'Панелей после оптимизации:'),
1827 ('WAD SPECIAL MAP', '<MAP WAD-FILE>',
1828 '<WAD-ФАЙЛ КАРТЫ>'),
1829 ('WAD SPECIAL TEXS', '<EXTRA TEXTURES>',
1832 ('FILE FILTER ALL', 'Doom 2D: Forever Maps (*.dfz, *.dfzip, *.zip, *.wad)|*.dfz;*.dfzip;*.zip;*.wad|Doom 2D: Forever 0.30 Maps (*.ini)|*.ini|All Files (*.*)|*.*',
1833 'Карты Doom 2D: Forever (*.dfz, *.dfzip, *.zip, *.wad)|*.dfz;*.dfzip;*.zip;*.wad|Старые карты Doom 2D: Forever 0.30 (*.ini)|*.ini|Все файлы (*.*)|*.*'),
1834 ('FILE FILTER WAD', 'Doom 2D: Forever Maps (*.dfz)|*.dfz|Doom 2D: Forever Maps (*.dfzip)|*.dfzip|Doom 2D: Forever Maps (*.zip)|*.zip|Doom 2D: Forever Maps (*.wad)|*.wad|All Files (*.*)|*.*',
1835 'Карты Doom 2D: Forever (*.dfz)|*.dfz|Карты Doom 2D: Forever (*.dfzip)|*.dfzip|Карты Doom 2D: Forever (*.zip)|*.zip|Карты Doom 2D: Forever (*.wad)|*.wad|Все файлы (*.*)|*.*'),
1837 ('EDITOR TITLE', 'Doom 2D: Forever Map Editor',
1838 'Редактор карт Doom 2D: Forever'),
1844 procedure SetupArrays();
1850 BoolNames
[False] := _lc
[I_ARRAY_BOOL_FALSE
];
1851 BoolNames
[True] := _lc
[I_ARRAY_BOOL_TRUE
];
1854 DirNames
[D_LEFT
] := _lc
[I_ARRAY_DIR_LEFT
];
1855 DirNames
[D_RIGHT
] := _lc
[I_ARRAY_DIR_RIGHT
];
1857 // Смены направления:
1858 DirNamesAdv
[0] := _lc
[I_ARRAY_DIR_SAME
];
1859 DirNamesAdv
[1] := _lc
[I_ARRAY_DIR_LEFT
];
1860 DirNamesAdv
[2] := _lc
[I_ARRAY_DIR_RIGHT
];
1861 DirNamesAdv
[3] := _lc
[I_ARRAY_DIR_REVERSED
];
1863 // Направление (на кнопках):
1864 DirButtonNames
[1] := _lc
[I_ARRAY_DIRBTN_LEFT
];
1865 DirButtonNames
[2] := _lc
[I_ARRAY_DIRBTN_RIGHT
];
1866 DirButtonNames
[3] := _lc
[I_ARRAY_DIRBTN_UP
];
1867 DirButtonNames
[4] := _lc
[I_ARRAY_DIRBTN_DOWN
];
1869 // Названия панелей:
1870 PANELNAMES
[0] := _lc
[I_ARRAY_PANEL_WALL
];
1871 PANELNAMES
[1] := _lc
[I_ARRAY_PANEL_BACK
];
1872 PANELNAMES
[2] := _lc
[I_ARRAY_PANEL_FRONT
];
1873 PANELNAMES
[3] := _lc
[I_ARRAY_PANEL_DOOR_OPEN
];
1874 PANELNAMES
[4] := _lc
[I_ARRAY_PANEL_DOOR_CLOSE
];
1875 PANELNAMES
[5] := _lc
[I_ARRAY_PANEL_STAIR
];
1876 PANELNAMES
[6] := _lc
[I_ARRAY_PANEL_WATER
];
1877 PANELNAMES
[7] := _lc
[I_ARRAY_PANEL_ACID_1
];
1878 PANELNAMES
[8] := _lc
[I_ARRAY_PANEL_ACID_2
];
1879 PANELNAMES
[9] := _lc
[I_ARRAY_PANEL_LIFT_UP
];
1880 PANELNAMES
[10] := _lc
[I_ARRAY_PANEL_LIFT_DOWN
];
1881 PANELNAMES
[11] := _lc
[I_ARRAY_PANEL_LIFT_LEFT
];
1882 PANELNAMES
[12] := _lc
[I_ARRAY_PANEL_LIFT_RIGHT
];
1883 PANELNAMES
[13] := _lc
[I_ARRAY_PANEL_BLOCKMON
];
1885 // Названия эффектов:
1886 EffectNames
[EFFECT_NONE
] := _lc
[I_ARRAY_FX_NONE
];
1887 EffectNames
[EFFECT_TELEPORT
] := _lc
[I_ARRAY_FX_TELEPORT
];
1888 EffectNames
[EFFECT_RESPAWN
] := _lc
[I_ARRAY_FX_RESPAWN
];
1889 EffectNames
[EFFECT_FIRE
] := _lc
[I_ARRAY_FX_FIRE
];
1891 // Названия предметов:
1892 ItemNames
[ITEM_MEDKIT_SMALL
] := _lc
[I_ARRAY_ITEM_MEDKIT
];
1893 ItemNames
[ITEM_MEDKIT_LARGE
] := _lc
[I_ARRAY_ITEM_LARGE_MEDKIT
];
1894 ItemNames
[ITEM_MEDKIT_BLACK
] := _lc
[I_ARRAY_ITEM_BLACK_MEDKIT
];
1895 ItemNames
[ITEM_ARMOR_GREEN
] := _lc
[I_ARRAY_ITEM_GREEN_ARMOR
];
1896 ItemNames
[ITEM_ARMOR_BLUE
] := _lc
[I_ARRAY_ITEM_BLUE_ARMOR
];
1897 ItemNames
[ITEM_SPHERE_BLUE
] := _lc
[I_ARRAY_ITEM_BLUE_SPHERE
];
1898 ItemNames
[ITEM_SPHERE_WHITE
] := _lc
[I_ARRAY_ITEM_MEGASPHERE
];
1899 ItemNames
[ITEM_SUIT
] := _lc
[I_ARRAY_ITEM_HAZ_SUIT
];
1900 ItemNames
[ITEM_OXYGEN
] := _lc
[I_ARRAY_ITEM_OXYGEN
];
1901 ItemNames
[ITEM_INVUL
] := _lc
[I_ARRAY_ITEM_INVULNERABILITY
];
1902 ItemNames
[ITEM_WEAPON_SAW
] := _lc
[I_ARRAY_ITEM_CHAINSAW
];
1903 ItemNames
[ITEM_WEAPON_SHOTGUN1
] := _lc
[I_ARRAY_ITEM_SHOTGUN
];
1904 ItemNames
[ITEM_WEAPON_SHOTGUN2
] := _lc
[I_ARRAY_ITEM_DB_SHOTGUN
];
1905 ItemNames
[ITEM_WEAPON_CHAINGUN
] := _lc
[I_ARRAY_ITEM_CHAINGUN
];
1906 ItemNames
[ITEM_WEAPON_ROCKETLAUNCHER
] := _lc
[I_ARRAY_ITEM_ROCKET_LAUNCHER
];
1907 ItemNames
[ITEM_WEAPON_PLASMA
] := _lc
[I_ARRAY_ITEM_PLASMA_RIFLE
];
1908 ItemNames
[ITEM_WEAPON_BFG
] := _lc
[I_ARRAY_ITEM_BFG
];
1909 ItemNames
[ITEM_WEAPON_SUPERPULEMET
] := _lc
[I_ARRAY_ITEM_SUPER_MINIGUN
];
1910 ItemNames
[ITEM_WEAPON_FLAMETHROWER
] := _lc
[I_ARRAY_ITEM_FLAMETHROWER
];
1911 ItemNames
[ITEM_AMMO_BULLETS
] := _lc
[I_ARRAY_ITEM_CLIP
];
1912 ItemNames
[ITEM_AMMO_BULLETS_BOX
] := _lc
[I_ARRAY_ITEM_AMMO_BOX
];
1913 ItemNames
[ITEM_AMMO_SHELLS
] := _lc
[I_ARRAY_ITEM_4_SHELLS
];
1914 ItemNames
[ITEM_AMMO_SHELLS_BOX
] := _lc
[I_ARRAY_ITEM_25_SHELLS
];
1915 ItemNames
[ITEM_AMMO_ROCKET
] := _lc
[I_ARRAY_ITEM_1_ROCKET
];
1916 ItemNames
[ITEM_AMMO_ROCKET_BOX
] := _lc
[I_ARRAY_ITEM_ROCKET_BOX
];
1917 ItemNames
[ITEM_AMMO_CELL
] := _lc
[I_ARRAY_ITEM_CELL
];
1918 ItemNames
[ITEM_AMMO_CELL_BIG
] := _lc
[I_ARRAY_ITEM_LARGE_CELL
];
1919 ItemNames
[ITEM_AMMO_FUELCAN
] := _lc
[I_ARRAY_ITEM_FUELCAN
];
1920 ItemNames
[ITEM_AMMO_BACKPACK
] := _lc
[I_ARRAY_ITEM_BACKPACK
];
1921 ItemNames
[ITEM_KEY_RED
] := _lc
[I_ARRAY_ITEM_KEY_RED
];
1922 ItemNames
[ITEM_KEY_GREEN
] := _lc
[I_ARRAY_ITEM_KEY_GREEN
];
1923 ItemNames
[ITEM_KEY_BLUE
] := _lc
[I_ARRAY_ITEM_KEY_BLUE
];
1924 ItemNames
[ITEM_WEAPON_KASTET
] := '?';
1925 ItemNames
[ITEM_WEAPON_PISTOL
] := '??';
1926 ItemNames
[ITEM_BOTTLE
] := _lc
[I_ARRAY_ITEM_BOTTLE
];
1927 ItemNames
[ITEM_HELMET
] := _lc
[I_ARRAY_ITEM_HELMET
];
1928 ItemNames
[ITEM_JETPACK
] := _lc
[I_ARRAY_ITEM_JETPACK
];
1929 ItemNames
[ITEM_INVIS
] := _lc
[I_ARRAY_ITEM_INVIS
];
1931 // Названия снарядов:
1932 ShotNames
[TRIGGER_SHOT_PISTOL
] := _lc
[I_ARRAY_SHOT_PISTOL
];
1933 ShotNames
[TRIGGER_SHOT_BULLET
] := _lc
[I_ARRAY_SHOT_BULLET
];
1934 ShotNames
[TRIGGER_SHOT_SHOTGUN
] := _lc
[I_ARRAY_SHOT_SHOTGUN
];
1935 ShotNames
[TRIGGER_SHOT_SSG
] := _lc
[I_ARRAY_SHOT_SSG
];
1936 ShotNames
[TRIGGER_SHOT_IMP
] := _lc
[I_ARRAY_SHOT_IMP
];
1937 ShotNames
[TRIGGER_SHOT_PLASMA
] := _lc
[I_ARRAY_SHOT_PLASMA
];
1938 ShotNames
[TRIGGER_SHOT_SPIDER
] := _lc
[I_ARRAY_SHOT_SPIDER
];
1939 ShotNames
[TRIGGER_SHOT_CACO
] := _lc
[I_ARRAY_SHOT_CACO
];
1940 ShotNames
[TRIGGER_SHOT_BARON
] := _lc
[I_ARRAY_SHOT_BARON
];
1941 ShotNames
[TRIGGER_SHOT_MANCUB
] := _lc
[I_ARRAY_SHOT_MANCUB
];
1942 ShotNames
[TRIGGER_SHOT_REV
] := _lc
[I_ARRAY_SHOT_REV
];
1943 ShotNames
[TRIGGER_SHOT_ROCKET
] := _lc
[I_ARRAY_SHOT_ROCKET
];
1944 ShotNames
[TRIGGER_SHOT_BFG
] := _lc
[I_ARRAY_SHOT_BFG
];
1945 ShotNames
[TRIGGER_SHOT_EXPL
] := _lc
[I_ARRAY_SHOT_EXPL
];
1946 ShotNames
[TRIGGER_SHOT_BFGEXPL
] := _lc
[I_ARRAY_SHOT_BFGEXPL
];
1947 ShotNames
[TRIGGER_SHOT_FLAME
] := _lc
[I_ARRAY_SHOT_FLAME
];
1949 // Названия монстров:
1950 MonsterNames
[MONSTER_DEMON
] := _lc
[I_ARRAY_MON_DEMON
];
1951 MonsterNames
[MONSTER_IMP
] := _lc
[I_ARRAY_MON_IMP
];
1952 MonsterNames
[MONSTER_ZOMBY
] := _lc
[I_ARRAY_MON_ZOMBIE
];
1953 MonsterNames
[MONSTER_SERG
] := _lc
[I_ARRAY_MON_SERGEANT
];
1954 MonsterNames
[MONSTER_CYBER
] := _lc
[I_ARRAY_MON_CYBER
];
1955 MonsterNames
[MONSTER_CGUN
] := _lc
[I_ARRAY_MON_CGUN
];
1956 MonsterNames
[MONSTER_BARON
] := _lc
[I_ARRAY_MON_HELL_BARON
];
1957 MonsterNames
[MONSTER_KNIGHT
] := _lc
[I_ARRAY_MON_HELL_KNIGHT
];
1958 MonsterNames
[MONSTER_CACO
] := _lc
[I_ARRAY_MON_CACODEMON
];
1959 MonsterNames
[MONSTER_SOUL
] := _lc
[I_ARRAY_MON_LOST_SOUL
];
1960 MonsterNames
[MONSTER_PAIN
] := _lc
[I_ARRAY_MON_PAIN_ELEMENTAL
];
1961 MonsterNames
[MONSTER_SPIDER
] := _lc
[I_ARRAY_MON_MASTERMIND
];
1962 MonsterNames
[MONSTER_BSP
] := _lc
[I_ARRAY_MON_ARACHNATRON
];
1963 MonsterNames
[MONSTER_MANCUB
] := _lc
[I_ARRAY_MON_MANCUBUS
];
1964 MonsterNames
[MONSTER_SKEL
] := _lc
[I_ARRAY_MON_REVENANT
];
1965 MonsterNames
[MONSTER_VILE
] := _lc
[I_ARRAY_MON_ARCHVILE
];
1966 MonsterNames
[MONSTER_FISH
] := _lc
[I_ARRAY_MON_FISH
];
1967 MonsterNames
[MONSTER_BARREL
] := _lc
[I_ARRAY_MON_BARREL
];
1968 MonsterNames
[MONSTER_ROBO
] := _lc
[I_ARRAY_MON_ROBOT
];
1969 MonsterNames
[MONSTER_MAN
] := _lc
[I_ARRAY_MON_PRIKOLIST
];
1971 // Названия областей:
1972 AreaNames
[AREA_PLAYERPOINT1
] := _lc
[I_ARRAY_AREA_PLAYER_ONE
];
1973 AreaNames
[AREA_PLAYERPOINT2
] := _lc
[I_ARRAY_AREA_PLAYER_TWO
];
1974 AreaNames
[AREA_DMPOINT
] := _lc
[I_ARRAY_AREA_DM
];
1975 AreaNames
[AREA_REDFLAG
] := _lc
[I_ARRAY_AREA_FLAG_RED
];
1976 AreaNames
[AREA_BLUEFLAG
] := _lc
[I_ARRAY_AREA_FLAG_BLUE
];
1977 AreaNames
[AREA_DOMFLAG
] := _lc
[I_ARRAY_AREA_FLAG_DOM
];
1978 AreaNames
[AREA_REDTEAMPOINT
] := _lc
[I_ARRAY_AREA_TEAM_RED
];
1979 AreaNames
[AREA_BLUETEAMPOINT
] := _lc
[I_ARRAY_AREA_TEAM_BLUE
];
1981 // Названия триггеров:
1982 TriggerNames
[TRIGGER_EXIT
] := _lc
[I_ARRAY_TR_EXIT
];
1983 TriggerNames
[TRIGGER_TELEPORT
] := _lc
[I_ARRAY_TR_TELEPORT
];
1984 TriggerNames
[TRIGGER_OPENDOOR
] := _lc
[I_ARRAY_TR_DOOR_OPEN
];
1985 TriggerNames
[TRIGGER_CLOSEDOOR
] := _lc
[I_ARRAY_TR_DOOR_CLOSE
];
1986 TriggerNames
[TRIGGER_DOOR
] := _lc
[I_ARRAY_TR_DOOR_SWITCH
];
1987 TriggerNames
[TRIGGER_DOOR5
] := _lc
[I_ARRAY_TR_DOOR_5_SEC
];
1988 TriggerNames
[TRIGGER_CLOSETRAP
] := _lc
[I_ARRAY_TR_TRAP_CLOSE
];
1989 TriggerNames
[TRIGGER_TRAP
] := _lc
[I_ARRAY_TR_TRAP
];
1990 TriggerNames
[TRIGGER_PRESS
] := _lc
[I_ARRAY_TR_EXTEND
];
1991 TriggerNames
[TRIGGER_SECRET
] := _lc
[I_ARRAY_TR_SECRET
];
1992 TriggerNames
[TRIGGER_LIFTUP
] := _lc
[I_ARRAY_TR_LIFT_UP
];
1993 TriggerNames
[TRIGGER_LIFTDOWN
] := _lc
[I_ARRAY_TR_LIFT_DOWN
];
1994 TriggerNames
[TRIGGER_LIFT
] := _lc
[I_ARRAY_TR_LIFT_SWITCH
];
1995 TriggerNames
[TRIGGER_TEXTURE
] := _lc
[I_ARRAY_TR_TEXTURE
];
1996 TriggerNames
[TRIGGER_ON
] := _lc
[I_ARRAY_TR_ON
];
1997 TriggerNames
[TRIGGER_OFF
] := _lc
[I_ARRAY_TR_OFF
];
1998 TriggerNames
[TRIGGER_ONOFF
] := _lc
[I_ARRAY_TR_SWITCH
];
1999 TriggerNames
[TRIGGER_SOUND
] := _lc
[I_ARRAY_TR_SOUND
];
2000 TriggerNames
[TRIGGER_SPAWNMONSTER
] := _lc
[I_ARRAY_TR_SPAWN_MONSTER
];
2001 TriggerNames
[TRIGGER_SPAWNITEM
] := _lc
[I_ARRAY_TR_SPAWN_ITEM
];
2002 TriggerNames
[TRIGGER_MUSIC
] := _lc
[I_ARRAY_TR_MUSIC
];
2003 TriggerNames
[TRIGGER_PUSH
] := _lc
[I_ARRAY_TR_PUSH
];
2004 TriggerNames
[TRIGGER_SCORE
] := _lc
[I_ARRAY_TR_SCORE
];
2005 TriggerNames
[TRIGGER_MESSAGE
] := _lc
[I_ARRAY_TR_MESSAGE
];
2006 TriggerNames
[TRIGGER_DAMAGE
] := _lc
[I_ARRAY_TR_DAMAGE
];
2007 TriggerNames
[TRIGGER_HEALTH
] := _lc
[I_ARRAY_TR_HEALTH
];
2008 TriggerNames
[TRIGGER_SHOT
] := _lc
[I_ARRAY_TR_SHOT
];
2009 TriggerNames
[TRIGGER_EFFECT
] := _lc
[I_ARRAY_TR_EFFECT
];
2011 // Установка значений в панели выбора объектов:
2014 lbPanelType
.Items
.Clear();
2015 for i
:= 0 to High(PANELNAMES
) do
2016 lbPanelType
.Items
.Add(PANELNAMES
[i
]);
2017 lbPanelType
.ItemIndex
:= 0;
2020 for i
:= ITEM_MEDKIT_SMALL
to ITEM_KEY_BLUE
do
2021 lbItemList
.Items
.Add(ItemNames
[i
]);
2022 lbItemList
.Items
.Add(ItemNames
[ITEM_BOTTLE
]);
2023 lbItemList
.Items
.Add(ItemNames
[ITEM_HELMET
]);
2024 lbItemList
.Items
.Add(ItemNames
[ITEM_JETPACK
]);
2025 lbItemList
.Items
.Add(ItemNames
[ITEM_INVIS
]);
2026 lbItemList
.Items
.Add(ItemNames
[ITEM_WEAPON_FLAMETHROWER
]);
2027 lbItemList
.Items
.Add(ItemNames
[ITEM_AMMO_FUELCAN
]);
2029 lbMonsterList
.Clear();
2030 for i
:= MONSTER_DEMON
to MONSTER_MAN
do
2031 lbMonsterList
.Items
.Add(MonsterNames
[i
]);
2033 lbAreasList
.Clear();
2034 for i
:= AREA_PLAYERPOINT1
to AREA_BLUETEAMPOINT
do
2035 lbAreasList
.Items
.Add(AreaNames
[i
]);
2037 lbTriggersList
.Clear();
2038 for i
:= Low(TriggerNames
) to High(TriggerNames
) do
2039 lbTriggersList
.Items
.Add(TriggerNames
[i
]);
2041 clbActivationType
.Clear();
2042 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_PLAYER_CLOSE
]);
2043 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_MONSTER_CLOSE
]);
2044 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_PLAYER_PRESS
]);
2045 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_MONSTER_PRESS
]);
2046 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_SHOT
]);
2047 clbActivationType
.Items
.Add(_lc
[I_CTRL_ACT_NO_MONSTER
]);
2050 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_RED
]);
2051 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_GREEN
]);
2052 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_BLUE
]);
2053 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_TEAM_RED
]);
2054 clbKeys
.Items
.Add(_lc
[I_CTRL_KEYS_TEAM_BLUE
]);
2058 procedure SetupCaptions();
2059 var i
: Integer; s
: AnsiString;
2065 s
:= g_GetBuildHash(false);
2066 if s
= 'custom build' then
2067 s
:= s
+ ' by ' + g_GetBuilderName() + ' ' + EDITOR_BUILDDATE
+ ' ' + EDITOR_BUILDTIME
;
2068 FormCaption
:= _lc
[I_EDITOR_TITLE
] + ' (' + s
+ ')';
2069 i
:= Pos('-', Caption
);
2072 Caption
:= FormCaption
+ ' ' + Copy(Caption
, i
, Length(Caption
)-i
+1);
2075 Caption
:= FormCaption
;
2078 miMenuFile
.Caption
:= _lc
[I_MENU_FILE
];
2079 miNewMap
.Caption
:= _lc
[I_MENU_FILE_NEW
];
2080 miOpenMap
.Caption
:= _lc
[I_MENU_FILE_OPEN
];
2081 miSaveMap
.Caption
:= _lc
[I_MENU_FILE_SAVE
];
2082 miSaveMapAs
.Caption
:= _lc
[I_MENU_FILE_SAVE_AS
];
2083 miOpenWadMap
.Caption
:= _lc
[I_MENU_FILE_OPEN_WAD
];
2084 miReopenMap
.Caption
:= _lc
[I_MENU_FILE_REOPEN
];
2085 miSaveMiniMap
.Caption
:= _lc
[I_MENU_FILE_SAVE_MINI
];
2086 miDeleteMap
.Caption
:= _lc
[I_MENU_FILE_DELETE
];
2087 miPackMap
.Caption
:= _lc
[I_MENU_FILE_PACK_MAP
];
2088 miExit
.Caption
:= _lc
[I_MENU_FILE_EXIT
];
2090 miMenuEdit
.Caption
:= _lc
[I_MENU_EDIT
];
2091 miUndo
.Caption
:= _lc
[I_MENU_EDIT_UNDO
];
2092 miCopy
.Caption
:= _lc
[I_MENU_EDIT_COPY
];
2093 miCut
.Caption
:= _lc
[I_MENU_EDIT_CUT
];
2094 miPaste
.Caption
:= _lc
[I_MENU_EDIT_PASTE
];
2095 miSelectAll
.Caption
:= _lc
[I_MENU_EDIT_SELECT_ALL
];
2096 miToFore
.Caption
:= _lc
[I_MENU_EDIT_TO_FORE
];
2097 miToBack
.Caption
:= _lc
[I_MENU_EDIT_TO_BACK
];
2099 miSnapToGrid
.Caption
:= _lc
[I_MENU_TOOLS_SNAP_GRID
];
2100 miMiniMap
.Caption
:= _lc
[I_MENU_TOOLS_MINIMAP
];
2101 miSwitchGrid
.Caption
:= _lc
[I_MENU_TOOLS_STEP_GRID
];
2102 miShowEdges
.Caption
:= _lc
[I_MENU_TOOLS_SHOW_EDGES
];
2103 miLayers
.Caption
:= _lc
[I_MENU_TOOLS_LAYERS
];
2104 miLayer1
.Caption
:= _lc
[I_MENU_LAYER_BACK
];
2105 miLayer2
.Caption
:= _lc
[I_MENU_LAYER_WALL
];
2106 miLayer3
.Caption
:= _lc
[I_MENU_LAYER_FORE
];
2107 miLayer4
.Caption
:= _lc
[I_MENU_LAYER_STAIR
];
2108 miLayer5
.Caption
:= _lc
[I_MENU_LAYER_WATER
];
2109 miLayer6
.Caption
:= _lc
[I_MENU_LAYER_ITEM
];
2110 miLayer7
.Caption
:= _lc
[I_MENU_LAYER_MONSTER
];
2111 miLayer8
.Caption
:= _lc
[I_MENU_LAYER_AREA
];
2112 miLayer9
.Caption
:= _lc
[I_MENU_LAYER_TRIGGER
];
2113 miMapOptions
.Caption
:= _lc
[I_MENU_SETS_MAP
];
2114 miOptions
.Caption
:= _lc
[I_MENU_SETS_EDITOR
];
2116 miMenuService
.Caption
:= _lc
[I_MENU_SERV
];
2117 miCheckMap
.Caption
:= _lc
[I_MENU_SERV_TEST
];
2118 miOptimmization
.Caption
:= _lc
[I_MENU_SERV_OPT
];
2119 miMapPreview
.Caption
:= _lc
[I_MENU_SERV_PREVIEW
];
2120 miTestMap
.Caption
:= _lc
[I_MENU_SERV_LAUNCH
];
2122 miMenuHelp
.Caption
:= _lc
[I_MENU_HELP
];
2123 miAbout
.Caption
:= _lc
[I_MENU_HELP_ABOUT
];
2125 // Панель инструментов:
2126 tbNewMap
.Hint
:= _lc
[I_MENU_TB_NEW
];
2127 tbOpenMap
.Hint
:= _lc
[I_MENU_TB_OPEN
];
2128 tbSaveMap
.Hint
:= _lc
[I_MENU_TB_SAVE
];
2129 tbOpenWadMap
.Hint
:= _lc
[I_MENU_TB_OPEN_WAD
];
2130 tbShowMap
.Hint
:= _lc
[I_MENU_TB_MINIMAP
];
2131 tbShow
.Hint
:= _lc
[I_MENU_TB_LAYERS
];
2132 tbGridOn
.Hint
:= _lc
[I_MENU_TB_GRID
];
2133 tbGrid
.Hint
:= _lc
[I_MENU_TB_GRID_STEP
];
2134 tbTestMap
.Hint
:= _lc
[I_MENU_TB_LAUNCH
];
2135 // Всплывающее меню для кнопки слоев:
2136 miLayerP1
.Caption
:= _lc
[I_MENU_LAYER_BACK
];
2137 miLayerP2
.Caption
:= _lc
[I_MENU_LAYER_WALL
];
2138 miLayerP3
.Caption
:= _lc
[I_MENU_LAYER_FORE
];
2139 miLayerP4
.Caption
:= _lc
[I_MENU_LAYER_STAIR
];
2140 miLayerP5
.Caption
:= _lc
[I_MENU_LAYER_WATER
];
2141 miLayerP6
.Caption
:= _lc
[I_MENU_LAYER_ITEM
];
2142 miLayerP7
.Caption
:= _lc
[I_MENU_LAYER_MONSTER
];
2143 miLayerP8
.Caption
:= _lc
[I_MENU_LAYER_AREA
];
2144 miLayerP9
.Caption
:= _lc
[I_MENU_LAYER_TRIGGER
];
2146 // Кнопка применения свойств:
2147 bApplyProperty
.Caption
:= _lc
[I_BTN_APPLY_PROPS
];
2148 // Редактор свойств объектов:
2149 vleObjectProperty
.TitleCaptions
[0] := _lc
[I_CTRL_PROP_KEY
];
2150 vleObjectProperty
.TitleCaptions
[1] := _lc
[I_CTRL_PROP_VALUE
];
2152 // Вкладка "Панели":
2153 tsPanels
.Caption
:= _lc
[I_CTRL_PANELS
];
2154 lbPanelType
.Hint
:= _lc
[I_PROP_PANEL_TYPE
];
2155 lbTextureList
.Hint
:= _lc
[I_CTRL_LIST_TEXTURE
];
2156 // Панель настройки текстур:
2157 LabelTxW
.Caption
:= _lc
[I_LAB_TEX_WIDTH
];
2158 LabelTxH
.Caption
:= _lc
[I_LAB_TEX_HEIGHT
];
2159 cbPreview
.Caption
:= _lc
[I_CTRL_PREVIEW
];
2160 bbAddTexture
.Hint
:= _lc
[I_BTN_TEXTURE_ADD
];
2161 bbRemoveTexture
.Hint
:= _lc
[I_BTN_TEXTURE_DELETE
];
2162 bClearTexture
.Hint
:= _lc
[I_BTN_TEXTURE_EMPTY
];
2164 // Вкладка "Предметы":
2165 tsItems
.Caption
:= _lc
[I_CTRL_ITEMS
];
2166 lbItemList
.Hint
:= _lc
[I_CTRL_LIST_ITEM
];
2167 cbOnlyDM
.Caption
:= _lc
[I_CTRL_ITEM_DM
];
2168 cbFall
.Caption
:= _lc
[I_CTRL_ITEM_FALLS
];
2170 // Вкладка "Монстры":
2171 tsMonsters
.Caption
:= _lc
[I_CTRL_MONSTERS
];
2172 lbMonsterList
.Hint
:= _lc
[I_CTRL_LIST_MONSTER
];
2173 rbMonsterLeft
.Caption
:= _lc
[I_CTRL_LEFT
];
2174 rbMonsterRight
.Caption
:= _lc
[I_CTRL_RIGHT
];
2176 // Вкладка "Области":
2177 tsAreas
.Caption
:= _lc
[I_CTRL_AREAS
];
2178 lbAreasList
.Hint
:= _lc
[I_CTRL_LIST_AREA
];
2179 rbAreaLeft
.Caption
:= _lc
[I_CTRL_LEFT
];
2180 rbAreaRight
.Caption
:= _lc
[I_CTRL_RIGHT
];
2182 // Вкладка "Триггеры":
2183 tsTriggers
.Caption
:= _lc
[I_CTRL_TRIGGERS
];
2184 lbTriggersList
.Hint
:= _lc
[I_CTRL_LIST_TRIGGER
];
2185 clbActivationType
.Hint
:= _lc
[I_CTRL_LIST_ACTIVE
];
2186 clbKeys
.Hint
:= _lc
[I_CTRL_LIST_KEYS
];
2189 // Форма "О программе":
2192 Caption
:= _lc
[I_CAP_ABOUT
];
2193 LabelTitle
.Caption
:= _lc
[I_EDITOR_TITLE
];
2194 LabelVer
.Caption
:= _lc
[I_LAB_ABOUT_VER
];
2195 LabelAuthor
.Caption
:= _lc
[I_LAB_ABOUT_AUTHOR
];
2196 LabelAuthor2
.Caption
:= _lc
[I_LAB_ABOUT_AUTHOR_2
];
2197 LabelMail
.Caption
:= _lc
[I_LAB_ABOUT_MAIL
];
2198 LabelMail2
.Caption
:= _lc
[I_LAB_ABOUT_MAIL_2
];
2199 LabelSite
.Caption
:= _lc
[I_LAB_ABOUT_SITE
];
2200 LabelHttp
.Caption
:= _lc
[I_LAB_ABOUT_HTTP
];
2203 // Форма "Тип активации":
2204 with ActivationTypeForm
do
2206 Caption
:= _lc
[I_CAP_ACT
];
2207 cbPlayerCollide
.Caption
:= _lc
[I_CTRL_ACT_PLAYER_CLOSE
];
2208 cbMonsterCollide
.Caption
:= _lc
[I_CTRL_ACT_MONSTER_CLOSE
];
2209 cbPlayerPress
.Caption
:= _lc
[I_CTRL_ACT_PLAYER_PRESS
];
2210 cbMonsterPress
.Caption
:= _lc
[I_CTRL_ACT_MONSTER_PRESS
];
2211 cbShot
.Caption
:= _lc
[I_CTRL_ACT_SHOT
];
2212 cbNoMonster
.Caption
:= _lc
[I_CTRL_ACT_NO_MONSTER
];
2213 bOK
.Caption
:= _lc
[I_BTN_OK
];
2216 // Форма "Выбор текстуры для неба":
2219 Caption
:= _lc
[I_CAP_ADD_SKY
];
2220 LabelWADs
.Caption
:= _lc
[I_LAB_ADD_WADS
];
2221 LabelSections
.Caption
:= _lc
[I_LAB_ADD_SECTIONS
];
2222 bOK
.Caption
:= _lc
[I_BTN_OK
];
2223 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2226 // Форма "Выбор звука или музыки":
2227 with AddSoundForm
do
2229 Caption
:= _lc
[I_CAP_ADD_SOUND
];
2230 LabelWADs
.Caption
:= _lc
[I_LAB_ADD_WADS
];
2231 LabelSections
.Caption
:= _lc
[I_LAB_ADD_SECTIONS
];
2232 bOK
.Caption
:= _lc
[I_BTN_OK
];
2233 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2234 bEmpty
.Caption
:= _lc
[I_BTN_NO_SOUND
];
2237 // Форма "Выбор текстуры":
2238 with AddTextureForm
do
2240 Caption
:= _lc
[I_CAP_ADD_TEXTURE
];
2241 LabelWADs
.Caption
:= _lc
[I_LAB_ADD_WADS
];
2242 LabelSections
.Caption
:= _lc
[I_LAB_ADD_SECTIONS
];
2243 bAddTexture
.Caption
:= _lc
[I_BTN_ADD
];
2244 bClose
.Caption
:= _lc
[I_BTN_CLOSE
];
2245 bAddClose
.Caption
:= _lc
[I_BTN_ADD_CLOSE
];
2248 // Форма "Выбор типа монстра" / "Выбор типа предмета":
2249 ChooseTypeForm
.bOK
.Caption
:= _lc
[I_BTN_OK
];
2254 Caption
:= _lc
[I_CAP_KEYS
];
2255 cbRedKey
.Caption
:= _lc
[I_CTRL_KEYS_RED
];
2256 cbGreenKey
.Caption
:= _lc
[I_CTRL_KEYS_GREEN
];
2257 cbBlueKey
.Caption
:= _lc
[I_CTRL_KEYS_BLUE
];
2258 cbRedTeam
.Caption
:= _lc
[I_CTRL_KEYS_TEAM_RED
];
2259 cbBlueTeam
.Caption
:= _lc
[I_CTRL_KEYS_TEAM_BLUE
];
2260 bOK
.Caption
:= _lc
[I_BTN_OK
];
2263 // Форма "Проверка карты":
2264 with MapCheckForm
do
2266 Caption
:= _lc
[I_CAP_TEST
];
2267 bCheckMap
.Caption
:= _lc
[I_BTN_TEST_AGAIN
];
2268 bClose
.Caption
:= _lc
[I_BTN_CLOSE
];
2271 // Форма "Оптимизация карты":
2272 with MapOptimizationForm
do
2274 Caption
:= _lc
[I_CAP_OPT
];
2275 // Выбор оптимизации:
2276 GroupBoxOpt
.Caption
:= _lc
[I_CTRL_OPT_GB
];
2277 rbTexturesOptimization
.Caption
:= _lc
[I_CTRL_OPT_TEXTURE
];
2278 rbPanelsOptimization
.Caption
:= _lc
[I_CTRL_OPT_PANEL
];
2279 // Оптимизация текстур:
2280 bBeginTextureOptimization
.Caption
:= _lc
[I_BTN_START
];
2281 // Оптимизация панелей:
2282 cbOptimizeWalls
.Caption
:= _lc
[I_CTRL_OPT_WALL
];
2283 cbOptimizeForeGround
.Caption
:= _lc
[I_CTRL_OPT_FORE
];
2284 cbOptimizeBackGround
.Caption
:= _lc
[I_CTRL_OPT_BACK
];
2285 cbOptimizeSteps
.Caption
:= _lc
[I_CTRL_OPT_STAIR
];
2286 cbOptimizeWater
.Caption
:= _lc
[I_CTRL_OPT_WATER
];
2287 cbOptimizeAcid1
.Caption
:= _lc
[I_CTRL_OPT_ACID1
];
2288 cbOptimizeAcid2
.Caption
:= _lc
[I_CTRL_OPT_ACID2
];
2289 cbOptimizeLift
.Caption
:= _lc
[I_CTRL_OPT_LIFT
];
2290 cbOptimizeBlockMon
.Caption
:= _lc
[I_CTRL_OPT_BLOCKMON
];
2291 bBeginPanelsOptimization
.Caption
:= _lc
[I_BTN_START
];
2294 // Форма "Параметры карты":
2295 with MapOptionsForm
do
2297 Caption
:= _lc
[I_CAP_SETS
];
2298 // Основные параметры:
2299 LabelName
.Caption
:= _lc
[I_LAB_SETS_NAME
];
2300 LabelDesc
.Caption
:= _lc
[I_LAB_SETS_DESC
];
2301 LabelAuthor
.Caption
:= _lc
[I_LAB_SETS_AUTHOR
];
2302 LabelBack
.Caption
:= _lc
[I_LAB_SETS_BACK
];
2303 LabelMusic
.Caption
:= _lc
[I_LAB_SETS_MUSIC
];
2305 GBStats
.Caption
:= _lc
[I_CTRL_SETS_STATS
];
2306 LabelTexs
.Caption
:= _lc
[I_LAB_SETS_TEXTURES
];
2307 LabelPanels
.Caption
:= _lc
[I_LAB_SETS_PANELS
];
2308 LabelItems
.Caption
:= _lc
[I_LAB_SETS_ITEMS
];
2309 LabelMonsters
.Caption
:= _lc
[I_LAB_SETS_MONSTERS
];
2310 LabelAreas
.Caption
:= _lc
[I_LAB_SETS_AREAS
];
2311 LabelTriggers
.Caption
:= _lc
[I_LAB_SETS_TRIGGERS
];
2313 GBSizes
.Caption
:= _lc
[I_CTRL_SETS_SIZES
];
2314 LabelWidth
.Caption
:= _lc
[I_LAB_SETS_WIDTH
];
2315 LabelHeight
.Caption
:= _lc
[I_LAB_SETS_HEIGHT
];
2316 LabelCurSize
.Caption
:= _lc
[I_LAB_SETS_SIZES
];
2317 LabelMapMove
.Caption
:= _lc
[I_LAB_SETS_MAPMOVE
];
2318 cbSnapping
.Caption
:= _lc
[I_LAB_SETS_SNAPPING
];
2320 bOK
.Caption
:= _lc
[I_BTN_OK
];
2321 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2324 // From "Editor settings":
2327 Caption
:= _lc
[I_CAP_ES
];
2328 bOK
.Caption
:= _lc
[I_BTN_OK
];
2329 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2331 cbShowDots
.Caption
:= _lc
[I_CTRL_ES_GRID
];
2332 cbShowTexture
.Caption
:= _lc
[I_CTRL_ES_TEXTURE
];
2333 cbShowSize
.Caption
:= _lc
[I_CTRL_ES_PANEL_SIZE
];
2334 cbCheckerboard
.Caption
:= _lc
[I_CTRL_ES_CHECKERBOARD
];
2335 LabelGrid
.Caption
:= _lc
[I_LAB_ES_GRID
];
2336 LabelGridCol
.Caption
:= _lc
[I_LAB_ES_GRID_COLOR
];
2337 LabelGridSize
.Caption
:= _lc
[I_LAB_ES_GRID_SIZE
];
2338 LabelBack
.Caption
:= _lc
[I_LAB_ES_BACK
];
2339 LabelPreview
.Caption
:= _lc
[I_LAB_ES_PREVIEW
];
2340 LabelMinimap
.Caption
:= _lc
[I_LAB_ES_MINIMAP
];
2341 LabelLanguage
.Caption
:= _lc
[I_LAB_ES_LANGUAGE
];
2343 cbCompress
.Caption
:= _lc
[I_LAB_ES_COMPRESS
];
2344 cbBackup
.Caption
:= _lc
[I_LAB_ES_BACKUP
];
2345 LabelRecent
.Caption
:= _lc
[I_LAB_ES_RECENT
];
2347 rbDM
.Caption
:= _lc
[I_CTRL_LAUNCH_DM
];
2348 rbTDM
.Caption
:= _lc
[I_CTRL_LAUNCH_TDM
];
2349 rbCTF
.Caption
:= _lc
[I_CTRL_LAUNCH_CTF
];
2350 rbCOOP
.Caption
:= _lc
[I_CTRL_LAUNCH_COOP
];
2351 cbTwoPlayers
.Caption
:= _lc
[I_CTRL_LAUNCH_2P
];
2352 cbTeamDamage
.Caption
:= _lc
[I_CTRL_LAUNCH_FF
];
2353 cbAllowExit
.Caption
:= _lc
[I_CTRL_LAUNCH_EXIT
];
2354 cbWeaponStay
.Caption
:= _lc
[I_CTRL_LAUNCH_WEAPONS
];
2355 cbMonstersDM
.Caption
:= _lc
[I_CTRL_LAUNCH_MONSTERS
];
2356 cbMapOnce
.Caption
:= _lc
[I_CTRL_LAUNCH_CLOSE
];
2357 LabelTime
.Caption
:= _lc
[I_LAB_LAUNCH_TIME
];
2358 LabelSecs
.Caption
:= _lc
[I_LAB_LAUNCH_SECS
];
2359 LabelScore
.Caption
:= _lc
[I_LAB_LAUNCH_SCORE
];
2360 LabelPath
.Caption
:= _lc
[I_LAB_LAUNCH_PATH
];
2361 FindD2dDialog
.Title
:= _lc
[I_CTRL_LAUNCH_OPEN
];
2362 LabelArgs
.Caption
:= _lc
[I_LAB_LAUNCH_ARGS
];
2365 // Форма "Упаковать карту":
2368 Caption
:= _lc
[I_CAP_PACK
];
2369 bPack
.Caption
:= _lc
[I_BTN_PACK
];
2370 LabelSaveTo
.Caption
:= _lc
[I_LAB_PACK_SAVE_TO
];
2371 LabelMapName
.Caption
:= _lc
[I_LAB_PACK_MAP_NAME
];
2373 cbTextrures
.Caption
:= _lc
[I_CTRL_PACK_TEXTURES
];
2374 LabelTextures
.Caption
:= _lc
[I_LAB_PACK_TEXTURES
];
2375 cbSky
.Caption
:= _lc
[I_CTRL_PACK_SKY
];
2376 LabelSky
.Caption
:= _lc
[I_LAB_PACK_SKY
];
2377 cbMusic
.Caption
:= _lc
[I_CTRL_PACK_MUSIC
];
2378 LabelMusic
.Caption
:= _lc
[I_LAB_PACK_MUSIC
];
2379 cbAdd
.Caption
:= _lc
[I_CTRL_PACK_ADD
];
2380 cbNonStandart
.Caption
:= _lc
[I_CTRL_PACK_NON_STD
];
2383 // Форма "Сохранить карту":
2386 Caption
:= _lc
[I_CAP_SAVE
];
2387 bOK
.Caption
:= _lc
[I_BTN_OK
];
2388 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2391 // Форма "Сохранить мини-карту":
2392 with SaveMiniMapForm
do
2394 Caption
:= _lc
[I_CAP_MINI
];
2395 LabelScale
.Caption
:= _lc
[I_LAB_MINI_SCALE
];
2396 bSave
.Caption
:= _lc
[I_BTN_SAVE
];
2397 bClose
.Caption
:= _lc
[I_BTN_CLOSE
];
2400 // Форма "Выбор карты":
2401 with SelectMapForm
do
2403 Caption
:= _lc
[I_CAP_SELECT
];
2404 bOK
.Caption
:= _lc
[I_BTN_OK
];
2405 bCancel
.Caption
:= _lc
[I_BTN_CANCEL
];
2408 // Заголовок приложения:
2409 Application
.Title
:= _lc
[I_EDITOR_TITLE
];
2412 procedure g_Language_Load(fileName
: String);
2421 // Значения по-умолчанию:
2422 for i
:= Low(TStrings_Locale
) to High(TStrings_Locale
) do
2423 _lc
[i
] := g_lang_default
[i
][LANGUAGE_ENGLISH_N
];
2425 if FileExists(fileName
) then
2427 AssignFile(F
, fileName
);
2438 // Строка - ключ перевода:
2441 (Pos(']', key
) > 2) then
2443 key
:= UpperCase(Copy(key
, 2, Pos(']', key
)-2));
2445 // Пропускаем пустые строки до строки - перевода:
2447 while (not EoF(F
)) and (value
= '') do
2450 value
:= Trim(value
);
2453 // Есть строка - перевод:
2456 // Ищем индекс ключа перевода:
2458 i
:= TStrings_Locale(k
);
2460 // От текущего к первому:
2461 while i
> Low(TStrings_Locale
) do
2463 if g_lang_default
[i
][1] = key
then
2476 i
:= Low(TStrings_Locale
);
2478 if (g_lang_default
[i
][1] = key
) then
2485 // От следующего за текущим до последнего:
2488 i
:= TStrings_Locale(k
);
2490 while i
< High(TStrings_Locale
) do
2494 if g_lang_default
[i
][1] = key
then
2510 e_WriteLog('Language file "'+fileName
+'" not found!', MSG_WARNING
);
2514 RemoveSelectFromObjects();
2517 procedure g_Language_Set(lang
: String);
2523 if lang
= LANGUAGE_ENGLISH
then
2524 n
:= LANGUAGE_ENGLISH_N
2526 n
:= LANGUAGE_RUSSIAN_N
;
2528 for i
:= Low(TStrings_Locale
) to High(TStrings_Locale
) do
2530 _lc
[i
] := g_lang_default
[i
][n
];
2531 // have to cache a CP1251 version for GL text
2532 _glc
[i
] := utf8to1251(g_lang_default
[i
][n
]);
2537 RemoveSelectFromObjects();
2540 procedure g_Language_Dump(fileName
: String);
2546 AssignFile(F
, fileName
);
2549 for i
:= Low(TStrings_Locale
) to High(TStrings_Locale
) do