OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Functions | Variables
Processor.cpp File Reference
#include "Processor.h"
#include <vector>
#include <string>
#include "Engine/Engine.h"
#include "Engine/Localization.h"
#include "Engine/mm7_data.h"
#include "Engine/Graphics/LocationFunctions.h"
#include "Engine/Objects/DecorationList.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Objects/SpriteObject.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Events/EventMap.h"
#include "Engine/Events/EventIR.h"
#include "Engine/Events/EventInterpreter.h"
#include "Engine/Party.h"
#include "GUI/UI/UIStatusBar.h"
#include "Library/Logger/Logger.h"

Classes

struct  MapTimer
 

Functions

void initDecorationEvents ()
 
void checkDecorationEvents ()
 
static void registerTimerTriggers (EventType triggerType, std::vector< MapTimer > *triggers)
 
void eventProcessor (int eventId, Pid targetObj, bool canShowMessages, int startStep)
 
bool npcDialogueEventProcessor (int eventId, int startStep)
 
bool hasEventHint (int eventId)
 
std::string getEventHintString (int eventId)
 
static void registerEventTriggers ()
 
void onMapLoad ()
 
void onMapLeave ()
 
static void checkTimer (MapTimer &timer)
 
void onTimer ()
 

Variables

static std::vector< EventTriggeronMapLoadTriggers
 
static std::vector< EventTriggeronMapLeaveTriggers
 
static std::vector< MapTimeronLongTimerTriggers
 
static std::vector< MapTimeronTimerTriggers
 
static std::vector< int > decorationsWithEvents
 
static Time timerGuard
 
int savedEventID
 
int savedEventStep
 
LevelDecorationsavedDecoration
 

Function Documentation

◆ checkDecorationEvents()

void checkDecorationEvents ( )
Original binary offset:
0x46CC4B

◆ checkTimer()

static void checkTimer ( MapTimer timer)
static

◆ eventProcessor()

void eventProcessor ( int  eventId,
Pid  targetObj,
bool  canShowMessages,
int  startStep 
)

◆ getEventHintString()

std::string getEventHintString ( int  eventId)

◆ hasEventHint()

bool hasEventHint ( int  eventId)

◆ initDecorationEvents()

void initDecorationEvents ( )
Original binary offset:
0x4613C4

◆ npcDialogueEventProcessor()

bool npcDialogueEventProcessor ( int  eventId,
int  startStep 
)

◆ onMapLeave()

void onMapLeave ( )

◆ onMapLoad()

void onMapLoad ( )

◆ onTimer()

void onTimer ( )

◆ registerEventTriggers()

static void registerEventTriggers ( )
static

◆ registerTimerTriggers()

static void registerTimerTriggers ( EventType  triggerType,
std::vector< MapTimer > *  triggers 
)
static

Variable Documentation

◆ decorationsWithEvents

std::vector<int> decorationsWithEvents
static

◆ onLongTimerTriggers

std::vector<MapTimer> onLongTimerTriggers
static

◆ onMapLeaveTriggers

std::vector<EventTrigger> onMapLeaveTriggers
static

◆ onMapLoadTriggers

std::vector<EventTrigger> onMapLoadTriggers
static

◆ onTimerTriggers

std::vector<MapTimer> onTimerTriggers
static

◆ savedDecoration

LevelDecoration* savedDecoration

◆ savedEventID

int savedEventID

◆ savedEventStep

int savedEventStep

◆ timerGuard

Time timerGuard
static