// September 2015 // Levee Patroller / Dijk Patrouille // This source file is (c) by Deltares. This source file is open source but only available to select users. Do not redistribute without written permission of Stichting Deltares, Delft, The Netherlands. // This header has been automatically generated. //============================================================================= // GeoMapDetails // // Details for in game maps. Should be updated for each map. // // ------------------------------------------------------------ // Created by Rui Guimaraes // © 2006, Geodelft // // Date Id Modification // 2007-02-11 gui Created // 2007-06-10 gui Maps sizes can now be editable individually in GeoMapDetails //============================================================================= class GeoMapDetails extends Object; const MAX_LEVELS = 6; struct MapInfo{ var float MapHeight; var float MapWidth; var float MapCenterX; var float MapCenterY; } ; var MapInfo GameMaps[MAX_LEVELS]; function float GetHeight(int Map) { return GameMaps[Map].MapHeight; } function float GetWidth(int Map) { return GameMaps[Map].MapWidth; } function float GetCenterX(int Map) { return GameMaps[Map].MapCenterX; } function float GetCenterY(int Map) { return GameMaps[Map].MapCenterY; } defaultproperties { /* Note: Divide by 2 of total size */ /* LEVEL 0 FOR TRAINING MAP */ GameMaps[0]=(MapHeight=2424,MapWidth=3074,MapCenterX=16732,MapCenterY=-10245) GameMaps[1]=(MapHeight=19000,MapWidth=25000,MapCenterX=0,MapCenterY=0) GameMaps[2]=(MapHeight=19000,MapWidth=25000,MapCenterX=0,MapCenterY=0) GameMaps[3]=(MapHeight=0,MapWidth=0,MapCenterX=0,MapCenterY=0) GameMaps[4]=(MapHeight=25000,MapWidth=19000,MapCenterX=0,MapCenterY=0) GameMaps[5]=(MapHeight=0,MapWidth=0,MapCenterX=0,MapCenterY=0) }