264 const int OBJECTMAXPART = 40;
265 const int MAXCRASHSPHERE = 40;
266 const int OBJECTMAXDESELLIST = 10;
267 const int OBJECTMAXINFO = 10;
268 const int OBJECTMAXCMDLINE = 20;
350 FILTER_ONLYLANDING = 1,
351 FILTER_ONLYFLYING = 2,
363 void DeleteObject(
bool bAll=
false);
365 bool ExploObject(ExploType type,
float force,
float decay=1.0f);
367 bool EventProcess(
const Event &event);
368 void UpdateMapping();
371 void DeletePart(
int part);
372 void SetObjectRank(
int part,
int objRank);
373 int GetObjectRank(
int part);
374 void SetObjectParent(
int part,
int parent);
378 void SetOption(
int option);
387 void SetDrawWorld(
bool bDraw);
388 void SetDrawFront(
bool bDraw);
390 bool CreateVehicle(
Math::Vector pos,
float angle,
ObjectType type,
float power,
bool bTrainer,
bool bToy);
405 bool ReadProgram(
Program* program,
const char* filename);
406 bool WriteProgram(
Program* program,
char* filename);
408 int GetShadowLight();
409 int GetEffectLight();
411 void FlushCrashShere();
412 int CreateCrashSphere(
Math::Vector pos,
float radius,
Sound sound,
float hardness=0.45f);
413 int GetCrashSphereTotal();
414 bool GetCrashSphere(
int rank,
Math::Vector &pos,
float &radius);
415 float GetCrashSphereHardness(
int rank);
416 Sound GetCrashSphereSound(
int rank);
417 void DeleteCrashSphere(
int rank);
422 void SetShieldRadius(
float radius);
423 float GetShieldRadius();
425 void SetFloorHeight(
float height);
439 void SetAngleY(
int part,
float angle);
440 void SetAngleX(
int part,
float angle);
441 void SetAngleZ(
int part,
float angle);
442 float GetAngleY(
int part);
443 float GetAngleX(
int part);
444 float GetAngleZ(
int part);
445 void SetZoom(
int part,
float zoom);
448 void SetZoomX(
int part,
float zoom);
449 float GetZoomX(
int part);
450 void SetZoomY(
int part,
float zoom);
451 float GetZoomY(
int part);
452 void SetZoomZ(
int part,
float zoom);
453 float GetZoomZ(
int part);
455 float GetWaterLevel();
457 void SetTrainer(
bool bEnable);
460 void SetToy(
bool bEnable);
463 void SetManual(
bool bManual);
466 void SetResetCap(ResetCap cap);
467 ResetCap GetResetCap();
468 void SetResetBusy(
bool bBusy);
474 void SetResetRun(
Program* run);
477 void SetMasterParticle(
int part,
int parti);
478 int GetMasterParticle(
int part);
486 void SetTruckPart(
int part);
490 void DeleteInfo(
int rank);
491 void SetInfo(
int rank,
Info info);
492 Info GetInfo(
int rank);
494 void SetInfoReturn(
float value);
495 float GetInfoReturn();
496 void SetInfoUpdate(
bool bUpdate);
497 bool GetInfoUpdate();
499 bool SetCmdLine(
int rank,
float value);
500 float GetCmdLine(
int rank);
507 void SetViewFromHere(
Math::Vector &eye,
float &dirH,
float &dirV,
517 void SetEnergy(
float level);
520 void SetCapacity(
float capacity);
523 void SetShield(
float level);
526 void SetRange(
float delay);
529 void SetTransparency(
float value);
530 float GetTransparency();
532 ObjectMaterial GetMaterial();
534 void SetGadget(
bool bMode);
537 void SetFixed(
bool bFixed);
540 void SetClip(
bool bClip);
543 bool JostleObject(
float force);
545 void StartDetectEffect(
CObject *target,
bool bFound);
547 void SetVirusMode(
bool bEnable);
549 float GetVirusTime();
553 void SetCameraDist(
float dist);
554 float GetCameraDist();
555 void SetCameraLock(
bool bLock);
556 bool GetCameraLock();
558 void SetHilite(
bool bMode);
561 void SetSelect(
bool bMode,
bool bDisplayError=
true);
562 bool GetSelect(
bool bReal=
false);
564 void SetSelectable(
bool bMode);
565 bool GetSelectable();
567 void SetActivity(
bool bMode);
570 void SetVisible(
bool bVisible);
573 void SetEnable(
bool bEnable);
576 void SetCheckToken(
bool bMode);
577 bool GetCheckToken();
579 void SetProxyActivate(
bool bActivate);
580 bool GetProxyActivate();
581 void SetProxyDistance(
float distance);
582 float GetProxyDistance();
584 void SetMagnifyDamage(
float factor);
585 float GetMagnifyDamage();
587 void SetParam(
float value);
590 void SetIgnoreBuildCheck(
bool bIgnoreBuildCheck);
591 bool GetIgnoreBuildCheck();
593 void SetExplo(
bool bExplo);
595 void SetLock(
bool bLock);
597 void SetCargo(
bool bCargo);
599 void SetBurn(
bool bBurn);
601 void SetDead(
bool bDead);
606 void SetGunGoalV(
float gunGoal);
607 void SetGunGoalH(
float gunGoal);
611 bool StartShowLimit();
612 void StopShowLimit();
615 void CreateSelectParticle();
617 void SetRunScript(
CScript* script);
624 void SetAuto(
CAuto* automat);
626 void SetDefRank(
int rank);
629 bool GetTooltipName(std::string& name);
631 void AddDeselList(
CObject* pObj);
633 void DeleteDeselList(
CObject* pObj);
636 bool CreateShadowLight(
float height,
Gfx::Color color);
637 bool CreateEffectLight(
float height,
Gfx::Color color);
642 void SetTraceDown(
bool bDown);
644 void SetTraceColor(
int color);
645 float GetTraceWidth();
646 void SetTraceWidth(
float width);
648 std::string GetModelDirName();
650 static DriveType GetDriveFromObject(
ObjectType type);
651 static ToolType GetToolFromObject(
ObjectType type);
654 bool EventFrame(
const Event &event);
655 void VirusFrame(
float rTime);
656 void PartiFrame(
float rTime);
658 void InitPart(
int part);
659 void UpdateTotalPart();
660 int SearchDescendant(
int parent,
int n);
661 void UpdateEnergyMapping();
662 bool UpdateTransformObject(
int part,
bool bForceUpdate);
663 bool UpdateTransformObject();
664 void UpdateSelectParticle();
690 float m_shadowHeight;
692 float m_effectHeight;
705 float m_transparency;
711 float m_lastVirusParticle;
712 float m_lastParticle;
719 bool m_bProxyActivate;
730 bool m_bIgnoreBuildCheck;
734 float m_showLimitRadius;
741 float m_magnifyDamage;
742 float m_proxyDistance;
745 int m_crashSphereUsed;
747 float m_crashSphereRadius[MAXCRASHSPHERE];
748 float m_crashSphereHardness[MAXCRASHSPHERE];
749 Sound m_crashSphereSound[MAXCRASHSPHERE];
751 float m_globalSphereRadius;
753 float m_jotlerSphereRadius;
754 float m_shieldRadius;
759 int m_totalDesectList;
760 CObject* m_objectDeselectList[OBJECTMAXDESELLIST];
771 Info m_info[OBJECTMAXINFO];
775 float m_cmdLine[OBJECTMAXCMDLINE];
< Firework
Definition: object.h:101
< PowerCell
Definition: object.h:83
< fly-trainer (unused)
Definition: object.h:132
< WheeledSniffer
Definition: object.h:146
< WreckBotw1
Definition: object.h:181
Normal shadow.
Definition: engine.h:335
< KeyASpot
Definition: object.h:96
< RuinDoor
Definition: object.h:188
< Recycler
Definition: object.h:152
< WingedGrabber
Definition: object.h:136
< Greenery5
Definition: object.h:109
< Greenery2
Definition: object.h:106
CameraType
Type of camera.
Definition: camera.h:45
< Greenery15
Definition: object.h:119
< Tech
Definition: object.h:170
< TrackedSniffer
Definition: object.h:147
< RadarStation
Definition: object.h:66
< Teen4
Definition: object.h:198
< Titanium
Definition: object.h:82
< Teen17
Definition: object.h:211
< Greenery6
Definition: object.h:110
< PowerStation
Definition: object.h:60
< PowerCaptor
Definition: object.h:73
< EndArea
Definition: object.h:71
< AlienWorm
Definition: object.h:180
Main graphics engine - CEngine class.
< Greenery12
Definition: object.h:116
< WreckBott1
Definition: object.h:183
< KeyD
Definition: object.h:167
< ApolloModule
Definition: object.h:254
< Teen8
Definition: object.h:202
< RuinRadar
Definition: object.h:190
< Tree1
Definition: object.h:125
< TitaniumOre
Definition: object.h:80
< DefenseTower
Definition: object.h:63
< WheeledOrgaShooter
Definition: object.h:142
< MissionController
Definition: object.h:157
< Teen42
Definition: object.h:236
< TrackedOrgaShooter
Definition: object.h:143
< WheeledGrabber
Definition: object.h:134
< RuinSupport
Definition: object.h:189
< Teen32
Definition: object.h:226
< Scrap4 (plastic)
Definition: object.h:91
< Teen40
Definition: object.h:234
< Mine
Definition: object.h:100
< Houston
Definition: object.h:77
< Teen39
Definition: object.h:233
Camera handling - CCamera class.
< Vault
Definition: object.h:76
< Teen29
Definition: object.h:223
< Home
Definition: object.h:257
< AlienWasp
Definition: object.h:179
< stationary scenery
Definition: object.h:55
< Teen2
Definition: object.h:196
< KeyC
Definition: object.h:166
< Tree2
Definition: object.h:126
4x4 matrix
Definition: matrix.h:66
< Greenery16
Definition: object.h:120
< AlienNest
Definition: object.h:64
< TargetBot
Definition: object.h:155
< Destroyer
Definition: object.h:78
< WreckBotw2
Definition: object.h:182
< WreckBotr2
Definition: object.h:186
< RuinHeadCamp
Definition: object.h:193
< Teen7
Definition: object.h:201
< Quartz0
Definition: object.h:239
< Teen1
Definition: object.h:195
< Teen37
Definition: object.h:231
< Teen0
Definition: object.h:194
< ApolloFlag
Definition: object.h:253
< MegaStalk0
Definition: object.h:243
< LeggedShooter
Definition: object.h:141
< Greenery3
Definition: object.h:107
< Teen10
Definition: object.h:204
< Greenery14
Definition: object.h:118
< Greenery7
Definition: object.h:111
< AlienAnt
Definition: object.h:177
< Scrap2 (metal)
Definition: object.h:89
< Teen30
Definition: object.h:224
< Greenery11
Definition: object.h:115
< ExchangePost
Definition: object.h:72
< UraniumOre
Definition: object.h:81
< TrackedGrabber
Definition: object.h:135
< PhazerShooter
Definition: object.h:151
Manager for dynamic lights in 3D scene.
Definition: lightman.h:144
< ApolloJeep
Definition: object.h:252
< RuinBotFactory
Definition: object.h:187
< BlueFlag
Definition: object.h:159
< ApolloAntenna
Definition: object.h:255
< PowerPlant
Definition: object.h:67
< arrow above object (Visit)
Definition: object.h:102
< LeggedSniffer
Definition: object.h:149
< Barrier2
Definition: object.h:173
Definition: parserline.h:33
< NuclearCell
Definition: object.h:84
< Teen23
Definition: object.h:217
< Teen11
Definition: object.h:205
< Scrap1 (metal)
Definition: object.h:88
< Teen22
Definition: object.h:216
Definition: robotmain.h:172
< Teen38
Definition: object.h:232
< Converter
Definition: object.h:61
< Teen15
Definition: object.h:209
< Quartz2
Definition: object.h:241
< Teen20
Definition: object.h:214
Particle engine.
Definition: particle.h:268
< Teen44
Definition: object.h:238
< StartArea
Definition: object.h:70
< Teen36
Definition: object.h:230
< Teen31
Definition: object.h:225
< Tree0
Definition: object.h:124
< WheeledShooter
Definition: object.h:138
< LeggedGrabber
Definition: object.h:137
< Robby (toto)
Definition: object.h:169
< Teen3
Definition: object.h:197
< WreckBotr1
Definition: object.h:185
< Bag
Definition: object.h:103
ObjectType
Type of game object.
Definition: object.h:51
< Teen43
Definition: object.h:237
< Derrick
Definition: object.h:58
< Greenery13
Definition: object.h:117
< Greenery0
Definition: object.h:104
< OrgaMatter
Definition: object.h:85
< Teen25
Definition: object.h:219
< Teen12
Definition: object.h:206
< Subber
Definition: object.h:154
< RedFlag
Definition: object.h:160
< Teen14
Definition: object.h:208
< Teen13
Definition: object.h:207
< SpaceShip
Definition: object.h:57
< Teen9
Definition: object.h:203
< Teen28
Definition: object.h:222
< TitaniumSpot
Definition: object.h:94
< WingedOrgaShooter
Definition: object.h:144
< MegaStalk5
Definition: object.h:248
< Tree3
Definition: object.h:127
< TrackedShooter
Definition: object.h:139
Main application.
Definition: app.h:187
< Tree4
Definition: object.h:128
< Greenery1
Definition: object.h:105
< Greenery10
Definition: object.h:114
< Teen5
Definition: object.h:199
Camera moving in 3D scene.
Definition: camera.h:133
Sound
Sound enum representing sound file.
Definition: sound.h:44
< Greenery19
Definition: object.h:123
< transportable (unused)
Definition: object.h:79
< RuinBaseCamp
Definition: object.h:192
< object destroyed
Definition: object.h:54
< Target1 (gate)
Definition: object.h:74
< Greenery4
Definition: object.h:108
Terrain loader/generator and manager.
Definition: terrain.h:222
< Greenery17
Definition: object.h:121
< Barrier3
Definition: object.h:174
< Barrier0
Definition: object.h:171
< WreckBott2
Definition: object.h:184
< Scrap3 (metal)
Definition: object.h:90
< MegaStalk1
Definition: object.h:244
< NuclearPlant
Definition: object.h:69
< Tree5
Definition: object.h:129
The graphics engine.
Definition: engine.h:684
< Greenery8
Definition: object.h:112
< KeyCSpot
Definition: object.h:98
< Quartz3
Definition: object.h:242
< Target2 (center)
Definition: object.h:75
< Mushroom2
Definition: object.h:250
< Teen27
Definition: object.h:221
< BlackBox
Definition: object.h:86
< KeyBSpot
Definition: object.h:97
< Scrap5 (plastic)
Definition: object.h:92
< Quartz1
Definition: object.h:240
< LeggedOrgaShooter
Definition: object.h:145
< WingedSniffer
Definition: object.h:148
Water manager/renderer.
Definition: water.h:118
< Greenery18
Definition: object.h:122
< Barrier1
Definition: object.h:172
< Teen18
Definition: object.h:212
< AlienQueen
Definition: object.h:175
< UraniumSpot
Definition: object.h:95
3D (3x1) vector
Definition: vector.h:52
< Mushroom1
Definition: object.h:249
Definition: CBotDll.h:561
EngineShadowType
Definition: engine.h:332
< Me
Definition: object.h:168
< KeyA
Definition: object.h:164
< Greenery9
Definition: object.h:113
< WayPoint
Definition: object.h:158
< WingedShooter
Definition: object.h:140
< KeyDSpot
Definition: object.h:99
< ResearchCenter
Definition: object.h:65
< MegaStalk3
Definition: object.h:246
< MegaStalk4
Definition: object.h:247
< TNT
Definition: object.h:87
< Teen24
Definition: object.h:218
< PowerSpot
Definition: object.h:93
RGBA color.
Definition: color.h:38
< YellowFlag
Definition: object.h:162
< VioletFlag
Definition: object.h:163
< MegaStalk2
Definition: object.h:245
< Teen35
Definition: object.h:229
< Teen41
Definition: object.h:235
< RepairStation
Definition: object.h:62
< Scribbler
Definition: object.h:156
Event sent by system, interface or game.
Definition: event.h:678
< Teen21
Definition: object.h:215
< Shielder
Definition: object.h:153
< track-trainer (unused)
Definition: object.h:131
< GreenFlag
Definition: object.h:161
< Stone (Teen34)
Definition: object.h:228
< Teen16
Definition: object.h:210
< PracticeBot
Definition: object.h:130
< Teen6
Definition: object.h:200
< RuinConvert
Definition: object.h:191
< Portico
Definition: object.h:56
< AlienEgg
Definition: object.h:176
< KeyB
Definition: object.h:165
< insect-trainer (unused)
Definition: object.h:133
Sound plugin interface.
Definition: sound.h:151
< Teen26
Definition: object.h:220
< Thumper
Definition: object.h:150
< Teen19
Definition: object.h:213
< AutoLab
Definition: object.h:68
< ApolloLEM
Definition: object.h:251
< Teen33
Definition: object.h:227
< AlienSpider
Definition: object.h:178
< BotFactory
Definition: object.h:59