mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Typedefs
txtelite.h File Reference

Contains structures and definitions of the original TextElite by Ian Bell wrapped into a class. More...

#include <sstream>
#include <string>
#include <vector>
#include "wrappDef.h"
#include <math.h>

Go to the source code of this file.

Classes

struct  fastseedtype
 
struct  seedtype
 
struct  plansys
 
struct  tradegood
 
struct  markettype
 
class  TextEliteGame
 

Macros

#define true   (-1)
 
#define false   (0)
 
#define tons   (0)
 
#define maxlen   (20) /* Length of strings */
 
#define galsize   (256)
 
#define AlienItems   (16)
 
#define lasttrade   AlienItems
 
#define numforLave   7/* Lave is 7th generated planet in galaxy one */
 
#define numforZaonce   129
 
#define numforDiso   147
 
#define numforRied   46
 
#define POLITICALLY_CORRECT   0
 
#define nocomms   (14)
 

Typedefs

typedef int myboolean
 
typedef unsigned char uint8
 
typedef unsigned short uint16
 
typedef signed short int16
 
typedef signed long int32
 
typedef unsigned int uint
 
typedef int planetnum
 

Detailed Description

Contains structures and definitions of the original TextElite by Ian Bell wrapped into a class.

Copyright Jan-Philipp Kappmeier, Melanie Schmidt, Ian Bell

Definition in file txtelite.h.

Macro Definition Documentation

#define AlienItems   (16)

Definition at line 77 of file txtelite.h.

#define false   (0)

Definition at line 71 of file txtelite.h.

#define galsize   (256)

Definition at line 76 of file txtelite.h.

#define lasttrade   AlienItems

Definition at line 78 of file txtelite.h.

#define maxlen   (20) /* Length of strings */

Definition at line 74 of file txtelite.h.

#define nocomms   (14)

Definition at line 86 of file txtelite.h.

#define numforDiso   147

Definition at line 82 of file txtelite.h.

#define numforLave   7/* Lave is 7th generated planet in galaxy one */

Definition at line 80 of file txtelite.h.

#define numforRied   46

Definition at line 83 of file txtelite.h.

#define numforZaonce   129

Definition at line 81 of file txtelite.h.

#define POLITICALLY_CORRECT   0

Definition at line 84 of file txtelite.h.

#define tons   (0)

Definition at line 72 of file txtelite.h.

#define true   (-1)

Definition at line 70 of file txtelite.h.

Typedef Documentation

typedef signed short int16

Definition at line 92 of file txtelite.h.

typedef signed long int32

Definition at line 93 of file txtelite.h.

typedef int myboolean

Definition at line 89 of file txtelite.h.

typedef int planetnum

Definition at line 95 of file txtelite.h.

typedef unsigned int uint

Definition at line 94 of file txtelite.h.

typedef unsigned short uint16

Definition at line 91 of file txtelite.h.

typedef unsigned char uint8

Definition at line 90 of file txtelite.h.