Debian Codegraph @

src/map.h

raw symbols SCIP
1 #cxx . . $ `<file>/src/map.h`/ifndef MAP_HEADER_FILE__
2 #define MAP_HEADER_FILE__cxx . . $ `src/map.h:2:9`!
3
4 /*
5 This file contains definitions for dealing with the depth of the
6 water and placing of thermal layers.
7 */
8
9 #ifndef TRUE
10 #define TRUEcxx . . $ `src/map.h:10:9`! 1
11 #endif
12 #ifndef FALSE
13 #define FALSEcxx . . $ `src/map.h:13:9`! 0
14 #endif
15
16 #define MAX_DEPTHcxx . . $ `src/map.h:16:9`! 5000 // deepest part of the ocean
17 #define MIN_DEPTHcxx . . $ `src/map.h:17:9`! 0 // most shallow point of the ocean
18 #define MAX_THERMALScxx . . $ `src/map.h:18:9`! 3
19 #define MAX_THERMAL_DEPTHcxx . . $ `src/map.h:19:9`! 900
20 #define THERMAL_FILTERcxx . . $ `src/map.h:20:9`! 0.15
21
22 // MAP_MIN and MAP_MAX are also defined in the coord class
23 #ifndef MAP_MIN
24 #define MAP_MINcxx . . $ `src/map.h:24:9`! 0
25 #endif
26 #ifndef MAP_MAX
27 #define MAP_MAXcxx . . $ `src/map.h:27:9`! 300000
28 #endif
29
30 class MAPcxx . . $ MAP#
31 {
32 public:
33 int thermalscxx . . $ MAP#thermals.[MAX_THERMALScxx . . $ `src/map.h:18:9`!];
34
35 MAPcxx . . $ MAP#MAP(49f6e7a06ebc5aa8).();
36 ~cxx . . $ MAP#`~MAP`(ced63f7c635d850d).MAPcxx . . $ MAP#();
37 int Initcxx . . $ MAP#Init(b126dc7c1de90089).();
38 int Create_Thermal_Layerscxx . . $ MAP#Create_Thermal_Layers(7864480464b09eea).(int how_many);
39
40 int Get_Ocean_Depthcxx . . $ MAP#Get_Ocean_Depth(9b79fb6aee4c0440).(int x, int y);
41 int Thermals_Betweencxx . . $ MAP#Thermals_Between(9b79fb6aee4c0440).(int depth_1, int depth_2);
42 int Next_Upcxx . . $ MAP#Next_Up(7864480464b09eea).(int current_depth); // find thermal from our position
43 int Next_Downcxx . . $ MAP#Next_Down(7864480464b09eea).(int current_depth); // find thermal from our position
44
45 #ifdef DEBUGMAP
46 void Test_Map();
47 #endif
48
49 };
50
51
52
53 #endif
54