Isle
Loading...
Searching...
No Matches
isleapp.cpp File Reference
#include "isleapp.h"
#include "3dmanager/lego3dmanager.h"
#include "decomp.h"
#include "legoanimationmanager.h"
#include "legobuildingmanager.h"
#include "legogamestate.h"
#include "legoinputmanager.h"
#include "legomain.h"
#include "legomodelpresenter.h"
#include "legopartpresenter.h"
#include "legoutils.h"
#include "legovideomanager.h"
#include "legoworldpresenter.h"
#include "misc.h"
#include "mxbackgroundaudiomanager.h"
#include "mxdirectx/mxdirect3d.h"
#include "mxdsaction.h"
#include "mxmisc.h"
#include "mxomnicreateflags.h"
#include "mxomnicreateparam.h"
#include "mxstreamer.h"
#include "mxticklemanager.h"
#include "mxtimer.h"
#include "mxtransitionmanager.h"
#include "mxvariabletable.h"
#include "res/resource.h"
#include "roi/legoroi.h"
#include "viewmanager/viewmanager.h"
#include <dsound.h>
Include dependency graph for isleapp.cpp:

Go to the source code of this file.

Macros

#define WNDCLASS_NAME   "Lego Island MainNoM App"
 
#define WINDOW_TITLE   "LEGO\xAE"
 

Functions

BOOL FindExistingInstance ()
 
BOOL StartDirectSound ()
 
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
 
LRESULT WINAPI WndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Variables

IsleAppg_isle = NULL
 
unsigned char g_mousedown = 0
 
unsigned char g_mousemoved = 0
 
BOOL g_closed = FALSE
 
RECT g_windowRect = {0, 0, 640, 480}
 
BOOL g_rmDisabled = FALSE
 
BOOL g_waitingForTargetDepth = TRUE
 
int g_targetWidth = 640
 
int g_targetHeight = 480
 
int g_targetDepth = 16
 
BOOL g_reqEnableRMDevice = FALSE
 

Macro Definition Documentation

◆ WINDOW_TITLE

#define WINDOW_TITLE   "LEGO\xAE"

Definition at line 72 of file isleapp.cpp.

◆ WNDCLASS_NAME

#define WNDCLASS_NAME   "Lego Island MainNoM App"

Definition at line 69 of file isleapp.cpp.

Function Documentation

◆ FindExistingInstance()

BOOL FindExistingInstance ( )

Definition at line 344 of file isleapp.cpp.

◆ StartDirectSound()

BOOL StartDirectSound ( )

Definition at line 357 of file isleapp.cpp.

◆ WinMain()

int WINAPI WinMain ( HINSTANCE  hInstance,
HINSTANCE  hPrevInstance,
LPSTR  lpCmdLine,
int  nShowCmd 
)

Definition at line 235 of file isleapp.cpp.

◆ WndProc()

LRESULT WINAPI WndProc ( HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 370 of file isleapp.cpp.

Variable Documentation

◆ g_closed

BOOL g_closed = FALSE

Definition at line 45 of file isleapp.cpp.

◆ g_isle

IsleApp* g_isle = NULL

Definition at line 36 of file isleapp.cpp.

◆ g_mousedown

unsigned char g_mousedown = 0

Definition at line 39 of file isleapp.cpp.

◆ g_mousemoved

unsigned char g_mousemoved = 0

Definition at line 42 of file isleapp.cpp.

◆ g_reqEnableRMDevice

BOOL g_reqEnableRMDevice = FALSE

Definition at line 66 of file isleapp.cpp.

◆ g_rmDisabled

BOOL g_rmDisabled = FALSE

Definition at line 51 of file isleapp.cpp.

◆ g_targetDepth

int g_targetDepth = 16

Definition at line 63 of file isleapp.cpp.

◆ g_targetHeight

int g_targetHeight = 480

Definition at line 60 of file isleapp.cpp.

◆ g_targetWidth

int g_targetWidth = 640

Definition at line 57 of file isleapp.cpp.

◆ g_waitingForTargetDepth

BOOL g_waitingForTargetDepth = TRUE

Definition at line 54 of file isleapp.cpp.

◆ g_windowRect

RECT g_windowRect = {0, 0, 640, 480}

Definition at line 48 of file isleapp.cpp.