-
Notifications
You must be signed in to change notification settings - Fork 0
/
Commands.h
41 lines (35 loc) · 1.09 KB
/
Commands.h
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
//---------------------------------------------------------------------------
#ifndef CommandsH
#define CommandsH
#include "SceneLib.h"
typedef struct {
byte Id;
short x1, y1, z1, x2, y2, z2;
int Data;
char Text[201];
short cx1, cy1, cx2, cy2;
} TCommand;
//---------------------------------------------------------------------------
void TestConnection();
bool IsConnected();
void close3rdParty();
void BackwardConnection(void *handle);
void reloadGrid(int sceneIdx);
void SendBeginUpdate();
void SendEndUpdate();
void SetTrackCommand(TTrack Track);
void DelTrackCommand(TTrack Track);
void DelTrackCommandByNumbers(int num);
void DelAllTracksCommand();
void SelectTrackCommand(int num);
void SetZoneCommand(TZone Zone,int numZone);
void DelZoneCommand(int numZone);
void DelAllZonesCommand();
void SelectZoneCommand(int numZone);
void SetActorCommand(TActor Actor,int numActor);
void DelActorCommand(int numActor);
void DelAllActorsCommand();
void SetHeroCommand(THero Hero);
void DelHeroCommand();
void SelectActorCommand(int numActor);
#endif