Skip to content

Instantly share code, notes, and snippets.

View CodeDiseaseDev's full-sized avatar
:electron:
Stop using electron... please

Code Disease Dev CodeDiseaseDev

:electron:
Stop using electron... please
View GitHub Profile
@lynxluna
lynxluna / main.c
Created December 8, 2012 22:01
Win32 Game Loop
#include <Windows.h>
#include <tchar.h>
#define CURRENT_WND_CLASS _T("GameWndClass_Didiet")
#define DEF_CX 800
#define DEF_CY 600
LRESULT CALLBACK WndProc( HWND, UINT, WPARAM, LPARAM );
INT WINAPI _tWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow )