Loading...
Searching...
No Matches
error.h File Reference

Definition of the Error enum. More...

## Enumerations

enum

Error {
ERR_OK = 0 , ERR_UNKNOWN = 1 , ERR_CONTINUE = 2 , ERR_STOP = 3 ,
ERR_CMD = 4 , ERR_OBJ_BUSY = 5 , ERR_MANIP_FLY = 101 , ERR_MANIP_BUSY = 102 ,
ERR_MANIP_NIL = 103 , ERR_MANIP_MOTOR = 105 , ERR_MANIP_OCC = 106 , ERR_MANIP_RADIO = 108 ,
ERR_MANIP_WATER = 109 , ERR_MANIP_EMPTY = 110 , ERR_BUILD_FLY = 120 , ERR_BUILD_WATER = 121 ,
ERR_BUILD_METALAWAY = 123 , ERR_BUILD_METALNEAR = 124 , ERR_BUILD_METALINEX = 125 , ERR_BUILD_FLAT = 126 ,
ERR_BUILD_FLATLIT = 127 , ERR_BUILD_BUSY = 128 , ERR_BUILD_BASE = 129 , ERR_BUILD_NARROW = 130 ,
ERR_BUILD_MOTOR = 131 , ERR_BUILD_DISABLED = 132 , ERR_BUILD_RESEARCH = 133 , ERR_SEARCH_FLY = 140 ,
ERR_SEARCH_MOTOR = 142 , ERR_TERRA_ENERGY = 151 , ERR_FIRE_ENERGY = 161 , ERR_RECOVER_ENERGY = 171 ,
ERR_RECOVER_NULL = 172 , ERR_CONVERT_EMPTY = 180 , ERR_SHIELD_ENERGY = 191 , ERR_MOVE_IMPOSSIBLE = 200 ,
ERR_GOTO_IMPOSSIBLE = 210 , ERR_GOTO_ITER = 211 , ERR_GOTO_BUSY = 212 , ERR_DERRICK_NULL = 300 ,
ERR_STATION_NULL = 301 , ERR_TOWER_POWER = 310 , ERR_TOWER_ENERGY = 311 , ERR_RESEARCH_POWER = 320 ,
ERR_RESEARCH_ENERGY = 321 , ERR_RESEARCH_TYPE = 322 , ERR_RESEARCH_ALREADY = 323 , ERR_ENERGY_NULL = 330 ,
ERR_ENERGY_LOW = 331 , ERR_ENERGY_EMPTY = 332 , ERR_ENERGY_BAD = 333 , ERR_BASE_DLOCK = 340 ,
ERR_BASE_DHUMAN = 341 , ERR_LABO_NULL = 350 , ERR_LABO_BAD = 351 , ERR_LABO_ALREADY = 352 ,
ERR_NUCLEAR_EMPTY = 362 , ERR_NUCLEAR_BAD = 363 , ERR_FACTORY_NULL = 370 , ERR_FACTORY_NEAR = 371 ,
ERR_INFO_NULL = 390 , ERR_VEH_VIRUS = 400 , ERR_BAT_VIRUS = 401 , ERR_DESTROY_NOTFOUND = 410 ,
ERR_WRONG_OBJ = 420 , ERR_VEH_POWER = 500 , ERR_VEH_ENERGY = 501 , ERR_FLAG_FLY = 510 ,
ERR_FLAG_WATER = 511 , ERR_FLAG_MOTOR = 512 , ERR_FLAG_BUSY = 513 , ERR_FLAG_CREATE = 514 ,
ERR_FLAG_PROXY = 515 , ERR_FLAG_DELETE = 516 , ERR_MISSION_NOTERM = 600 , ERR_DELETEMOBILE = 700 ,
ERR_DELETEBUILDING = 701 , ERR_ENEMY_OBJECT = 703 , ERR_OBLIGATORYTOKEN = 800 , ERR_PROHIBITEDTOKEN = 801 ,
ERR_AIM_IMPOSSIBLE = 900 , ERR_WRONG_BOT = 910 , ERR_NO_QUICK_SLOT = 920 , INFO_FIRST = 10000 ,
INFO_BUILD = 10001 , INFO_CONVERT = 10002 , INFO_RESEARCH = 10003 , INFO_FACTORY = 10004 ,
INFO_LABO = 10005 , INFO_ENERGY = 10006 , INFO_NUCLEAR = 10007 , INFO_FINDING = 10008 ,
INFO_MARKPOWER = 10020 , INFO_MARKURANIUM = 10021 , INFO_MARKSTONE = 10022 , INFO_MARKKEYa = 10023 ,
INFO_MARKKEYb = 10024 , INFO_MARKKEYc = 10025 , INFO_MARKKEYd = 10026 , INFO_RESEARCHTANK = 10030 ,
INFO_RESEARCHFLY = 10031 , INFO_RESEARCHTHUMP = 10032 , INFO_RESEARCHCANON = 10033 , INFO_RESEARCHTOWER = 10034 ,
INFO_RESEARCHPHAZER = 10035 , INFO_RESEARCHSHIELD = 10036 , INFO_RESEARCHATOMIC = 10037 , INFO_RESEARCHBUILDER = 10038 ,
INFO_WIN = 10040 , INFO_LOST = 10041 , INFO_LOSTq = 10042 , INFO_WRITEOK = 10043 ,
INFO_DELETEMOTHER = 10100 , INFO_DELETEANT = 10101 , INFO_DELETEBEE = 10102 , INFO_DELETEWORM = 10103 ,
INFO_DELETESPIDER = 10104 , INFO_BEGINSATCOM = 10105 , INFO_TEAM_FINISH = 10110 , INFO_TEAM_DEAD = 10111 ,
INFO_TEAM_SCORE = 10112 , ERR_MAX
}

