mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-23 21:12:16 +00:00
5af879678c
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@69 67975925-1194-0748-b3d5-c16f83f1a3a1
31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
// director_cmds.h
|
|
// sub commands for svc_director
|
|
|
|
#define DRC_ACTIVE 0 // tells client that he's an spectator and will get director command
|
|
#define DRC_STATUS 1 // send status infos about proxy
|
|
#define DRC_CAMERA 2 // set the actual director camera position
|
|
#define DRC_EVENT 3 // informs the dircetor about ann important game event
|
|
|
|
|
|
#define DRC_FLAG_PRIO_MASK 0x0F // priorities between 0 and 15 (15 most important)
|
|
#define DRC_FLAG_SIDE (1<<4)
|
|
#define DRC_FLAG_DRAMATIC (1<<5)
|
|
|
|
|
|
|
|
// commands of the director API function CallDirectorProc(...)
|
|
|
|
#define DRCAPI_NOP 0 // no operation
|
|
#define DRCAPI_ACTIVE 1 // de/acivates director mode in engine
|
|
#define DRCAPI_STATUS 2 // request proxy information
|
|
#define DRCAPI_SETCAM 3 // set camera n to given position and angle
|
|
#define DRCAPI_GETCAM 4 // request camera n position and angle
|
|
#define DRCAPI_DIRPLAY 5 // set director time and play with normal speed
|
|
#define DRCAPI_DIRFREEZE 6 // freeze directo at this time
|
|
#define DRCAPI_SETVIEWMODE 7 // overview or 4 cameras
|
|
#define DRCAPI_SETOVERVIEWPARAMS 8 // sets parameter for overview mode
|
|
#define DRCAPI_SETFOCUS 9 // set the camera which has the input focus
|
|
#define DRCAPI_GETTARGETS 10 // queries engine for player list
|
|
#define DRCAPI_SETVIEWPOINTS 11 // gives engine all waypoints
|
|
|
|
|