Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
object.h
Go to the documentation of this file.
1 // * This file is part of the COLOBOT source code
2 // * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
3 // *
4 // * This program is free software: you can redistribute it and/or modify
5 // * it under the terms of the GNU General Public License as published by
6 // * the Free Software Foundation, either version 3 of the License, or
7 // * (at your option) any later version.
8 // *
9 // * This program is distributed in the hope that it will be useful,
10 // * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // * GNU General Public License for more details.
13 // *
14 // * You should have received a copy of the GNU General Public License
15 // * along with this program. If not, see http://www.gnu.org/licenses/.
16 
22 #pragma once
23 
24 
25 #include "graphics/engine/engine.h"
26 #include "graphics/engine/camera.h"
27 
28 #include "sound/sound.h"
29 
30 
31 class CApplication;
32 class CPhysics;
33 class CBrain;
34 class CMotion;
35 class CAuto;
36 class CDisplayText;
37 class CRobotMain;
38 class CBotVar;
39 class CScript;
40 
41 
47 {
48  OBJECT_NULL = 0,
49  OBJECT_FIX = 1,
58  OBJECT_NEST = 10,
60  OBJECT_RADAR = 12,
62  OBJECT_LABO = 14,
64  OBJECT_START = 16,
65  OBJECT_END = 17,
66  OBJECT_INFO = 18,
67  OBJECT_PARA = 19,
70  OBJECT_SAFE = 22,
73  OBJECT_FRET = 30,
74  OBJECT_STONE = 31,
76  OBJECT_METAL = 33,
77  OBJECT_POWER = 34,
80  OBJECT_BBOX = 37,
81  OBJECT_TNT = 38,
94  OBJECT_BOMB = 60,
96  OBJECT_SHOW = 62,
97  OBJECT_BAG = 63,
157  OBJECT_FLAGb = 260,
158  OBJECT_FLAGr = 261,
159  OBJECT_FLAGg = 262,
160  OBJECT_FLAGy = 263,
161  OBJECT_FLAGv = 264,
162  OBJECT_KEYa = 270,
163  OBJECT_KEYb = 271,
164  OBJECT_KEYc = 272,
165  OBJECT_KEYd = 273,
166  OBJECT_HUMAN = 300,
167  OBJECT_TOTO = 301,
168  OBJECT_TECH = 302,
175  OBJECT_EGG = 501,
176  OBJECT_ANT = 502,
178  OBJECT_BEE = 504,
179  OBJECT_WORM = 505,
193  OBJECT_TEEN0 = 620,
194  OBJECT_TEEN1 = 621,
195  OBJECT_TEEN2 = 622,
196  OBJECT_TEEN3 = 623,
197  OBJECT_TEEN4 = 624,
198  OBJECT_TEEN5 = 625,
199  OBJECT_TEEN6 = 626,
200  OBJECT_TEEN7 = 627,
201  OBJECT_TEEN8 = 628,
202  OBJECT_TEEN9 = 629,
253  OBJECT_ROOT0 = 710,
254  OBJECT_ROOT1 = 711,
255  OBJECT_ROOT2 = 712,
256  OBJECT_ROOT3 = 713,
257  OBJECT_ROOT4 = 714,
258  OBJECT_ROOT5 = 715,
259  OBJECT_ROOT6 = 716,
260  OBJECT_ROOT7 = 717,
261  OBJECT_ROOT8 = 718,
262  OBJECT_ROOT9 = 719,
288  OBJECT_HOME1 = 910,
289 
290  OBJECT_MAX = 1000
291 };
292 
293 
294 
295 // The father of all parts must always be the part number zero!
296 
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;
302 
303 
304 enum ObjectMaterial
305 {
306  OM_METAL = 0, // metal
307  OM_PLASTIC = 1, // plastic
308  OM_HUMAN = 2, // cosmonaut
309  OM_ANIMAL = 3, // insect
310  OM_VEGETAL = 4, // plant
311  OM_MINERAL = 5, // stone
312 };
313 
315 {
316  char bUsed;
317  int object; // number of the object in CEngine
318  int parentPart; // number of father part
319  int masterParti; // master canal of the particle
320  Math::Vector position;
321  Math::Vector angle;
322  Math::Vector zoom;
323  char bTranslate;
324  char bRotate;
325  char bZoom;
326  Math::Matrix matTranslate;
327  Math::Matrix matRotate;
328  Math::Matrix matTransform;
329  Math::Matrix matWorld;
330 };
331 
332 struct Character
333 {
334  float wheelFront; // position X of the front wheels
335  float wheelBack; // position X of the back wheels
336  float wheelLeft; // position Z of the left wheels
337  float wheelRight; // position Z of the right wheels
338  float height; // normal height on top of ground
339  Math::Vector posPower; // position of the battery
340 };
341 
342 struct Info
343 {
344  char name[20]; // name of the information
345  float value; // value of the information
346 };
347 
348 enum ExploType
349 {
350  EXPLO_BOUM = 1,
351  EXPLO_BURN = 2,
352  EXPLO_WATER = 3,
353 };
354 
355 enum ResetCap
356 {
357  RESET_NONE = 0,
358  RESET_MOVE = 1,
359  RESET_DELETE = 2,
360 };
361 
362 enum RadarFilter
363 {
364  FILTER_NONE = 0,
365  FILTER_ONLYLANDING = 1,
366  FILTER_ONLYFLYING = 2,
367 };
368 
369 
370 
371 
372 class CObject
373 {
374 public:
375  CObject();
376  ~CObject();
377 
378  void DeleteObject(bool bAll=false);
379  void Simplify();
380  bool ExploObject(ExploType type, float force, float decay=1.0f);
381 
382  bool EventProcess(const Event &event);
383  void UpdateMapping();
384 
385  int CreatePart();
386  void DeletePart(int part);
387  void SetObjectRank(int part, int objRank);
388  int GetObjectRank(int part);
389  void SetObjectParent(int part, int parent);
390  void SetType(ObjectType type);
391  ObjectType GetType();
392  char* GetName();
393  void SetOption(int option);
394  int GetOption();
395 
396  void SetID(int id);
397  int GetID();
398 
399  bool Write(char *line);
400  bool Read(char *line);
401 
402  void SetDrawWorld(bool bDraw);
403  void SetDrawFront(bool bDraw);
404 
405  bool CreateVehicle(Math::Vector pos, float angle, ObjectType type, float power, bool bTrainer, bool bToy);
406  bool CreateInsect(Math::Vector pos, float angle, ObjectType type);
407  bool CreateBuilding(Math::Vector pos, float angle, float height, ObjectType type, float power=1.0f);
408  bool CreateResource(Math::Vector pos, float angle, ObjectType type, float power=1.0f);
409  bool CreateFlag(Math::Vector pos, float angle, ObjectType type);
410  bool CreateBarrier(Math::Vector pos, float angle, float height, ObjectType type);
411  bool CreatePlant(Math::Vector pos, float angle, float height, ObjectType type);
412  bool CreateMushroom(Math::Vector pos, float angle, float height, ObjectType type);
413  bool CreateTeen(Math::Vector pos, float angle, float zoom, float height, ObjectType type);
414  bool CreateQuartz(Math::Vector pos, float angle, float height, ObjectType type);
415  bool CreateRoot(Math::Vector pos, float angle, float height, ObjectType type);
416  bool CreateHome(Math::Vector pos, float angle, float height, ObjectType type);
417  bool CreateRuin(Math::Vector pos, float angle, float height, ObjectType type);
418  bool CreateApollo(Math::Vector pos, float angle, ObjectType type);
419 
420  bool ReadProgram(int rank, const char* filename);
421  bool WriteProgram(int rank, char* filename);
422  bool RunProgram(int rank);
423 
424  int GetShadowLight();
425  int GetEffectLight();
426 
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);
434  void SetGlobalSphere(Math::Vector pos, float radius);
435  void GetGlobalSphere(Math::Vector &pos, float &radius);
436  void SetJotlerSphere(Math::Vector pos, float radius);
437  void GetJotlerSphere(Math::Vector &pos, float &radius);
438  void SetShieldRadius(float radius);
439  float GetShieldRadius();
440 
441  void SetFloorHeight(float height);
442  void FloorAdjust();
443 
444  void SetLinVibration(Math::Vector dir);
445  Math::Vector GetLinVibration();
446  void SetCirVibration(Math::Vector dir);
447  Math::Vector GetCirVibration();
448  void SetInclinaison(Math::Vector dir);
449  Math::Vector GetInclinaison();
450 
451  void SetPosition(int part, const Math::Vector &pos);
452  Math::Vector GetPosition(int part);
453  void SetAngle(int part, const Math::Vector &angle);
454  Math::Vector GetAngle(int part);
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);
462  void SetZoom(int part, Math::Vector zoom);
463  Math::Vector GetZoom(int part);
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);
470 
471  float GetWaterLevel();
472 
473  void SetTrainer(bool bEnable);
474  bool GetTrainer();
475 
476  void SetToy(bool bEnable);
477  bool GetToy();
478 
479  void SetManual(bool bManual);
480  bool GetManual();
481 
482  void SetResetCap(ResetCap cap);
483  ResetCap GetResetCap();
484  void SetResetBusy(bool bBusy);
485  bool GetResetBusy();
486  void SetResetPosition(const Math::Vector &pos);
487  Math::Vector GetResetPosition();
488  void SetResetAngle(const Math::Vector &angle);
489  Math::Vector GetResetAngle();
490  void SetResetRun(int run);
491  int GetResetRun();
492 
493  void SetMasterParticle(int part, int parti);
494  int GetMasterParticle(int part);
495 
496  void SetPower(CObject* power);
497  CObject* GetPower();
498  void SetFret(CObject* fret);
499  CObject* GetFret();
500  void SetTruck(CObject* truck);
501  CObject* GetTruck();
502  void SetTruckPart(int part);
503  int GetTruckPart();
504 
505  void InfoFlush();
506  void DeleteInfo(int rank);
507  void SetInfo(int rank, Info info);
508  Info GetInfo(int rank);
509  int GetInfoTotal();
510  void SetInfoReturn(float value);
511  float GetInfoReturn();
512  void SetInfoUpdate(bool bUpdate);
513  bool GetInfoUpdate();
514 
515  bool SetCmdLine(int rank, float value);
516  float GetCmdLine(int rank);
517 
518  Math::Matrix* GetRotateMatrix(int part);
519  Math::Matrix* GetTranslateMatrix(int part);
520  Math::Matrix* GetTransformMatrix(int part);
521  Math::Matrix* GetWorldMatrix(int part);
522 
523  void SetViewFromHere(Math::Vector &eye, float &dirH, float &dirV,
524  Math::Vector &lookat, Math::Vector &upVec,
525  Gfx::CameraType type);
526 
527  void SetCharacter(Character* character);
528  void GetCharacter(Character* character);
529  Character* GetCharacter();
530 
531  float GetAbsTime();
532 
533  void SetEnergy(float level);
534  float GetEnergy();
535 
536  void SetCapacity(float capacity);
537  float GetCapacity();
538 
539  void SetShield(float level);
540  float GetShield();
541 
542  void SetRange(float delay);
543  float GetRange();
544 
545  void SetTransparency(float value);
546  float GetTransparency();
547 
548  ObjectMaterial GetMaterial();
549 
550  void SetGadget(bool bMode);
551  bool GetGadget();
552 
553  void SetFixed(bool bFixed);
554  bool GetFixed();
555 
556  void SetClip(bool bClip);
557  bool GetClip();
558 
559  bool JostleObject(float force);
560 
561  void StartDetectEffect(CObject *target, bool bFound);
562 
563  void SetVirusMode(bool bEnable);
564  bool GetVirusMode();
565  float GetVirusTime();
566 
567  void SetCameraType(Gfx::CameraType type);
568  Gfx::CameraType GetCameraType();
569  void SetCameraDist(float dist);
570  float GetCameraDist();
571  void SetCameraLock(bool bLock);
572  bool GetCameraLock();
573 
574  void SetHilite(bool bMode);
575  bool GetHilite();
576 
577  void SetSelect(bool bMode, bool bDisplayError=true);
578  bool GetSelect(bool bReal=false);
579 
580  void SetSelectable(bool bMode);
581  bool GetSelectable();
582 
583  void SetActivity(bool bMode);
584  bool GetActivity();
585 
586  void SetVisible(bool bVisible);
587  bool GetVisible();
588 
589  void SetEnable(bool bEnable);
590  bool GetEnable();
591 
592  void SetCheckToken(bool bMode);
593  bool GetCheckToken();
594 
595  void SetProxyActivate(bool bActivate);
596  bool GetProxyActivate();
597  void SetProxyDistance(float distance);
598  float GetProxyDistance();
599 
600  void SetMagnifyDamage(float factor);
601  float GetMagnifyDamage();
602 
603  void SetParam(float value);
604  float GetParam();
605 
606  void SetExplo(bool bExplo);
607  bool GetExplo();
608  void SetLock(bool bLock);
609  bool GetLock();
610  void SetCargo(bool bCargo);
611  bool GetCargo();
612  void SetBurn(bool bBurn);
613  bool GetBurn();
614  void SetDead(bool bDead);
615  bool GetDead();
616  bool GetRuin();
617  bool GetActif();
618 
619  void SetGunGoalV(float gunGoal);
620  void SetGunGoalH(float gunGoal);
621  float GetGunGoalV();
622  float GetGunGoalH();
623 
624  bool StartShowLimit();
625  void StopShowLimit();
626 
627  bool IsProgram();
628  void CreateSelectParticle();
629 
630  void SetRunScript(CScript* script);
631  CScript* GetRunScript();
632  CBotVar* GetBotVar();
633  CPhysics* GetPhysics();
634  CBrain* GetBrain();
635  CMotion* GetMotion();
636  CAuto* GetAuto();
637  void SetAuto(CAuto* automat);
638 
639  void SetDefRank(int rank);
640  int GetDefRank();
641 
642  bool GetTooltipName(char* name);
643 
644  void AddDeselList(CObject* pObj);
645  CObject* SubDeselList();
646  void DeleteDeselList(CObject* pObj);
647 
648  bool CreateShadowCircle(float radius, float intensity, Gfx::EngineShadowType type = Gfx::ENG_SHADOW_NORM);
649  bool CreateShadowLight(float height, Gfx::Color color);
650  bool CreateEffectLight(float height, Gfx::Color color);
651 
652  void FlatParent();
653 
654  bool GetTraceDown();
655  void SetTraceDown(bool bDown);
656  int GetTraceColor();
657  void SetTraceColor(int color);
658  float GetTraceWidth();
659  void SetTraceWidth(float width);
660 
661  std::string GetModelDirName();
662 
663 protected:
664  bool EventFrame(const Event &event);
665  void VirusFrame(float rTime);
666  void PartiFrame(float rTime);
667  void CreateOtherObject(ObjectType type);
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();
675 
676 protected:
677  CApplication* m_app;
678  Gfx::CEngine* m_engine;
679  Gfx::CLightManager* m_lightMan;
680  Gfx::CTerrain* m_terrain;
681  Gfx::CWater* m_water;
682  Gfx::CCamera* m_camera;
683  Gfx::CParticle* m_particle;
684  CPhysics* m_physics;
685  CBrain* m_brain;
686  CMotion* m_motion;
687  CAuto* m_auto;
688  CRobotMain* m_main;
689  CSoundInterface* m_sound;
690  CBotVar* m_botVar;
691  CScript* m_runScript;
692 
693  ObjectType m_type; // OBJECT_*
694  int m_id; // unique identifier
695  char m_name[50]; // name of the object
696  Character m_character; // characteristic
697  int m_option; // option
698  int m_partiReactor; // number of the particle of the reactor
699  int m_shadowLight; // number of light from the shadows
700  float m_shadowHeight; // height of light from the shadows
701  int m_effectLight; // number of light effects
702  float m_effectHeight; // height of light effects
703  Math::Vector m_linVibration; // linear vibration
704  Math::Vector m_cirVibration; // circular vibration
705  Math::Vector m_inclinaison; // tilt
706  CObject* m_power; // battery used by the vehicle
707  CObject* m_fret; // object transported
708  CObject* m_truck; // object with the latter
709  int m_truckLink; // part
710  float m_energy; // energy contained (if battery)
711  float m_lastEnergy;
712  float m_capacity; // capacity (if battery)
713  float m_shield; // shield
714  float m_range; // flight range
715  float m_transparency; // transparency (0..1)
716  int m_material; // matter(0..n)
717  float m_aTime;
718  float m_shotTime; // time since last shot
719  bool m_bVirusMode; // virus activated/triggered
720  float m_virusTime; // lifetime of the virus
721  float m_lastVirusParticle;
722  float m_lastParticle;
723  bool m_bHilite;
724  bool m_bSelect; // object selected
725  bool m_bSelectable; // selectable object
726  bool m_bCheckToken; // object with audited tokens
727  bool m_bVisible; // object active but undetectable
728  bool m_bEnable; // dead object
729  bool m_bProxyActivate; // active object so close
730  bool m_bGadget; // object nonessential
731  bool m_bLock;
732  bool m_bExplo;
733  bool m_bCargo;
734  bool m_bBurn;
735  bool m_bDead;
736  bool m_bFlat;
737  bool m_bTrainer; // drive vehicle (without remote)
738  bool m_bToy; // toy key
739  bool m_bManual; // manual control (Scribbler)
740  bool m_bFixed;
741  bool m_bClip;
742  bool m_bShowLimit;
743  float m_showLimitRadius;
744  float m_gunGoalV;
745  float m_gunGoalH;
746  Gfx::CameraType m_cameraType;
747  float m_cameraDist;
748  bool m_bCameraLock;
749  int m_defRank;
750  float m_magnifyDamage;
751  float m_proxyDistance;
752  float m_param;
753 
754  int m_crashSphereUsed; // number of spheres used
755  Math::Vector m_crashSpherePos[MAXCRASHSPHERE];
756  float m_crashSphereRadius[MAXCRASHSPHERE];
757  float m_crashSphereHardness[MAXCRASHSPHERE];
758  Sound m_crashSphereSound[MAXCRASHSPHERE];
759  Math::Vector m_globalSpherePos;
760  float m_globalSphereRadius;
761  Math::Vector m_jotlerSpherePos;
762  float m_jotlerSphereRadius;
763  float m_shieldRadius;
764 
765  int m_totalPart;
766  ObjectPart m_objectPart[OBJECTMAXPART];
767 
768  int m_totalDesectList;
769  CObject* m_objectDeselectList[OBJECTMAXDESELLIST];
770 
771  int m_partiSel[4];
772 
773  ResetCap m_resetCap;
774  bool m_bResetBusy;
775  Math::Vector m_resetPosition;
776  Math::Vector m_resetAngle;
777  int m_resetRun;
778 
779  int m_infoTotal;
780  Info m_info[OBJECTMAXINFO];
781  float m_infoReturn;
782  bool m_bInfoUpdate;
783 
784  float m_cmdLine[OBJECTMAXCMDLINE];
785 };
786 
< 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
Definition: object.h:342
< barrier
Definition: object.h:173
< toy
Definition: object.h:240
Sound plugin interface.
< mushroom 3
Definition: object.h:277
Definition: object.h:332
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
Definition: physics.h:95
< toy
Definition: object.h:224
Definition: auto.h:49
< 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
Definition: object.h:314
< 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
Definition: motion.h:44
< 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
Definition: script.h:50
< 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
Definition: object.h:372
< 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
Definition: brain.h:78
< seaweed 8
Definition: object.h:272
< factory set
Definition: object.h:54