#include <../../vm/vm.h>
#include "../../vm/natives.h"
#include <../../common/consts.h>
#include <../../transport/buffer/vm-buffer.h>
#include <dashel/dashel.h>
#include <enki/PhysicalEngine.h>
#include <enki/robots/e-puck/EPuck.h>
#include <iostream>
#include <QtGui>
#include <QtDebug>
#include "challenge.h"
#include <viewer/Viewer.h>
#include <QDialog>
#include <challenge.moc>
#include <string.h>
Go to the source code of this file.
#define DEATH_ANIMATION_STEPS 30 |
Definition at line 117 of file challenge.cpp.
#define EPUCK_ENERGY_CONSUMPTION_RATE 1 |
Definition at line 115 of file challenge.cpp.
#define EPUCK_FEEDER_COLOR_ACTIVE Color::blue |
Definition at line 103 of file challenge.cpp.
#define EPUCK_FEEDER_COLOR_DEAD Color::gray |
Definition at line 105 of file challenge.cpp.
#define EPUCK_FEEDER_COLOR_INACTIVE Color::red |
Definition at line 104 of file challenge.cpp.
#define EPUCK_FEEDER_D_ENERGY 4 |
Definition at line 107 of file challenge.cpp.
#define EPUCK_FEEDER_DEATH_SPAN 10 |
Definition at line 112 of file challenge.cpp.
#define EPUCK_FEEDER_INITIAL_ENERGY 10 |
Definition at line 96 of file challenge.cpp.
#define EPUCK_FEEDER_LIFE_SPAN 60 |
Definition at line 111 of file challenge.cpp.
#define EPUCK_FEEDER_MAX_ENERGY 100 |
Definition at line 109 of file challenge.cpp.
#define EPUCK_FEEDER_RADIUS 5 |
Definition at line 99 of file challenge.cpp.
#define EPUCK_FEEDER_RADIUS_DEAD 6 |
Definition at line 100 of file challenge.cpp.
#define EPUCK_FEEDER_RANGE 10 |
Definition at line 101 of file challenge.cpp.
#define EPUCK_FEEDER_RECHARGE_RATE 0.5 |
Definition at line 108 of file challenge.cpp.
#define EPUCK_FEEDER_THRESHOLD_HIDE 2 |
Definition at line 97 of file challenge.cpp.
#define EPUCK_FEEDER_THRESHOLD_SHOW 4 |
Definition at line 98 of file challenge.cpp.
#define EPUCK_INITIAL_ENERGY 10 |
Definition at line 114 of file challenge.cpp.
#define PORT_BASE ASEBA_DEFAULT_PORT |
Definition at line 118 of file challenge.cpp.
#define SIMPLIFIED_EPUCK |
Definition at line 50 of file challenge.cpp.
typedef QMap<AsebaVMState*, Enki::AsebaFeedableEPuck*> VmEPuckMap |
Definition at line 74 of file challenge.cpp.
void AsebaAssert | ( | AsebaVMState * | vm, | |
AsebaAssertReason | reason | |||
) |
Definition at line 980 of file challenge.cpp.
static void initTexturesResources | ( | ) | [static] |
Definition at line 52 of file challenge.cpp.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 1043 of file challenge.cpp.
Derived polymorphic_downcast | ( | Base | base | ) | [inline] |
Asserts a dynamic cast. Similar to the one in boost/cast.hpp.
Definition at line 59 of file challenge.cpp.
VmEPuckMap asebaEPuckMap [static] |
Definition at line 75 of file challenge.cpp.
const AsebaLocalEventDescription localEvents[] = { { "timer", "periodic timer at 50 Hz" }, { NULL, NULL }} [static] |
Definition at line 955 of file challenge.cpp.
QString localName [static] |
Definition at line 89 of file challenge.cpp.
AsebaNativeFunctionPointer nativeFunctions[] [static] |
Definition at line 77 of file challenge.cpp.
const AsebaNativeFunctionDescription* nativeFunctionsDescriptions[] [static] |
Definition at line 82 of file challenge.cpp.
Definition at line 91 of file challenge.cpp.
Definition at line 92 of file challenge.cpp.