| 1 | /* |
| 2 | * LegacyClonk |
| 3 | * |
| 4 | * Copyright (c) 1998-2000, Matthes Bender (RedWolf Design) |
| 5 | * Copyright (c) 2017-2022, The LegacyClonk Team and contributors |
| 6 | * |
| 7 | * Distributed under the terms of the ISC license; see accompanying file |
| 8 | * "COPYING" for details. |
| 9 | * |
| 10 | * "Clonk" is a registered trademark of Matthes Bender, used with permission. |
| 11 | * See accompanying file "TRADEMARK" for details. |
| 12 | * |
| 13 | * To redistribute this file separately, substitute the full license texts |
| 14 | * for the above references. |
| 15 | */ |
| 16 | |
| 17 | /* Known component file names */ |
| 18 | |
| 19 | #pragma once |
| 20 | |
| 21 | // Component File Names |
| 22 | |
| 23 | #define C4CFN_Editor "Editor.exe" |
| 24 | |
| 25 | #define C4CFN_Material "Material.c4g" |
| 26 | #define C4CFN_Sound "Sound.c4g" |
| 27 | #define C4CFN_Graphics "Graphics.c4g" |
| 28 | #define C4CFN_System "System.c4g" |
| 29 | #define C4CFN_Music "Music.c4g" |
| 30 | #define "Extra.c4g" |
| 31 | #define C4CFN_Languages "Language.c4g" |
| 32 | |
| 33 | #define C4CFN_ScenarioSections "Sect*.c4g" |
| 34 | |
| 35 | #define C4CFN_Mouse "Mouse.c4f" |
| 36 | #define C4CFN_Keyboard "Keyboard.c4f" |
| 37 | #define C4CFN_Easy "Easy.c4f" |
| 38 | |
| 39 | #define C4CFN_ScenarioCore "Scenario.txt" |
| 40 | #define C4CFN_FolderCore "Folder.txt" |
| 41 | #define C4CFN_PlayerInfoCore "Player.txt" |
| 42 | #define C4CFN_DefCore "DefCore.txt" |
| 43 | #define C4CFN_ObjectInfoCore "ObjectInfo.txt" |
| 44 | #define C4CFN_ParticleCore "Particle.txt" |
| 45 | #define C4CFN_UpdateCore "AutoUpdate.txt" |
| 46 | #define C4CFN_UpdateEntries "GRPUP_Entries.txt" |
| 47 | |
| 48 | #define C4CFN_UpdateProgram "c4group" |
| 49 | |
| 50 | #define C4CFN_Map "Map.bmp" |
| 51 | #define C4CFN_Landscape "Landscape.bmp" |
| 52 | #define C4CFN_LandscapePNG "Landscape.png" |
| 53 | #define C4CFN_DiffLandscape "DiffLandscape.bmp" |
| 54 | #define C4CFN_Sky "Sky" |
| 55 | #define C4CFN_Script "Script.c|Script{}.c|C4Script{}.c" |
| 56 | #define C4CFN_ScriptStringTbl "StringTbl.txt|StringTbl{}.txt" |
| 57 | #define C4CFN_Info "Info.txt" |
| 58 | #define C4CFN_Author "Author.txt" |
| 59 | #define C4CFN_Version "Version.txt" |
| 60 | #define C4CFN_Game "Game.txt" |
| 61 | #define C4CFN_PXS "PXS.c4b" |
| 62 | #define C4CFN_MassMover "MassMover.c4b" |
| 63 | #define C4CFN_CtrlRec "CtrlRec.c4b" |
| 64 | #define C4CFN_CtrlRecText "CtrlRec.txt" |
| 65 | #define C4CFN_TexMap "TexMap.txt" |
| 66 | #define C4CFN_MatMap "MatMap.txt" |
| 67 | #define C4CFN_Title "Title{}.txt|Title.txt" |
| 68 | #define C4CFN_WriteTitle "Title.txt" // file that is generated if a title is set automatically |
| 69 | #define C4CFN_ScenarioTitle "Title.bmp" |
| 70 | #define C4CFN_ScenarioTitlePNG "Title.png" |
| 71 | #define C4CFN_ScenarioIcon "Icon.bmp" |
| 72 | #define C4CFN_IconPNG "Icon.png" |
| 73 | #define C4CFN_ScenarioObjects "Objects.txt" |
| 74 | #define C4CFN_ScenarioDesc "Desc{}.rtf" |
| 75 | #define C4CFN_DefGraphics "Graphics.bmp" |
| 76 | #define C4CFN_DefGraphicsPNG "Graphics.png" |
| 77 | #define C4CFN_ClrByOwnerPNG "Overlay.png" |
| 78 | #define C4CFN_DefGraphicsEx "Graphics*.bmp" |
| 79 | #define C4CFN_DefGraphicsExPNG "Graphics*.png" |
| 80 | #define C4CFN_ClrByOwnerExPNG "Overlay*.png" |
| 81 | #define C4CFN_DefNames "Names{}.txt|Names.txt" |
| 82 | #define C4CFN_DefActMap "ActMap.txt" |
| 83 | #define C4CFN_DefDesc "Desc{}.txt" |
| 84 | #define C4CFN_BigIcon "BigIcon.png" |
| 85 | #define C4CFN_Portrait "Portrait.png" |
| 86 | #define C4CFN_PortraitOverlay "PortraitOverlay.png" |
| 87 | #define C4CFN_Portrait_Old "Portrait.bmp" |
| 88 | #define C4CFN_Portraits "Portrait*.*" |
| 89 | #define C4CFN_MoreMusic "MoreMusic.txt" |
| 90 | #define C4CFN_DynLandscape "Landscape.txt" |
| 91 | #define C4CFN_ClonkNames "ClonkNames{}.txt|ClonkNames.txt" |
| 92 | #define C4CFN_ClonkNameFiles "ClonkNames*.txt" |
| 93 | #define C4CFN_RankNames "Rank{}.txt|Rank.txt" |
| 94 | #define C4CFN_RankNameFiles "Rank*.txt" |
| 95 | #define C4CFN_RankFaces "Rank.bmp" |
| 96 | #define C4CFN_RankFacesPNG "Rank.png" |
| 97 | #define C4CFN_ClonkRank "Rank.png" // custom rank in info file: One rank image only |
| 98 | #define C4CFN_Strings "Strings.txt" |
| 99 | #define C4CFN_FontDefs "Fonts.txt" |
| 100 | #define C4CFN_PlayerInfos "PlayerInfos.txt" |
| 101 | #define C4CFN_SavePlayerInfos "SavePlayerInfos.txt" |
| 102 | #define C4CFN_RecPlayerInfos "RecPlayerInfos.txt" |
| 103 | #define C4CFN_Teams "Teams.txt" |
| 104 | #define C4CFN_Parameters "Parameters.txt" |
| 105 | #define C4CFN_RoundResults "RoundResults.txt" |
| 106 | |
| 107 | #define C4CFN_MapFolderData "FolderMap.txt" |
| 108 | #define C4CFN_MapFolderBG "FolderMap" |
| 109 | |
| 110 | #define C4CFN_Language "Language*.txt" |
| 111 | #define C4CFN_KeyConfig "KeyConfig.txt" |
| 112 | |
| 113 | #define C4CFN_Log "Clonk.log" |
| 114 | #define C4CFN_LogEx "Clonk{}.log" // created if regular logfile is in use |
| 115 | #define C4CFN_Names "Names.txt" |
| 116 | #define C4CFN_Titles "Title*.txt|Title.txt" |
| 117 | |
| 118 | #define C4CFN_TempMap "~Map.tmp" |
| 119 | #define C4CFN_TempLandscape "~Landscape.tmp" |
| 120 | #define C4CFN_TempLandscapePNG "~Landscape2.tmp" |
| 121 | #define C4CFN_TempPXS "~PXS.tmp" |
| 122 | #define C4CFN_TempTitle "~Title.tmp" |
| 123 | #define C4CFN_TempPlayer "~plr.tmp" |
| 124 | |
| 125 | #define C4CFN_DefFiles "*.c4d" |
| 126 | #define C4CFN_PlayerFiles "*.c4p" |
| 127 | #define C4CFN_MaterialFiles "*.c4m" |
| 128 | #define C4CFN_ObjectInfoFiles "*.c4i" |
| 129 | #define C4CFN_SoundFiles "*.wav|*.ogg|*.mp3" |
| 130 | #define C4CFN_PNGFiles "*.png" |
| 131 | #define C4CFN_BitmapFiles "*.bmp" |
| 132 | #define C4CFN_ScenarioFiles "*.c4s" |
| 133 | #define C4CFN_FolderFiles "*.c4f" |
| 134 | #define C4CFN_ScriptFiles "*.c" |
| 135 | #define C4CFN_ImageFiles "*.png|*.bmp|*.jpeg|*.jpg" |
| 136 | #define C4CFN_FontFiles "*.fon|*.fnt|*.ttf|*.ttc|*.fot|*.otf" |
| 137 | |
| 138 | // File Load Sequences |
| 139 | |
| 140 | #define C4FLS_Scenario "Loader*.bmp|Loader*.png|Loader*.jpeg|Loader*.jpg|Fonts.txt|Scenario.txt|Title*.txt|Info.txt|Desc*.rtf|Icon.png|Icon.bmp|Game.txt|StringTbl*.txt|Teams.txt|Parameters.txt|Info.txt|Sect*.c4g|Music.c4g|*.mid|*.wav|Desc*.rtf|Title.bmp|Title.png|*.c4d|Material.c4g|MatMap.txt|Landscape.bmp|Landscape.png|" C4CFN_DiffLandscape "|Sky.bmp|Sky.png|Sky.jpeg|Sky.jpg|PXS.c4b|MassMover.c4b|CtrlRec.c4b|Strings.txt|Objects.txt|RoundResults.txt|Author.txt|Version.txt|Names.txt|*.c4d|Script.c|Script*.c|System.c4g" |
| 141 | #define C4FLS_Section "Scenario.txt|Game.txt|Landscape.bmp|Landscape.png|Sky.bmp|Sky.png|Sky.jpeg|Sky.jpg|PXS.c4b|MassMover.c4b|CtrlRec.c4b|Strings.txt|Objects.txt" |
| 142 | #define C4FLS_SectionLandscape "Scenario.txt|Landscape.bmp|Landscape.png|PXS.c4b|MassMover.c4b" |
| 143 | #define C4FLS_SectionObjects "Strings.txt|Objects.txt" |
| 144 | #define C4FLS_Def "Particle.txt|DefCore.txt|Graphics.bmp|Graphics.png|Overlay.png|Graphics*.png|Overlay*.png|Portrait*.png|Portrait*.bmp|ActMap.txt|Script.c|Script*.c|C4Script.c|StringTbl*.txt|Names*.txt|Title*.txt|ClonkNames.txt|" C4CFN_RankNameFiles "|Rank.bmp|Rank.png|Desc*.txt|Overlay.png|Title.bmp|Title.png|Icon.bmp|Author.txt|Version.txt|" C4CFN_SoundFiles "|*.c4d" |
| 145 | #define C4FLS_Player "Player.txt|Portrait.png|Portrait.bmp|*.c4i" |
| 146 | #define C4FLS_Object "ObjectInfo.txt|Portrait.png|Portrait.bmp" |
| 147 | #define C4FLS_Folder "Folder.txt|Title*.txt|Info.txt|Desc*.rtf|Title.png|Title.bmp|Icon.png|Icon.bmp|Author.txt|Version.txt|*.c4s|*.c4f|Loader*.bmp|Loader*.png|Loader*.jpeg|Loader*.jpg|FolderMap.txt|FolderMap.png|*.png" |
| 148 | #define C4FLS_Material "TexMap.txt|*.bmp|*.png|*.c4m" |
| 149 | #define C4FLS_Graphics "Loader*.bmp|Loader*.png|Loader*.jpeg|Loader*.jpg|FontEndeavour12.png|FontEndeavour24.png|FontEndeavour16.png|FontEndeavour10.png|Font*.png" \ |
| 150 | "|*.pal|Control.png|Fire.png|Background.png|Flag.png|Crew.png|Score.png|Wealth.png|Player.png|Rank.png|Entry.png|Captain.png|Cursor.png|CursorSmall.png|CursorMedium.png|CursorLarge.png|CursorXLarge.png|CursorXXLarge.png|CursorXXXLarge.png|CursorXXXXLarge.png|CursorXXXXXLarge.png|SelectMark.png|MenuSymbol.png|Menu.png|Logo.png|Construction.png|Energy.png|Magic.png|Options.png|UpperBoard.png|Arrow.png|Exit.png|Hand.png|Gamepad.png|Build.png|EnergyBars.png|Liquid.png" \ |
| 151 | "|GUICaption.png|GUIButton.png|GUIButtonDown.png|GUIButtonHighlight.png|GUIIcons.png|GUIIcons2.png|GUIScroll.png|GUIContext.png|GUISubmenu.png|GUICheckBox.png|GUIBigArrows.png|GUIProgress.png" \ |
| 152 | "|StartupScenSelBG.*|StartupPlrSelBG.*|StartupPlrPropBG.*|StartupNetworkBG.*|StartupAboutBG.*|StartupBigButton.png|StartupBigButtonDown.png|StartupBookScroll.png|StartupContext.png|StartupScenSelIcons.png|StartupScenSelTitleOv.png|StartupPlrCtrlType.png|StartupDlgPaper.png|StartupOptionIcons.png|StartupTabClip.png|StartupNetGetRef.png" |
| 153 | #define C4FLS_Mouse "*.txt|*.rtf|Title.bmp|Title.png|Icon.bmp|Tutorial01.c4s|Tutorial02.c4s|Tutorial03.c4s|Objects.c4d" |
| 154 | #define C4FLS_Keyboard "*.txt|*.rtf|Title.bmp|Title.png|Icon.bmp|Tutorial01.c4s|Tutorial02.c4s|Tutorial03.c4s|Tutorial04.c4s|Tutorial05.c4s|Tutorial06.c4s|Tutorial07.c4s|Tutorial08.c4s|Tutorial09.c4s|Tutorial10.c4s" |
| 155 | #define C4FLS_Easy "*.txt|*.rtf|Title.bmp|Title.png|Icon.bmp|Goldmine.c4s|Monsterkill.c4s|Economy.c4s|Melee.c4s|Lake.c4s|Castle.c4s" |
| 156 | #define C4FLS_System "*.hlp|*.cnt|Language*.txt|*.fon|*.fnt|*.ttf|*.ttc|*.fot|*.otf|Fonts.txt|Alchem.c|StringTbl*.txt|*.c|Names.txt" |
| 157 | #define C4FLS_Music "Frontend.*|Credits.*" |
| 158 | // western foldermap hardcoded... |
| 159 | #define C4FLS_Western C4FLS_Folder "|ScenGCBase.png|ScenGC.png|ScenDMVBase.png|ScenDMV.png|ScenFSBase.png|ScenFS.png|ScenCTFBase.png|ScenCTF.png|ScenLHBase.png|ScenLH.png|ScenMCBase.png|ScenMC.png|ScenMWBase.png|ScenMW.png|ScenBRBase.png|ScenBR.png|ScenTHBase.png|ScenTH.png|ScenGRBase.png|ScenGR.png|ScenSTSBase.png|ScenSTS.png|ScenNWBase.png|ScenNW.png|AccLH.png|AccFS.png|AccGC.png|AccGR.png|AccMW.png|AccNW.png" |
| 160 | |