297 const int OBJECTMAXPART = 40;
298 const int MAXCRASHSPHERE = 40;
299 const int OBJECTMAXDESELLIST = 10;
300 const int OBJECTMAXINFO = 10;
301 const int OBJECTMAXCMDLINE = 20;
365 FILTER_ONLYLANDING = 1,
366 FILTER_ONLYFLYING = 2,
378 void DeleteObject(
bool bAll=
false);
380 bool ExploObject(ExploType type,
float force,
float decay=1.0f);
382 bool EventProcess(
const Event &event);
383 void UpdateMapping();
386 void DeletePart(
int part);
387 void SetObjectRank(
int part,
int objRank);
388 int GetObjectRank(
int part);
389 void SetObjectParent(
int part,
int parent);
393 void SetOption(
int option);
399 bool Write(
char *line);
400 bool Read(
char *line);
402 void SetDrawWorld(
bool bDraw);
403 void SetDrawFront(
bool bDraw);
405 bool CreateVehicle(
Math::Vector pos,
float angle,
ObjectType type,
float power,
bool bTrainer,
bool bToy);
420 bool ReadProgram(
int rank,
const char* filename);
421 bool WriteProgram(
int rank,
char* filename);
422 bool RunProgram(
int rank);
424 int GetShadowLight();
425 int GetEffectLight();
427 void FlushCrashShere();
428 int CreateCrashSphere(
Math::Vector pos,
float radius,
Sound sound,
float hardness=0.45f);
429 int GetCrashSphereTotal();
430 bool GetCrashSphere(
int rank,
Math::Vector &pos,
float &radius);
431 float GetCrashSphereHardness(
int rank);
432 Sound GetCrashSphereSound(
int rank);
433 void DeleteCrashSphere(
int rank);
438 void SetShieldRadius(
float radius);
439 float GetShieldRadius();
441 void SetFloorHeight(
float height);
455 void SetAngleY(
int part,
float angle);
456 void SetAngleX(
int part,
float angle);
457 void SetAngleZ(
int part,
float angle);
458 float GetAngleY(
int part);
459 float GetAngleX(
int part);
460 float GetAngleZ(
int part);
461 void SetZoom(
int part,
float zoom);
464 void SetZoomX(
int part,
float zoom);
465 float GetZoomX(
int part);
466 void SetZoomY(
int part,
float zoom);
467 float GetZoomY(
int part);
468 void SetZoomZ(
int part,
float zoom);
469 float GetZoomZ(
int part);
471 float GetWaterLevel();
473 void SetTrainer(
bool bEnable);
476 void SetToy(
bool bEnable);
479 void SetManual(
bool bManual);
482 void SetResetCap(ResetCap cap);
483 ResetCap GetResetCap();
484 void SetResetBusy(
bool bBusy);
490 void SetResetRun(
int run);
493 void SetMasterParticle(
int part,
int parti);
494 int GetMasterParticle(
int part);
502 void SetTruckPart(
int part);
506 void DeleteInfo(
int rank);
507 void SetInfo(
int rank,
Info info);
508 Info GetInfo(
int rank);
510 void SetInfoReturn(
float value);
511 float GetInfoReturn();
512 void SetInfoUpdate(
bool bUpdate);
513 bool GetInfoUpdate();
515 bool SetCmdLine(
int rank,
float value);
516 float GetCmdLine(
int rank);
523 void SetViewFromHere(
Math::Vector &eye,
float &dirH,
float &dirV,
533 void SetEnergy(
float level);
536 void SetCapacity(
float capacity);
539 void SetShield(
float level);
542 void SetRange(
float delay);
545 void SetTransparency(
float value);
546 float GetTransparency();
548 ObjectMaterial GetMaterial();
550 void SetGadget(
bool bMode);
553 void SetFixed(
bool bFixed);
556 void SetClip(
bool bClip);
559 bool JostleObject(
float force);
561 void StartDetectEffect(
CObject *target,
bool bFound);
563 void SetVirusMode(
bool bEnable);
565 float GetVirusTime();
569 void SetCameraDist(
float dist);
570 float GetCameraDist();
571 void SetCameraLock(
bool bLock);
572 bool GetCameraLock();
574 void SetHilite(
bool bMode);
577 void SetSelect(
bool bMode,
bool bDisplayError=
true);
578 bool GetSelect(
bool bReal=
false);
580 void SetSelectable(
bool bMode);
581 bool GetSelectable();
583 void SetActivity(
bool bMode);
586 void SetVisible(
bool bVisible);
589 void SetEnable(
bool bEnable);
592 void SetCheckToken(
bool bMode);
593 bool GetCheckToken();
595 void SetProxyActivate(
bool bActivate);
596 bool GetProxyActivate();
597 void SetProxyDistance(
float distance);
598 float GetProxyDistance();
600 void SetMagnifyDamage(
float factor);
601 float GetMagnifyDamage();
603 void SetParam(
float value);
606 void SetExplo(
bool bExplo);
608 void SetLock(
bool bLock);
610 void SetCargo(
bool bCargo);
612 void SetBurn(
bool bBurn);
614 void SetDead(
bool bDead);
619 void SetGunGoalV(
float gunGoal);
620 void SetGunGoalH(
float gunGoal);
624 bool StartShowLimit();
625 void StopShowLimit();
628 void CreateSelectParticle();
630 void SetRunScript(
CScript* script);
637 void SetAuto(
CAuto* automat);
639 void SetDefRank(
int rank);
642 bool GetTooltipName(
char* name);
644 void AddDeselList(
CObject* pObj);
646 void DeleteDeselList(
CObject* pObj);
649 bool CreateShadowLight(
float height,
Gfx::Color color);
650 bool CreateEffectLight(
float height,
Gfx::Color color);
655 void SetTraceDown(
bool bDown);
657 void SetTraceColor(
int color);
658 float GetTraceWidth();
659 void SetTraceWidth(
float width);
661 std::string GetModelDirName();
664 bool EventFrame(
const Event &event);
665 void VirusFrame(
float rTime);
666 void PartiFrame(
float rTime);
668 void InitPart(
int part);
669 void UpdateTotalPart();
670 int SearchDescendant(
int parent,
int n);
671 void UpdateEnergyMapping();
672 bool UpdateTransformObject(
int part,
bool bForceUpdate);
673 bool UpdateTransformObject();
674 void UpdateSelectParticle();
700 float m_shadowHeight;
702 float m_effectHeight;
715 float m_transparency;
721 float m_lastVirusParticle;
722 float m_lastParticle;
729 bool m_bProxyActivate;
743 float m_showLimitRadius;
750 float m_magnifyDamage;
751 float m_proxyDistance;
754 int m_crashSphereUsed;
756 float m_crashSphereRadius[MAXCRASHSPHERE];
757 float m_crashSphereHardness[MAXCRASHSPHERE];
758 Sound m_crashSphereSound[MAXCRASHSPHERE];
760 float m_globalSphereRadius;
762 float m_jotlerSphereRadius;
763 float m_shieldRadius;
768 int m_totalDesectList;
769 CObject* m_objectDeselectList[OBJECTMAXDESELLIST];
780 Info m_info[OBJECTMAXINFO];
784 float m_cmdLine[OBJECTMAXCMDLINE];
< fireworks
Definition: object.h:96
< normal battery
Definition: object.h:78
< fly-trainer
Definition: object.h:131
< wheel-search
Definition: object.h:145
< ruin 1
Definition: object.h:181
Normal shadow.
Definition: engine.h:332
< seaweed 2
Definition: object.h:266
< mark underground key
Definition: object.h:91
< ruin 5
Definition: object.h:188
< roller-recover
Definition: object.h:151
< fly-arm
Definition: object.h:135
< plant 5
Definition: object.h:104
< plant 2
Definition: object.h:101
CameraType
Type of camera.
Definition: camera.h:42
< mushroom 8
Definition: object.h:282
< crystal 5
Definition: object.h:249
< plant 15
Definition: object.h:114
< technician
Definition: object.h:169
< track-search
Definition: object.h:146
< radar
Definition: object.h:61
< toy
Definition: object.h:198
< metal
Definition: object.h:77
< toy
Definition: object.h:211
< plant 6
Definition: object.h:105
< recharging station
Definition: object.h:55
< lightning conductor
Definition: object.h:68
< finish
Definition: object.h:66
< worm
Definition: object.h:180
< barrier
Definition: object.h:173
< toy
Definition: object.h:240
< mushroom 3
Definition: object.h:277
Main graphics engine - CEngine class.
< plant 12
Definition: object.h:111
< ruin 2
Definition: object.h:183
< toy
Definition: object.h:241
< key d
Definition: object.h:166
< apollo module
Definition: object.h:287
< toy
Definition: object.h:202
< ruin 7
Definition: object.h:190
< tree 1
Definition: object.h:120
< stone
Definition: object.h:75
< defense tower
Definition: object.h:58
< wheel-insect-cannon
Definition: object.h:141
< mission controller
Definition: object.h:156
< toy
Definition: object.h:236
< track-insect-cannon
Definition: object.h:142
< wheel-arm
Definition: object.h:133
< ruin 6
Definition: object.h:189
< toy
Definition: object.h:226
< plastic waste
Definition: object.h:86
< toy
Definition: object.h:234
< bomb
Definition: object.h:95
< control centre
Definition: object.h:72
< toy
Definition: object.h:233
< root 5
Definition: object.h:259
Camera handling - CCamera class.
< safe
Definition: object.h:71
< toy
Definition: object.h:223
< home 1
Definition: object.h:290
< bee
Definition: object.h:179
< stationary scenery
Definition: object.h:50
< toy
Definition: object.h:196
< key c
Definition: object.h:165
< tree 2
Definition: object.h:121
4x4 matrix
Definition: matrix.h:63
< plant 16
Definition: object.h:115
< nest
Definition: object.h:59
< training target
Definition: object.h:154
< destroyer
Definition: object.h:73
< ruin 1
Definition: object.h:182
< ruin 3
Definition: object.h:186
< ruin 10
Definition: object.h:193
< toy
Definition: object.h:201
< crystal 0
Definition: object.h:244
< toy
Definition: object.h:195
< toy
Definition: object.h:231
< toy
Definition: object.h:194
< apollo flag
Definition: object.h:286
< root 0
Definition: object.h:254
< insect-cannon
Definition: object.h:140
< seaweed 0
Definition: object.h:264
< plant 3
Definition: object.h:102
< toy
Definition: object.h:204
< seaweed 7
Definition: object.h:271
< plant 14
Definition: object.h:113
< crystal 4
Definition: object.h:248
< seaweed 5
Definition: object.h:269
< plant 7
Definition: object.h:106
< ant
Definition: object.h:177
< metal waste
Definition: object.h:84
< toy
Definition: object.h:224
< plant 11
Definition: object.h:110
< information terminal
Definition: object.h:67
< uranium
Definition: object.h:76
< track-arm
Definition: object.h:134
< roller-canon
Definition: object.h:150
Manager for dynamic lights in 3D scene.
Definition: lightman.h:142
< apollo jeep
Definition: object.h:285
< ruin 4
Definition: object.h:187
< blue flag
Definition: object.h:158
< apollo antenna
Definition: object.h:288
< energy factory
Definition: object.h:62
< shows a place
Definition: object.h:97
< insect-search
Definition: object.h:148
< barrier
Definition: object.h:172
< atomic battery
Definition: object.h:79
< mushroom 4
Definition: object.h:278
< toy
Definition: object.h:217
< toy
Definition: object.h:205
< metal waste
Definition: object.h:83
< toy
Definition: object.h:216
Definition: robotmain.h:191
< toy
Definition: object.h:232
< converter station
Definition: object.h:56
< toy
Definition: object.h:209
< crystal 2
Definition: object.h:246
< seaweed 4
Definition: object.h:268
< toy
Definition: object.h:214
Particle engine.
Definition: particle.h:266
< toy
Definition: object.h:243
< starting
Definition: object.h:65
< toy
Definition: object.h:230
< toy
Definition: object.h:225
< root 7
Definition: object.h:261
< tree 0
Definition: object.h:119
< wheel-cannon
Definition: object.h:137
< insect-arm
Definition: object.h:136
< toy
Definition: object.h:242
< toto
Definition: object.h:168
< toy
Definition: object.h:197
< ruin 3
Definition: object.h:185
< survival bag
Definition: object.h:98
ObjectType
Type of game object.
Definition: object.h:46
< toy
Definition: object.h:237
< derrick set
Definition: object.h:53
< plant 13
Definition: object.h:112
< plant 0
Definition: object.h:99
< bullet
Definition: object.h:80
< toy
Definition: object.h:219
< toy
Definition: object.h:206
< submarine
Definition: object.h:153
< red flag
Definition: object.h:159
< toy
Definition: object.h:208
< toy
Definition: object.h:207
< great main base
Definition: object.h:52
< toy
Definition: object.h:203
< toy
Definition: object.h:222
< mark underground ore
Definition: object.h:89
< crystal 7
Definition: object.h:251
< fly-insect-cannon
Definition: object.h:143
< mushroom 5
Definition: object.h:279
< mushroom 0
Definition: object.h:274
< tree 3
Definition: object.h:122
< track-cannon
Definition: object.h:138
Main application.
Definition: app.h:200
< tree 4
Definition: object.h:123
< seaweed 9
Definition: object.h:273
< plant 1
Definition: object.h:100
< plant 10
Definition: object.h:109
< toy
Definition: object.h:199
Camera moving in 3D scene.
Definition: camera.h:130
Sound
Sound enum representing sound file.
Definition: sound.h:42
< plant 19
Definition: object.h:118
< mushroom 6
Definition: object.h:280
< transportable
Definition: object.h:74
< ruin 9
Definition: object.h:192
< object destroyed
Definition: object.h:49
< gate target
Definition: object.h:69
< plant 4
Definition: object.h:103
Terrain loader/generator and manager.
Definition: terrain.h:220
< plant 17
Definition: object.h:116
< seaweed 1
Definition: object.h:265
< barrier
Definition: object.h:174
< barrier
Definition: object.h:170
< ruin 2
Definition: object.h:184
< metal waste
Definition: object.h:85
< root 1
Definition: object.h:255
< nuclear power plant
Definition: object.h:64
< tree 9
Definition: object.h:128
The graphics engine.
Definition: engine.h:681
< plant 8
Definition: object.h:107
< mark underground key
Definition: object.h:93
< crystal 9
Definition: object.h:253
< center target
Definition: object.h:70
< mushroom 9
Definition: object.h:283
< seaweed 3
Definition: object.h:267
< tree 5
Definition: object.h:124
< toy
Definition: object.h:221
< tree 8
Definition: object.h:127
< root 9
Definition: object.h:263
< black-box
Definition: object.h:81
< mark underground key
Definition: object.h:92
< plastic waste
Definition: object.h:87
< mushroom 7
Definition: object.h:281
< crystal 1
Definition: object.h:245
< insect-insect-cannon
Definition: object.h:144
< fly-search
Definition: object.h:147
Water manager/renderer.
Definition: water.h:116
< plant 18
Definition: object.h:117
< root 8
Definition: object.h:262
< barrier
Definition: object.h:171
< toy
Definition: object.h:212
< insect queen
Definition: object.h:175
< mark underground uranium
Definition: object.h:90
3D (3x1) vector
Definition: vector.h:49
< mushroom 1
Definition: object.h:275
Definition: CBotDll.h:558
EngineShadowType
Definition: engine.h:329
< human
Definition: object.h:167
< key a
Definition: object.h:163
< tree 6
Definition: object.h:125
< plant 9
Definition: object.h:108
< waypoint
Definition: object.h:157
< fly-cannon
Definition: object.h:139
< mark underground key
Definition: object.h:94
< crystal 3
Definition: object.h:247
< research center
Definition: object.h:60
< seaweed 6
Definition: object.h:270
< root 3
Definition: object.h:257
< root 4
Definition: object.h:258
< box of TNT
Definition: object.h:82
< toy
Definition: object.h:218
< mark underground energy source
Definition: object.h:88
RGBA color.
Definition: color.h:35
< crystal 8
Definition: object.h:252
< root 6
Definition: object.h:260
< yellow flag
Definition: object.h:161
< mushroom 2
Definition: object.h:276
< violet flag
Definition: object.h:162
< crystal 6
Definition: object.h:250
< root 2
Definition: object.h:256
< toy
Definition: object.h:229
< tree 7
Definition: object.h:126
< toy
Definition: object.h:235
< reparation
Definition: object.h:57
< robot drawing
Definition: object.h:155
Event sent by system, interface or game.
Definition: event.h:687
< toy
Definition: object.h:215
< roller-shield
Definition: object.h:152
< track-trainer
Definition: object.h:130
< green flag
Definition: object.h:160
< toy
Definition: object.h:228
< toy
Definition: object.h:210
< wheel-trainer
Definition: object.h:129
< toy
Definition: object.h:200
< ruin 8
Definition: object.h:191
< gantry
Definition: object.h:51
< egg
Definition: object.h:176
< toy
Definition: object.h:238
< key b
Definition: object.h:164
< insect-trainer
Definition: object.h:132
Sound plugin interface.
Definition: sound.h:149
< toy
Definition: object.h:220
< roller-terraform
Definition: object.h:149
< toy
Definition: object.h:213
< analytical laboratory for insect
Definition: object.h:63
< apollo lem
Definition: object.h:284
< toy
Definition: object.h:227
< toy
Definition: object.h:239
< spider
Definition: object.h:178
< seaweed 8
Definition: object.h:272
< factory set
Definition: object.h:54