00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 00131 00132 00133 00134 00135 00136 00137 00138 00139 | //============================================================================= // Spatial Fear // Class: SFResource1 // Description: Main class for a resource package. // This package bundles a the used resources (textures/music/sound/etc.) // // Created by: Markus Nuebel //============================================================================= class SFResource1 extends Object; // HUD stuff #exec OBJ LOAD FILE=Textures\SFHUD.utx PACKAGE=SFResource1 // Icons #exec OBJ LOAD FILE=Textures\crosshairs.utx PACKAGE=SFResource1 GROUP=CrsHair // Crosshairs #exec OBJ LOAD FILE=Textures\SFcrshair1.utx PACKAGE=SFResource1 GROUP=CrsHair // Crosshairs #exec OBJ LOAD FILE=Textures\SPF_HUD.utx PACKAGE=SFResource1 GROUP="HUD" // Armor ring, etc. #exec OBJ LOAD FILE=Textures\skintest.utx PACKAGE=SFResource1 GROUP="skins" // Skins // MedKit #exec OBJ LOAD FILE=Textures\SPF-Items.utx PACKAGE=SFResource1 GROUP=MEDKIT // Trainer skin #exec TEXTURE IMPORT NAME=Trainer FILE=Textures\Trainer.pcx PACKAGE=SFResource1 GROUP="Skins" MIPS=OFF // Console background #exec TEXTURE IMPORT NAME=Bg11 FILE=Textures\sfbg11.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg21 FILE=Textures\sfbg21.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg31 FILE=Textures\sfbg31.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg41 FILE=Textures\sfbg41.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg12 FILE=Textures\sfbg12.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg22 FILE=Textures\sfbg22.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg32 FILE=Textures\sfbg32.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg42 FILE=Textures\sfbg42.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg13 FILE=Textures\sfbg13.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg23 FILE=Textures\sfbg23.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg33 FILE=Textures\sfbg33.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF #exec TEXTURE IMPORT NAME=Bg43 FILE=Textures\sfbg43.pcx PACKAGE=SFResource1 GROUP="Icons" MIPS=OFF // Weapon stuff #exec OBJ LOAD FILE=..\SFResource1\Textures\effects.utx PACKAGE=SFResource1 GROUP=USRifle // Sounds #exec AUDIO IMPORT FILE="Sounds\ActiveWindowOpen.WAV" NAME=OpenActiveWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\ActiveWindowScroll.WAV" NAME=ScrollActiveWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\ActiveWindowSelect.WAV" NAME=SelectActiveWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\ActiveWindowClose.WAV" NAME=CloseActiveWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\PassiveItemClose.WAV" NAME=ClosePassiveWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\PassiveItemOpen.WAV" NAME=OpenPassiveWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\CaptainIncommingMessage.WAV" NAME=IncommingCapMsg PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\CaptainMessageActivate.WAV" NAME=OpenCaptainWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\CaptainWindowClose.WAV" NAME=CloseCaptainWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\CaptainWindowClose2.WAV" NAME=Close2CaptainWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\DescWndClose.WAV" NAME=CloseDescWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\DescWndOpen.WAV" NAME=OpenDescWnd PACKAGE=SFResource1 GROUP=Window #exec AUDIO IMPORT FILE="Sounds\Quicklaser.WAV" NAME=QuickLaser PACKAGE=SFResource1 GROUP=Weapon #exec AUDIO IMPORT FILE="Sounds\Quicklaseralt.WAV" NAME=QuickLaserAlt1 PACKAGE=SFResource1 GROUP=Weapon #exec AUDIO IMPORT FILE="Sounds\Quicklaseralt2.WAV" NAME=QuickLaserAlt2 PACKAGE=SFResource1 GROUP=Weapon #exec AUDIO IMPORT FILE="Sounds\CapacitorCharge.WAV" NAME=CapacitorCharge PACKAGE=SFResource1 GROUP=Weapon // fonts // ModaerneLight #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL10 FontName="ModaerneLight" Height=10 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL12 FontName="ModaerneLight" Height=12 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL14 FontName="ModaerneLight" Height=14 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL16 FontName="ModaerneLight" Height=16 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL18 FontName="ModaerneLight" Height=18 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL20 FontName="ModaerneLight" Height=20 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL22 FontName="ModaerneLight" Height=22 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL24 FontName="ModaerneLight" Height=24 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL26 FontName="ModaerneLight" Height=26 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL28 FontName="ModaerneLight" Height=28 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL30 FontName="ModaerneLight" Height=30 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneL32 FontName="ModaerneLight" Height=32 AntiAlias=0 /* // ModaerneRegular #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR10 FontName="Modaerne" Height=10 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR12 FontName="Modaerne" Height=12 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR14 FontName="Modaerne" Height=14 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR16 FontName="Modaerne" Height=16 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR18 FontName="Modaerne" Height=18 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR20 FontName="Modaerne" Height=20 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR22 FontName="Modaerne" Height=22 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR24 FontName="Modaerne" Height=24 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR26 FontName="Modaerne" Height=26 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR28 FontName="Modaerne" Height=28 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR30 FontName="Modaerne" Height=30 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneR32 FontName="Modaerne" Height=32 AntiAlias=0 // ModaerneBold #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB10 FontName="ModaerneHeavy" Height=10 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB12 FontName="ModaerneHeavy" Height=12 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB14 FontName="ModaerneHeavy" Height=14 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB16 FontName="ModaerneHeavy" Height=16 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB18 FontName="ModaerneHeavy" Height=18 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB20 FontName="ModaerneHeavy" Height=20 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB22 FontName="ModaerneHeavy" Height=22 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB24 FontName="ModaerneHeavy" Height=24 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB26 FontName="ModaerneHeavy" Height=26 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB28 FontName="ModaerneHeavy" Height=28 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB30 FontName="ModaerneHeavy" Height=30 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=ModaerneB32 FontName="ModaerneHeavy" Height=32 AntiAlias=0 */ // BankGothic MD BT #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB10 FontName="BankGothic Md BT" Height=10 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB12 FontName="BankGothic Md BT" Height=12 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB14 FontName="BankGothic Md BT" Height=14 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB16 FontName="BankGothic Md BT" Height=16 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB18 FontName="BankGothic Md BT" Height=18 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB20 FontName="BankGothic Md BT" Height=20 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB22 FontName="BankGothic Md BT" Height=22 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB24 FontName="BankGothic Md BT" Height=24 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB26 FontName="BankGothic Md BT" Height=26 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB28 FontName="BankGothic Md BT" Height=28 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB30 FontName="BankGothic Md BT" Height=30 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicB32 FontName="BankGothic Md BT" Height=32 AntiAlias=0 // BankGothic LT BT #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL10 FontName="BankGothic Lt BT" Height=10 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL12 FontName="BankGothic Lt BT" Height=12 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL14 FontName="BankGothic Lt BT" Height=14 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL16 FontName="BankGothic Lt BT" Height=16 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL18 FontName="BankGothic Lt BT" Height=18 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL20 FontName="BankGothic Lt BT" Height=20 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL22 FontName="BankGothic Lt BT" Height=22 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL24 FontName="BankGothic Lt BT" Height=24 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL26 FontName="BankGothic Lt BT" Height=26 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL28 FontName="BankGothic Lt BT" Height=28 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL30 FontName="BankGothic Lt BT" Height=30 AntiAlias=0 #exec new TrueTypeFontFactory PACKAGE="SFResource1" Name=BankGothicL32 FontName="BankGothic Lt BT" Height=32 AntiAlias=0 defaultproperties { } |