xoreos  0.0.5
Classes | Enumerations | Functions | Variables
Engines::Sonic Namespace Reference

Classes

class  Area
 
class  AreaBackground
 
class  AreaMiniMap
 
class  Console
 
class  EngineProbe
 
class  Game
 
class  Module
 A Sonic module. More...
 
class  Object
 An object within a Sonic area. More...
 
class  ObjectContainer
 
class  ObjectDistanceSort
 A class able to sort objects by distance to a target object. More...
 
class  Placeable
 
class  SearchType
 
class  SonicEngine
 
class  SonicModelLoader
 

Enumerations

enum  ObjectType {
  kObjectTypeInvalid = 0, kObjectTypeModule = 1U << 0, kObjectTypeArea = 1U << 1, kObjectTypePlaceable = 1U << 2,
  kObjectTypeItem = 1U << 3, kObjectTypeCreature = 1U << 4, kObjectTypeAll = 0x7FFF, kObjectTypeMAX = 0x7FFF
}
 

Functions

void createEngineProbes (std::list< const ::Engines::EngineProbe *> &probes)
 
void createEngineProbes (std::list< const EngineProbe *> &probes)
 Create all probes for this engine and add them to the list. More...
 
Graphics::Aurora::TextureHandle loadNCGR (const Common::UString &name, const Common::UString &nclr, uint32 width, uint32 height,...)
 
Graphics::Aurora::FontHandle loadFont (const Common::UString &name, const Common::UString &nftr, bool invert)
 

Variables

static const float kVertexX1 = kBottomScreenX
 
static const float kVertexY1 = kBottomScreenY
 
static const float kVertexX2 = kVertexX1 + kScreenWidth
 
static const float kVertexY2 = kVertexY1 + kScreenHeight
 
static const char *const kFiles []
 
static const float kScreenWidth = 256.0f
 
static const float kScreenHeight = 192.0f
 
static const float kTopScreenX = -128.0f
 
static const float kTopScreenY = 0.0f
 
static const float kBottomScreenX = -128.0f
 
static const float kBottomScreenY = -192.0f
 
static const float kCameraHeight = 50.0f
 
static const float kCameraAngle = 45.0f
 

Enumeration Type Documentation

◆ ObjectType

Enumerator
kObjectTypeInvalid 
kObjectTypeModule 
kObjectTypeArea 
kObjectTypePlaceable 
kObjectTypeItem 
kObjectTypeCreature 
kObjectTypeAll 
kObjectTypeMAX 

Definition at line 46 of file types.h.

Function Documentation

◆ createEngineProbes() [1/2]

void Engines::Sonic::createEngineProbes ( std::list< const EngineProbe *> &  probes)

Create all probes for this engine and add them to the list.

◆ createEngineProbes() [2/2]

void Engines::Sonic::createEngineProbes ( std::list< const ::Engines::EngineProbe *> &  probes)

Definition at line 80 of file probes.cpp.

Referenced by createEngineProbes().

Here is the caller graph for this function:

◆ loadFont()

Graphics::Aurora::FontHandle Engines::Sonic::loadFont ( const Common::UString name,
const Common::UString nftr,
bool  invert 
)

Definition at line 87 of file util.cpp.

References Graphics::Aurora::FontHandle::empty(), and FontMan.

Referenced by Engines::Sonic::Game::Game().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadNCGR()

Graphics::Aurora::TextureHandle Engines::Sonic::loadNCGR ( const Common::UString name,
const Common::UString nclr,
uint32  width,
uint32  height,
  ... 
)

Variable Documentation

◆ kBottomScreenX

const float Engines::Sonic::kBottomScreenX = -128.0f
static

◆ kBottomScreenY

const float Engines::Sonic::kBottomScreenY = -192.0f
static

◆ kCameraAngle

const float Engines::Sonic::kCameraAngle = 45.0f
static

◆ kCameraHeight

const float Engines::Sonic::kCameraHeight = 50.0f
static

◆ kFiles

const char* const Engines::Sonic::kFiles[]
static

Definition at line 32 of file files.h.

Referenced by Engines::Sonic::SonicEngine::declareResources().

◆ kScreenHeight

const float Engines::Sonic::kScreenHeight = 192.0f
static

◆ kScreenWidth

const float Engines::Sonic::kScreenWidth = 256.0f
static

◆ kTopScreenX

const float Engines::Sonic::kTopScreenX = -128.0f
static

◆ kTopScreenY

const float Engines::Sonic::kTopScreenY = 0.0f
static

◆ kVertexX1

const float Engines::Sonic::kVertexX1 = kBottomScreenX
static

Definition at line 48 of file areabackground.cpp.

Referenced by Engines::Sonic::AreaBackground::render().

◆ kVertexX2

const float Engines::Sonic::kVertexX2 = kVertexX1 + kScreenWidth
static

Definition at line 50 of file areabackground.cpp.

Referenced by Engines::Sonic::AreaBackground::render().

◆ kVertexY1

const float Engines::Sonic::kVertexY1 = kBottomScreenY
static

Definition at line 49 of file areabackground.cpp.

Referenced by Engines::Sonic::AreaBackground::render().

◆ kVertexY2

const float Engines::Sonic::kVertexY2 = kVertexY1 + kScreenHeight
static

Definition at line 51 of file areabackground.cpp.

Referenced by Engines::Sonic::AreaBackground::render().