| Type of error or info message. More...

## Detailed Description

Definition of the Error enum.

## Enumeration Type Documentation

## Error

enum Error

Type of error or info message.

Enumerator
ERR_OK | ok
ERR_UNKNOWN | any error
ERR_CONTINUE | continues
ERR_STOP | stops
ERR_CMD | unknown command
ERR_OBJ_BUSY | object is busy
ERR_MANIP_FLY | impossible in flight
ERR_MANIP_BUSY | taking: hands already occupied
ERR_MANIP_NIL | taking: nothing has to take
ERR_MANIP_MOTOR | busy: impossible to move
ERR_MANIP_OCC | busy: location already occupied
ERR_MANIP_RADIO | impossible because radioactive
ERR_MANIP_WATER | not possible under water
ERR_MANIP_EMPTY | nothing to deposit
ERR_BUILD_FLY | not possible in flight
ERR_BUILD_WATER | not possible under water
ERR_BUILD_METALAWAY | lack of metal (too far)
ERR_BUILD_METALNEAR | lack of metal (too close)
ERR_BUILD_METALINEX | lack of metal
ERR_BUILD_FLAT | not enough flat ground
ERR_BUILD_FLATLIT | not enough flat ground space
ERR_BUILD_BUSY | location occupied
ERR_BUILD_BASE | too close to the rocket
ERR_BUILD_NARROW | buildings too close
ERR_BUILD_MOTOR | built: not possible in movement
ERR_BUILD_DISABLED | built: can not produce this object in this mission
ERR_BUILD_RESEARCH | built: can not produce not researched object
ERR_SEARCH_FLY | not possible in flight
ERR_SEARCH_MOTOR | impossible in movement
ERR_TERRA_ENERGY | not enough energy
ERR_FIRE_ENERGY | not enough energy
ERR_RECOVER_ENERGY | not enough energy
ERR_RECOVER_NULL | lack of ruin
ERR_CONVERT_EMPTY | no stone was transformed
ERR_SHIELD_ENERGY | not enough energy
ERR_MOVE_IMPOSSIBLE | move impossible
ERR_GOTO_IMPOSSIBLE | goto impossible
ERR_GOTO_ITER | goto too complicated
ERR_GOTO_BUSY | goto destination occupied
ERR_DERRICK_NULL | no ore underground
ERR_STATION_NULL | no energy underground
ERR_TOWER_POWER | no battery
ERR_TOWER_ENERGY | more energy
ERR_RESEARCH_POWER | no battery
ERR_RESEARCH_ENERGY | more energy
ERR_RESEARCH_TYPE | the wrong type of battery
ERR_RESEARCH_ALREADY | research already done
ERR_ENERGY_NULL | no energy underground
ERR_ENERGY_LOW | not enough energy
ERR_ENERGY_EMPTY | lack of metal
ERR_ENERGY_BAD | transforms only the metal
ERR_BASE_DLOCK | doors locked
ERR_BASE_DHUMAN | you must be on spaceship
ERR_LABO_NULL | nothing to analyze
ERR_LABO_BAD | analyzes only organic ball
ERR_LABO_ALREADY | analysis already made
ERR_NUCLEAR_EMPTY | lack of uranium
ERR_NUCLEAR_BAD | transforms only uranium
ERR_FACTORY_NULL | no metal
ERR_FACTORY_NEAR | vehicle too close
ERR_INFO_NULL | no information terminal
ERR_VEH_VIRUS | vehicle infected by a virus
ERR_BAT_VIRUS | building infected by a virus
ERR_DESTROY_NOTFOUND | not found anything to destroy
ERR_WRONG_OBJ | inappropriate vehicle
ERR_VEH_POWER | no battery
ERR_VEH_ENERGY | more energy
ERR_FLAG_FLY | impossible in flight
ERR_FLAG_WATER | impossible during swimming
ERR_FLAG_MOTOR | impossible in movement
ERR_FLAG_BUSY | taking: already creating flag
ERR_FLAG_CREATE | too many flags
ERR_FLAG_PROXY | too close
ERR_FLAG_DELETE | nothing to remove
ERR_MISSION_NOTERM | Mission not completed.
ERR_DELETEMOBILE | vehicle destroyed
ERR_DELETEBUILDING | building destroyed
ERR_ENEMY_OBJECT | can't control enemy object
ERR_OBLIGATORYTOKEN | compulsory instruction missing
ERR_PROHIBITEDTOKEN | instruction prohibited
ERR_AIM_IMPOSSIBLE | cannot aim at specified angle(s)
ERR_WRONG_BOT | inappropriate bot
ERR_NO_QUICK_SLOT | quicksave slot not found
INFO_BUILD | < first information
INFO_CONVERT | < construction builded
INFO_RESEARCH | < metal available
INFO_FACTORY | < search ended
INFO_LABO | < vehicle manufactured
INFO_ENERGY | < analysis ended
INFO_NUCLEAR | < battery available
INFO_FINDING | < nuclear battery available
INFO_MARKPOWER | < useful object found
INFO_MARKURANIUM | < location for station found
INFO_MARKSTONE | < location for derrick found
INFO_MARKKEYa | < location for derrick found
INFO_MARKKEYb | < location for derrick found
INFO_MARKKEYc | < location for derrick found
INFO_MARKKEYd | < location for derrick found
INFO_RESEARCHTANK | < location for derrick found
INFO_RESEARCHFLY | < research ended
INFO_RESEARCHTHUMP | < research ended
INFO_RESEARCHCANON | < research ended
INFO_RESEARCHTOWER | < research ended
INFO_RESEARCHPHAZER | < research ended
INFO_RESEARCHSHIELD | < research ended
INFO_RESEARCHATOMIC | < research ended
INFO_RESEARCHBUILDER | < research ended
INFO_WIN | < research ended
INFO_LOST | < win
INFO_LOSTq | < lost
INFO_WRITEOK | < lost immediately
INFO_DELETEMOTHER | < record done
INFO_DELETEANT | < insect killed
INFO_DELETEBEE | < insect killed
INFO_DELETEWORM | < insect killed
INFO_DELETESPIDER | < insect killed
INFO_BEGINSATCOM | < insect killed
INFO_TEAM_FINISH | < use your SatCom
ERR_MAX | < number of values