#include <windows.h>
#include <windowsx.h>
#include "../Globals.h"
#include "../Application.h"
#include "../../Util/Timer.h"
#include "resource.h"
Include dependency graph for Windows.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | WIN32_LEAN_AND_MEAN |
#define | _WINSOCKAPI_ |
Functions | |
LRESULT CALLBACK | DlgProcSetup (HWND hWndDlg, UINT msg, WPARAM wParam, LPARAM lParam) |
LRESULT CALLBACK | WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
int WINAPI | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) |
Variables | |
Application * | app |
|
|
|
Author: Petter Alstermark, petter@alstermark.com |
|
Author: Petter Alstermark, petter@alstermark.com case 0: g_fullscreenWidth = 640; g_fullscreenHeight = 480; g_bitsPerPixel = 16; MessageBox(hWndDlg, "640x480 - 16bit","Notification", MB_OK); break; case 2: g_fullscreenWidth = 800; g_fullscreenHeight = 600; g_bitsPerPixel = 16; MessageBox(hWndDlg, "800x600 - 16bit","Notification", MB_OK); break; case 4: g_fullscreenWidth = 1024; g_fullscreenHeight = 768; g_bitsPerPixel = 16; MessageBox(hWndDlg, "1024x768 - 16bit","Notification", MB_OK); break; g_windowLeft = 10; g_windowRight = 800 + g_windowLeft; g_windowTop = 10; g_windowBottom = 600 + g_windowTop; Definition at line 14 of file Windows.cpp. References g_bitsPerPixel, g_fullscreen, g_fullscreenHeight, g_fullscreenWidth, g_running, g_windowBottom, g_windowLeft, g_windowRight, g_windowTop, IDC_FULLSCREEN, and IDC_RESOLUTION. Referenced by WinMain(). |
|
Definition at line 207 of file Windows.cpp. References app, Application::checkMouse(), Application::createWindow(), Application::deInitialize(), Application::destroyWindow(), DlgProcSetup(), Application::drawFrame(), g_fps, g_frames, g_frameTime, g_fullscreen, g_fullscreenHeight, g_fullscreenWidth, g_middleX, g_middleY, g_running, g_time, g_toggleFullscreen, g_visible, g_windowBottom, g_windowLeft, g_windowRight, g_windowTop, Timer::getFPS(), Timer::getFrameTime(), Application::hWnd, IDC_TARGET, IDD_SETUP, IDI_ICON1, Timer::init(), initGlobals(), Application::initialize(), Application::load(), LOG_CLOSE, LOG_ERROR, LOG_FILE, LOG_SUCCESS, Application::unload(), Application::update(), Timer::update(), and WndProc(). Here is the call graph for this function: ![]() |
|
Definition at line 116 of file Windows.cpp. References app, g_fps, g_fullscreen, g_height, g_middleX, g_middleY, g_running, g_toggleFullscreen, g_visible, g_width, g_windowBottom, g_windowLeft, g_windowRight, g_windowTop, Application::handleChar(), Application::keyDown(), MOUSE_LEFT, MOUSE_RIGHT, Application::setKey(), Application::setMouseButton(), Application::setViewport(), and WM_TOGGLEFULLSCREEN. Referenced by WinMain(). Here is the call graph for this function: ![]() |
|
Main.cpp Author: Petter Alstermark, petter@alstermark.com Definition at line 9 of file DeFacto/Main.cpp. Referenced by MS_Material::activate(), MS_Material::clear(), Explosion::drawAndUpdate(), Console::process(), MS_Material::reloadTexture(), WinMain(), and WndProc(). |