-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.hc
117 lines (94 loc) · 2.79 KB
/
test.hc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#include "win.h"
#include "cmap.h"
#include "masks.h"
#include "player.h"
#include "craft_def.h"
#include "object_handler.h"
#include "land.h"
#include "xstring.h"
#include "setupedit.h"
#include "dial.h"
#include "scroller.h"
#include "buttons.h"
#include "ship.h"
#include "option_menu.h"
#include "xtimer.h"
double robo_power;
double robo_agress;
int overall_money;
int q_step;
int min_rland_dx;
int min_rland_dy;
int max_rland_dx;
int max_rland_dy;
int speed_stag;
int speed_worker;
int speed_trader;
int speed_knight;
int speed_pawn;
int speed_scout;
int speed_archer;
int speed_home;
int speed_farm;
int speed_farm_exec;
int speed_zombi;
int speed_schrott;
int speed_swim;
int speed_water;
int speed_hit;
int speed_building_zombi;
int speed_archer_hit;
int speed_cata;
int speed_cata_load;
int speed_explosion;
int speed_doktor;
int speed_doktor_hit;
int speed_general;
int speed_trap;
int speed_arrow;
int speed_stone;
int speed_ship1;
int speed_ship2;
int speed_ship_zombi;
char land_name [128];
int ilid [max_land_dx][max_land_dy];
int landscape [max_land_dx][max_land_dy];
int landhight [max_land_dx][max_land_dy];
int landpic [max_land_dx][max_land_dy];
int landoverlay [max_land_dx][max_land_dy][2];
int landscape_dx;
int landscape_dy;
int landscale;
int unit [max_land_dx][max_land_dy];
int upic [max_land_dx][max_land_dy][8];
int color_player [max_cols];
int player_color [max_players];
bool paused [max_players];
double p_speed [max_players];
char p_name [max_players][128];
int num_paused;
int full_time;
int rest_time;
int ticker;
bool is_battle;
bool is_self;
bool is_suny;
bool is_water_world;
land_prop land_properties [max_land_types];
object_handler *objects;
player *players [max_players];
int num_players;
char host [max_players][128];
char name [max_players][128];
double speed [max_players];
main (int num_params, char *shell_params [])
{win *w1;
win *w2;
w1 = new win ("lala", "", 10, 10, 600, 600);
w2 = new win (w1, "kkk", "", 10, 10, 50, 50);
w2->write (10, 10, "lala");
ack();
delete (w2);
ack ();
delete (w1);
}