#include <windows.h>
#include <d3dx9.h>
#include "sources/system/GlobalsSystem.h"
#include "sources/math/includes.h"
#include "sources/graphic/includes.h"
#include "sources/math/MathTest.h"
Include dependency graph for main.cpp:
Go to the source code of this file.
Defines | |
#define | APPNAME "Joy4D Framework" |
Main program. | |
Functions | |
HWND | InitWindow (void) |
This fucntion creates application window. | |
LRESULT CALLBACK | MsgProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
This is application message procedure. | |
void | TestFunction () |
This is testing function which is called from WinMain before MainLoop. | |
void | MainLoop (void) |
This is main loop function for our program. | |
int _stdcall | WinMain (HINSTANCE h_instance, HINSTANCE h_prev_instance, LPSTR cmdline, int how_to_show) |
Entry-point function of program. |
|
Main program. Author: Tomas Mrkvicka xmrkvi03@stud.fit.vutbr.cz Version: 1.0 Updates: -------- NEW VERSION DATE AUTHOR COMMENTS ----------- -------- ------ -------- 1.0 23-07-06 Tomas Mrkvicka File created. Definition at line 23 of file main.cpp. Referenced by InitWindow(). |
|
This fucntion creates application window.
Definition at line 161 of file main.cpp. References APPNAME, and MsgProc(). Referenced by WinMain(). Here is the call graph for this function: ![]() |
|
This is main loop function for our program.
Definition at line 49 of file main.cpp. References TRenderer::Clear(), FALSE, TGlobalsGraphic::GetRenderer(), TRenderer::Present(), and TRUE. Referenced by WinMain(). Here is the call graph for this function: ![]() |
|
This is application message procedure.
Definition at line 205 of file main.cpp. Referenced by InitWindow(). |
|
This is testing function which is called from WinMain before MainLoop.
Definition at line 39 of file main.cpp. References TMathTest::AllTests(). Referenced by WinMain(). Here is the call graph for this function: ![]() |
|
Entry-point function of program.
Definition at line 93 of file main.cpp. References TGlobalsGraphic::Destroy(), TGlobalsMath::Destroy(), TGlobalsSystem::Destroy(), TGlobalsSystem::GetLogFile(), TGlobalsGraphic::Initialize(), TGlobalsMath::Initialize(), TGlobalsSystem::Initialize(), InitWindow(), MainLoop(), TestFunction(), and TLogFile::Write(). Here is the call graph for this function: ![]() |