OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Control.h File Reference
Include dependency graph for C4Control.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4ControlPacket
 
class  C4Control
 
class  C4ControlSet
 
class  C4ControlScript
 
class  C4ControlMsgBoardReply
 
class  C4ControlMsgBoardCmd
 
class  C4ControlPlayerSelect
 
class  C4ControlPlayerControl
 
struct  C4ControlPlayerControl::ControlItem
 
class  C4ControlPlayerMouse
 
class  C4ControlMenuCommand
 
class  C4ControlPlayerAction
 
class  C4ControlSyncCheck
 
class  C4ControlSynchronize
 
class  C4ControlClientJoin
 
class  C4ControlClientUpdate
 
class  C4ControlClientRemove
 
class  C4ControlPlayerInfo
 
struct  C4ControlJoinPlayer
 
class  C4ControlEMMoveObject
 
class  C4ControlEMDrawTool
 
class  C4ControlMessage
 
class  C4ControlRemovePlr
 
class  C4ControlDebugRec
 
class  C4ControlVote
 
class  C4ControlVoteEnd
 
struct  C4ControlReInitScenario
 
class  C4ControlEditGraph
 

Macros

#define DECLARE_C4CONTROL_VIRTUALS
 

Enumerations

enum  C4CtrlValueType {
  C4CVT_None = -1, C4CVT_ControlRate = 0, C4CVT_DisableDebug = 1, C4CVT_MaxPlayer = 2,
  C4CVT_TeamDistribution = 3, C4CVT_TeamColors = 4
}
 
enum  C4ControlClientUpdType { CUT_None = -1, CUT_Activate = 0, CUT_SetObserver = 1, CUT_SetReady = 2 }
 
enum  C4ControlEMObjectAction {
  EMMO_Move, EMMO_MoveForced, EMMO_Enter, EMMO_Duplicate,
  EMMO_Script, EMMO_Remove, EMMO_Exit, EMMO_Create,
  EMMO_Transform
}
 
enum  C4ControlEMDrawAction {
  EMDT_SetMode, EMDT_Brush, EMDT_Fill, EMDT_Line,
  EMDT_Rect
}
 
enum  C4ControlMessageType {
  C4CMT_Normal = 0, C4CMT_Me = 1, C4CMT_Say = 2, C4CMT_Team = 3,
  C4CMT_Private = 4, C4CMT_Sound = 5, C4CMT_Alert = 6, C4CMT_System = 10
}
 
enum  C4ControlVoteType { VT_None = -1, VT_Cancel, VT_Kick, VT_Pause }
 

Macro Definition Documentation

#define DECLARE_C4CONTROL_VIRTUALS
Value:
virtual void Execute() const; \
virtual void CompileFunc(StdCompiler *pComp);
void CompileFunc(C4Real &rValue, StdCompiler *pComp)
Definition: C4Real.cpp:9033

Definition at line 60 of file C4Control.h.

Enumeration Type Documentation

Enumerator
CUT_None 
CUT_Activate 
CUT_SetObserver 
CUT_SetReady 

Definition at line 371 of file C4Control.h.

Enumerator
EMDT_SetMode 
EMDT_Brush 
EMDT_Fill 
EMDT_Line 
EMDT_Rect 

Definition at line 482 of file C4Control.h.

483 {
484  EMDT_SetMode, // set new landscape mode
485  EMDT_Brush, // drawing tool
486  EMDT_Fill, // drawing tool
487  EMDT_Line, // drawing tool
488  EMDT_Rect // drawing tool
489 };
Enumerator
EMMO_Move 
EMMO_MoveForced 
EMMO_Enter 
EMMO_Duplicate 
EMMO_Script 
EMMO_Remove 
EMMO_Exit 
EMMO_Create 
EMMO_Transform 

Definition at line 447 of file C4Control.h.

448 {
449  EMMO_Move, // move objects by offset
450  EMMO_MoveForced,// move objects by offset and ignore HorizontalFixed
451  EMMO_Enter, // enter objects into iTargetObj
452  EMMO_Duplicate, // duplicate objects at same position; reset EditCursor
453  EMMO_Script, // execute Script
454  EMMO_Remove, // remove objects
455  EMMO_Exit, // exit objects
456  EMMO_Create, // create a new object (used by C4Game::DropDef)
457  EMMO_Transform // adjust rotation / con of selected object
458 };
Enumerator
C4CMT_Normal 
C4CMT_Me 
C4CMT_Say 
C4CMT_Team 
C4CMT_Private 
C4CMT_Sound 
C4CMT_Alert 
C4CMT_System 

Definition at line 512 of file C4Control.h.

513 {
514  C4CMT_Normal = 0,
515  C4CMT_Me = 1,
516  C4CMT_Say = 2,
517  C4CMT_Team = 3,
518  C4CMT_Private = 4,
519  C4CMT_Sound = 5, // "message" is played as a sound instead
520  C4CMT_Alert = 6, // no message. just flash taskbar for inactive clients.
521  C4CMT_System = 10
522 };
Enumerator
VT_None 
VT_Cancel 
VT_Kick 
VT_Pause 

Definition at line 569 of file C4Control.h.

570 {
571  VT_None = -1,
572  VT_Cancel,
573  VT_Kick,
574  VT_Pause
575 };
Enumerator
C4CVT_None 
C4CVT_ControlRate 
C4CVT_DisableDebug 
C4CVT_MaxPlayer 
C4CVT_TeamDistribution 
C4CVT_TeamColors 

Definition at line 100 of file C4Control.h.