259 const int OBJECTMAXPART = 40;
260 const int MAXCRASHSPHERE = 40;
261 const int OBJECTMAXDESELLIST = 10;
262 const int OBJECTMAXINFO = 10;
263 const int OBJECTMAXCMDLINE = 20;
345 FILTER_ONLYLANDING = 1,
346 FILTER_ONLYFLYING = 2,
358 void DeleteObject(
bool bAll=
false);
360 bool ExploObject(ExploType type,
float force,
float decay=1.0f);
362 bool EventProcess(
const Event &event);
363 void UpdateMapping();
366 void DeletePart(
int part);
367 void SetObjectRank(
int part,
int objRank);
368 int GetObjectRank(
int part);
369 void SetObjectParent(
int part,
int parent);
373 void SetOption(
int option);
379 bool Write(
char *line);
380 bool Read(
char *line);
382 void SetDrawWorld(
bool bDraw);
383 void SetDrawFront(
bool bDraw);
385 bool CreateVehicle(
Math::Vector pos,
float angle,
ObjectType type,
float power,
bool bTrainer,
bool bToy);
400 bool ReadProgram(
int rank,
const char* filename);
401 bool WriteProgram(
int rank,
char* filename);
402 bool RunProgram(
int rank);
404 int GetShadowLight();
405 int GetEffectLight();
407 void FlushCrashShere();
408 int CreateCrashSphere(
Math::Vector pos,
float radius,
Sound sound,
float hardness=0.45f);
409 int GetCrashSphereTotal();
410 bool GetCrashSphere(
int rank,
Math::Vector &pos,
float &radius);
411 float GetCrashSphereHardness(
int rank);
412 Sound GetCrashSphereSound(
int rank);
413 void DeleteCrashSphere(
int rank);
418 void SetShieldRadius(
float radius);
419 float GetShieldRadius();
421 void SetFloorHeight(
float height);
435 void SetAngleY(
int part,
float angle);
436 void SetAngleX(
int part,
float angle);
437 void SetAngleZ(
int part,
float angle);
438 float GetAngleY(
int part);
439 float GetAngleX(
int part);
440 float GetAngleZ(
int part);
441 void SetZoom(
int part,
float zoom);
444 void SetZoomX(
int part,
float zoom);
445 float GetZoomX(
int part);
446 void SetZoomY(
int part,
float zoom);
447 float GetZoomY(
int part);
448 void SetZoomZ(
int part,
float zoom);
449 float GetZoomZ(
int part);
451 float GetWaterLevel();
453 void SetTrainer(
bool bEnable);
456 void SetToy(
bool bEnable);
459 void SetManual(
bool bManual);
462 void SetResetCap(ResetCap cap);
463 ResetCap GetResetCap();
464 void SetResetBusy(
bool bBusy);
470 void SetResetRun(
int run);
473 void SetMasterParticle(
int part,
int parti);
474 int GetMasterParticle(
int part);
482 void SetTruckPart(
int part);
486 void DeleteInfo(
int rank);
487 void SetInfo(
int rank,
Info info);
488 Info GetInfo(
int rank);
490 void SetInfoReturn(
float value);
491 float GetInfoReturn();
492 void SetInfoUpdate(
bool bUpdate);
493 bool GetInfoUpdate();
495 bool SetCmdLine(
int rank,
float value);
496 float GetCmdLine(
int rank);
503 void SetViewFromHere(
Math::Vector &eye,
float &dirH,
float &dirV,
513 void SetEnergy(
float level);
516 void SetCapacity(
float capacity);
519 void SetShield(
float level);
522 void SetRange(
float delay);
525 void SetTransparency(
float value);
526 float GetTransparency();
528 ObjectMaterial GetMaterial();
530 void SetGadget(
bool bMode);
533 void SetFixed(
bool bFixed);
536 void SetClip(
bool bClip);
539 bool JostleObject(
float force);
541 void StartDetectEffect(
CObject *target,
bool bFound);
543 void SetVirusMode(
bool bEnable);
545 float GetVirusTime();
549 void SetCameraDist(
float dist);
550 float GetCameraDist();
551 void SetCameraLock(
bool bLock);
552 bool GetCameraLock();
554 void SetHilite(
bool bMode);
557 void SetSelect(
bool bMode,
bool bDisplayError=
true);
558 bool GetSelect(
bool bReal=
false);
560 void SetSelectable(
bool bMode);
561 bool GetSelectable();
563 void SetActivity(
bool bMode);
566 void SetVisible(
bool bVisible);
569 void SetEnable(
bool bEnable);
572 void SetCheckToken(
bool bMode);
573 bool GetCheckToken();
575 void SetProxyActivate(
bool bActivate);
576 bool GetProxyActivate();
577 void SetProxyDistance(
float distance);
578 float GetProxyDistance();
580 void SetMagnifyDamage(
float factor);
581 float GetMagnifyDamage();
583 void SetParam(
float value);
586 void SetIgnoreBuildCheck(
bool bIgnoreBuildCheck);
587 bool GetIgnoreBuildCheck();
589 void SetExplo(
bool bExplo);
591 void SetLock(
bool bLock);
593 void SetCargo(
bool bCargo);
595 void SetBurn(
bool bBurn);
597 void SetDead(
bool bDead);
602 void SetGunGoalV(
float gunGoal);
603 void SetGunGoalH(
float gunGoal);
607 bool StartShowLimit();
608 void StopShowLimit();
611 void CreateSelectParticle();
613 void SetRunScript(
CScript* script);
620 void SetAuto(
CAuto* automat);
622 void SetDefRank(
int rank);
625 bool GetTooltipName(std::string& name);
627 void AddDeselList(
CObject* pObj);
629 void DeleteDeselList(
CObject* pObj);
632 bool CreateShadowLight(
float height,
Gfx::Color color);
633 bool CreateEffectLight(
float height,
Gfx::Color color);
638 void SetTraceDown(
bool bDown);
640 void SetTraceColor(
int color);
641 float GetTraceWidth();
642 void SetTraceWidth(
float width);
644 std::string GetModelDirName();
646 static DriveType GetDriveFromObject(
ObjectType type);
647 static ToolType GetToolFromObject(
ObjectType type);
650 bool EventFrame(
const Event &event);
651 void VirusFrame(
float rTime);
652 void PartiFrame(
float rTime);
654 void InitPart(
int part);
655 void UpdateTotalPart();
656 int SearchDescendant(
int parent,
int n);
657 void UpdateEnergyMapping();
658 bool UpdateTransformObject(
int part,
bool bForceUpdate);
659 bool UpdateTransformObject();
660 void UpdateSelectParticle();
686 float m_shadowHeight;
688 float m_effectHeight;
701 float m_transparency;
707 float m_lastVirusParticle;
708 float m_lastParticle;
715 bool m_bProxyActivate;
726 bool m_bIgnoreBuildCheck;
730 float m_showLimitRadius;
737 float m_magnifyDamage;
738 float m_proxyDistance;
741 int m_crashSphereUsed;
743 float m_crashSphereRadius[MAXCRASHSPHERE];
744 float m_crashSphereHardness[MAXCRASHSPHERE];
745 Sound m_crashSphereSound[MAXCRASHSPHERE];
747 float m_globalSphereRadius;
749 float m_jotlerSphereRadius;
750 float m_shieldRadius;
755 int m_totalDesectList;
756 CObject* m_objectDeselectList[OBJECTMAXDESELLIST];
767 Info m_info[OBJECTMAXINFO];
771 float m_cmdLine[OBJECTMAXCMDLINE];
< Firework
Definition: object.h:96
< PowerCell
Definition: object.h:78
< fly-trainer (unused)
Definition: object.h:127
< WheeledSniffer
Definition: object.h:141
< WreckBotw1
Definition: object.h:176
Normal shadow.
Definition: engine.h:333
< KeyASpot
Definition: object.h:91
< RuinDoor
Definition: object.h:183
< Recycler
Definition: object.h:147
< WingedGrabber
Definition: object.h:131
< Greenery5
Definition: object.h:104
< Greenery2
Definition: object.h:101
CameraType
Type of camera.
Definition: camera.h:42
< Greenery15
Definition: object.h:114
< Tech
Definition: object.h:165
< TrackedSniffer
Definition: object.h:142
< RadarStation
Definition: object.h:61
< Teen4
Definition: object.h:193
< Titanium
Definition: object.h:77
< Teen17
Definition: object.h:206
< Greenery6
Definition: object.h:105
< PowerStation
Definition: object.h:55
< PowerCaptor
Definition: object.h:68
< EndArea
Definition: object.h:66
< AlienWorm
Definition: object.h:175
Main graphics engine - CEngine class.
< Greenery12
Definition: object.h:111
< WreckBott1
Definition: object.h:178
< KeyD
Definition: object.h:162
< ApolloModule
Definition: object.h:249
< Teen8
Definition: object.h:197
< RuinRadar
Definition: object.h:185
< Tree1
Definition: object.h:120
< TitaniumOre
Definition: object.h:75
< DefenseTower
Definition: object.h:58
< WheeledOrgaShooter
Definition: object.h:137
< MissionController
Definition: object.h:152
< Teen42
Definition: object.h:231
< TrackedOrgaShooter
Definition: object.h:138
< WheeledGrabber
Definition: object.h:129
< RuinSupport
Definition: object.h:184
< Teen32
Definition: object.h:221
< Scrap4 (plastic)
Definition: object.h:86
< Teen40
Definition: object.h:229
< Mine
Definition: object.h:95
< Houston
Definition: object.h:72
< Teen39
Definition: object.h:228
Camera handling - CCamera class.
< Vault
Definition: object.h:71
< Teen29
Definition: object.h:218
< Home
Definition: object.h:252
< AlienWasp
Definition: object.h:174
< stationary scenery
Definition: object.h:50
< Teen2
Definition: object.h:191
< KeyC
Definition: object.h:161
< Tree2
Definition: object.h:121
4x4 matrix
Definition: matrix.h:63
< Greenery16
Definition: object.h:115
< AlienNest
Definition: object.h:59
< TargetBot
Definition: object.h:150
< Destroyer
Definition: object.h:73
< WreckBotw2
Definition: object.h:177
< WreckBotr2
Definition: object.h:181
< RuinHeadCamp
Definition: object.h:188
< Teen7
Definition: object.h:196
< Quartz0
Definition: object.h:234
< Teen1
Definition: object.h:190
< Teen37
Definition: object.h:226
< Teen0
Definition: object.h:189
< ApolloFlag
Definition: object.h:248
< MegaStalk0
Definition: object.h:238
< LeggedShooter
Definition: object.h:136
< Greenery3
Definition: object.h:102
< Teen10
Definition: object.h:199
< Greenery14
Definition: object.h:113
< Greenery7
Definition: object.h:106
< AlienAnt
Definition: object.h:172
< Scrap2 (metal)
Definition: object.h:84
< Teen30
Definition: object.h:219
< Greenery11
Definition: object.h:110
< ExchangePost
Definition: object.h:67
< UraniumOre
Definition: object.h:76
< TrackedGrabber
Definition: object.h:130
< PhazerShooter
Definition: object.h:146
Manager for dynamic lights in 3D scene.
Definition: lightman.h:142
< ApolloJeep
Definition: object.h:247
< RuinBotFactory
Definition: object.h:182
< BlueFlag
Definition: object.h:154
< ApolloAntenna
Definition: object.h:250
< PowerPlant
Definition: object.h:62
< arrow above object (Visit)
Definition: object.h:97
< LeggedSniffer
Definition: object.h:144
< Barrier2
Definition: object.h:168
< NuclearCell
Definition: object.h:79
< Teen23
Definition: object.h:212
< Teen11
Definition: object.h:200
< Scrap1 (metal)
Definition: object.h:83
< Teen22
Definition: object.h:211
Definition: robotmain.h:196
< Teen38
Definition: object.h:227
< Converter
Definition: object.h:56
< Teen15
Definition: object.h:204
< Quartz2
Definition: object.h:236
< Teen20
Definition: object.h:209
Particle engine.
Definition: particle.h:266
< Teen44
Definition: object.h:233
< StartArea
Definition: object.h:65
< Teen36
Definition: object.h:225
< Teen31
Definition: object.h:220
< Tree0
Definition: object.h:119
< WheeledShooter
Definition: object.h:133
< LeggedGrabber
Definition: object.h:132
< Robby (toto)
Definition: object.h:164
< Teen3
Definition: object.h:192
< WreckBotr1
Definition: object.h:180
< Bag
Definition: object.h:98
ObjectType
Type of game object.
Definition: object.h:46
< Teen43
Definition: object.h:232
< Derrick
Definition: object.h:53
< Greenery13
Definition: object.h:112
< Greenery0
Definition: object.h:99
< OrgaMatter
Definition: object.h:80
< Teen25
Definition: object.h:214
< Teen12
Definition: object.h:201
< Subber
Definition: object.h:149
< RedFlag
Definition: object.h:155
< Teen14
Definition: object.h:203
< Teen13
Definition: object.h:202
< SpaceShip
Definition: object.h:52
< Teen9
Definition: object.h:198
< Teen28
Definition: object.h:217
< TitaniumSpot
Definition: object.h:89
< WingedOrgaShooter
Definition: object.h:139
< MegaStalk5
Definition: object.h:243
< Tree3
Definition: object.h:122
< TrackedShooter
Definition: object.h:134
Main application.
Definition: app.h:201
< Tree4
Definition: object.h:123
< Greenery1
Definition: object.h:100
< Greenery10
Definition: object.h:109
< Teen5
Definition: object.h:194
Camera moving in 3D scene.
Definition: camera.h:130
Sound
Sound enum representing sound file.
Definition: sound.h:42
< Greenery19
Definition: object.h:118
< transportable (unused)
Definition: object.h:74
< RuinBaseCamp
Definition: object.h:187
< object destroyed
Definition: object.h:49
< Target1 (gate)
Definition: object.h:69
< Greenery4
Definition: object.h:103
Terrain loader/generator and manager.
Definition: terrain.h:220
< Greenery17
Definition: object.h:116
< Barrier3
Definition: object.h:169
< Barrier0
Definition: object.h:166
< WreckBott2
Definition: object.h:179
< Scrap3 (metal)
Definition: object.h:85
< MegaStalk1
Definition: object.h:239
< NuclearPlant
Definition: object.h:64
< Tree5
Definition: object.h:124
The graphics engine.
Definition: engine.h:682
< Greenery8
Definition: object.h:107
< KeyCSpot
Definition: object.h:93
< Quartz3
Definition: object.h:237
< Target2 (center)
Definition: object.h:70
< Mushroom2
Definition: object.h:245
< Teen27
Definition: object.h:216
< BlackBox
Definition: object.h:81
< KeyBSpot
Definition: object.h:92
< Scrap5 (plastic)
Definition: object.h:87
< Quartz1
Definition: object.h:235
< LeggedOrgaShooter
Definition: object.h:140
< WingedSniffer
Definition: object.h:143
Water manager/renderer.
Definition: water.h:116
< Greenery18
Definition: object.h:117
< Barrier1
Definition: object.h:167
< Teen18
Definition: object.h:207
< AlienQueen
Definition: object.h:170
< UraniumSpot
Definition: object.h:90
3D (3x1) vector
Definition: vector.h:49
< Mushroom1
Definition: object.h:244
Definition: CBotDll.h:558
EngineShadowType
Definition: engine.h:330
< Me
Definition: object.h:163
< KeyA
Definition: object.h:159
< Greenery9
Definition: object.h:108
< WayPoint
Definition: object.h:153
< WingedShooter
Definition: object.h:135
< KeyDSpot
Definition: object.h:94
< ResearchCenter
Definition: object.h:60
< MegaStalk3
Definition: object.h:241
< MegaStalk4
Definition: object.h:242
< TNT
Definition: object.h:82
< Teen24
Definition: object.h:213
< PowerSpot
Definition: object.h:88
RGBA color.
Definition: color.h:35
< YellowFlag
Definition: object.h:157
< VioletFlag
Definition: object.h:158
< MegaStalk2
Definition: object.h:240
< Teen35
Definition: object.h:224
< Teen41
Definition: object.h:230
< RepairStation
Definition: object.h:57
< Scribbler
Definition: object.h:151
Event sent by system, interface or game.
Definition: event.h:686
< Teen21
Definition: object.h:210
< Shielder
Definition: object.h:148
< track-trainer (unused)
Definition: object.h:126
< GreenFlag
Definition: object.h:156
< Stone (Teen34)
Definition: object.h:223
< Teen16
Definition: object.h:205
< PracticeBot
Definition: object.h:125
< Teen6
Definition: object.h:195
< RuinConvert
Definition: object.h:186
< Portico
Definition: object.h:51
< AlienEgg
Definition: object.h:171
< KeyB
Definition: object.h:160
< insect-trainer (unused)
Definition: object.h:128
Sound plugin interface.
Definition: sound.h:149
< Teen26
Definition: object.h:215
< Thumper
Definition: object.h:145
< Teen19
Definition: object.h:208
< AutoLab
Definition: object.h:63
< ApolloLEM
Definition: object.h:246
< Teen33
Definition: object.h:222
< AlienSpider
Definition: object.h:173
< BotFactory
Definition: object.h:54