freg  0.3
Free-Roaming Elementary Game
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Enumerations | Variables
World.h File Reference
#include <QThread>
#include <QMutex>
#include <QSettings>
#include "header.h"
#include "worldmap.h"
Include dependency graph for World.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  World
 World provides global physics and shred connection. More...
 

Enumerations

enum  can_move_results { CAN_MOVE_OK, CAN_MOVE_CANNOT, CAN_MOVE_DESTROYED }
 

Variables

const int TIME_STEPS_IN_SEC = 10
 
const int MOON_LIGHT_FACTOR = 1
 
const int SUN_LIGHT_FACTOR = 8
 
const int MAX_LIGHT_RADIUS = 15
 
const int MAX_BREATH = 60
 
const int MAX_DURABILITY = 1024
 10 bits to store durability in file, signed. More...
 
const int MAX_NOTE_LENGTH = 144
 
Worldworld
 

Enumeration Type Documentation

Enumerator
CAN_MOVE_OK 
CAN_MOVE_CANNOT 
CAN_MOVE_DESTROYED 

Definition at line 46 of file World.h.

Variable Documentation

const int MAX_BREATH = 60

Definition at line 41 of file World.h.

const int MAX_DURABILITY = 1024

10 bits to store durability in file, signed.

Definition at line 43 of file World.h.

const int MAX_LIGHT_RADIUS = 15

Definition at line 39 of file World.h.

const int MAX_NOTE_LENGTH = 144

Definition at line 44 of file World.h.

const int MOON_LIGHT_FACTOR = 1

Definition at line 37 of file World.h.

const int SUN_LIGHT_FACTOR = 8

Definition at line 38 of file World.h.

const int TIME_STEPS_IN_SEC = 10

Definition at line 35 of file World.h.

World* world

Definition at line 32 of file World.cpp.