116 ExplosionBorderColor: LongWord; |
116 ExplosionBorderColor: LongWord; |
117 WaterOpacity: byte; |
117 WaterOpacity: byte; |
118 SDWaterOpacity: byte; |
118 SDWaterOpacity: byte; |
119 GrayScale: Boolean; |
119 GrayScale: Boolean; |
120 |
120 |
121 // originally from uConsts |
|
122 Pathz: array[TPathType] of shortstring; |
|
123 UserPathz: array[TPathType] of shortstring; |
|
124 CountTexz: array[0..Pred(AMMO_INFINITE)] of PTexture; |
121 CountTexz: array[0..Pred(AMMO_INFINITE)] of PTexture; |
125 LAND_WIDTH : LongInt; |
122 LAND_WIDTH : LongInt; |
126 LAND_HEIGHT : LongInt; |
123 LAND_HEIGHT : LongInt; |
127 LAND_WIDTH_MASK : LongWord; |
124 LAND_WIDTH_MASK : LongWord; |
128 LAND_HEIGHT_MASK : LongWord; |
125 LAND_HEIGHT_MASK : LongWord; |
223 |
220 |
224 var |
221 var |
225 // these consts are here because they would cause circular dependencies in uConsts/uTypes |
222 // these consts are here because they would cause circular dependencies in uConsts/uTypes |
226 cPathz: array[TPathType] of shortstring = ( |
223 cPathz: array[TPathType] of shortstring = ( |
227 '', // ptNone |
224 '', // ptNone |
228 '', // ptData |
225 '/', // ptData |
229 'Graphics', // ptGraphics |
226 '/Graphics', // ptGraphics |
230 'Themes', // ptThemes |
227 '/Themes', // ptThemes |
231 'Themes/Bamboo', // ptCurrTheme |
228 '/Themes/Bamboo', // ptCurrTheme |
232 'Teams', // ptTeams |
229 '/Teams', // ptTeams |
233 'Maps', // ptMaps |
230 '/Maps', // ptMaps |
234 '', // ptMapCurrent |
231 '', // ptMapCurrent |
235 'Demos', // ptDemos |
232 '/Demos', // ptDemos |
236 'Sounds', // ptSounds |
233 '/Sounds', // ptSounds |
237 'Graphics/Graves', // ptGraves |
234 '/Graphics/Graves', // ptGraves |
238 'Fonts', // ptFonts |
235 '/Fonts', // ptFonts |
239 'Forts', // ptForts |
236 '/Forts', // ptForts |
240 'Locale', // ptLocale |
237 '/Locale', // ptLocale |
241 'Graphics/AmmoMenu', // ptAmmoMenu |
238 '/Graphics/AmmoMenu', // ptAmmoMenu |
242 'Graphics/Hedgehog', // ptHedgehog |
239 '/Graphics/Hedgehog', // ptHedgehog |
243 'Sounds/voices', // ptVoices |
240 '/Sounds/voices', // ptVoices |
244 'Graphics/Hats', // ptHats |
241 '/Graphics/Hats', // ptHats |
245 'Graphics/Flags', // ptFlags |
242 '/Graphics/Flags', // ptFlags |
246 'Missions/Maps', // ptMissionMaps |
243 '/Missions/Maps', // ptMissionMaps |
247 'Graphics/SuddenDeath', // ptSuddenDeath |
244 '/Graphics/SuddenDeath', // ptSuddenDeath |
248 'Graphics/Buttons', // ptButton |
245 '/Graphics/Buttons', // ptButton |
249 'Shaders' // ptShaders |
246 '/Shaders' // ptShaders |
250 ); |
247 ); |
251 |
248 |
252 var |
249 var |
253 Fontz: array[THWFont] of THHFont = ( |
250 Fontz: array[THWFont] of THHFont = ( |
254 (Handle: nil; |
251 (Handle: nil; |
823 Ammo: TAmmo; |
820 Ammo: TAmmo; |
824 Slot: 0..cMaxSlotIndex; |
821 Slot: 0..cMaxSlotIndex; |
825 TimeAfterTurn: Longword; |
822 TimeAfterTurn: Longword; |
826 minAngle, maxAngle: Longword; |
823 minAngle, maxAngle: Longword; |
827 isDamaging: boolean; |
824 isDamaging: boolean; |
828 SkipTurns: LongInt; {xymeng, org:LongWord} |
825 SkipTurns: LongInt; {xymeng, orinally: LongWord} |
829 PosCount: Longword; |
826 PosCount: Longword; |
830 PosSprite: TSprite; |
827 PosSprite: TSprite; |
831 ejectX, ejectY: Longint; |
828 ejectX, ejectY: Longint; |
832 end = ( |
829 end = ( |
833 (NameId: sidNothing; |
830 (NameId: sidNothing; |
2600 cLocale:= cLocaleFName; |
2598 cLocale:= cLocaleFName; |
2601 SplitByChar(cLocale, s, '.'); |
2599 SplitByChar(cLocale, s, '.'); |
2602 |
2600 |
2603 cFlattenFlakes := false; |
2601 cFlattenFlakes := false; |
2604 cFlattenClouds := false; |
2602 cFlattenClouds := false; |
2605 cOnlyStats := False; |
|
2606 lastVisualGearByUID := nil; |
2603 lastVisualGearByUID := nil; |
2607 lastGearByUID := nil; |
2604 lastGearByUID := nil; |
2608 cReadyDelay := 5000; |
2605 cReadyDelay := 5000; |
2609 Pathz := cPathz; |
|
2610 |
2606 |
2611 {* REFERENCE |
2607 {* REFERENCE |
2612 4096 -> $FFFFF000 |
2608 4096 -> $FFFFF000 |
2613 2048 -> $FFFFF800 |
2609 2048 -> $FFFFF800 |
2614 1024 -> $FFFFFC00 |
2610 1024 -> $FFFFFC00 |