chore: main cleanup in new files
This commit is contained in:
22
Utils.h
Normal file
22
Utils.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
#include "GL/glew.h"
|
||||
|
||||
// --- DODAJ TO TUTAJ ---
|
||||
#define BITMAP_ID 0x4D42
|
||||
// ---------------------
|
||||
|
||||
// Struktury do obsługi BMP
|
||||
extern BITMAPINFOHEADER bitmapInfoHeader;
|
||||
extern unsigned char* bitmapData;
|
||||
|
||||
void DisableQuickEdit();
|
||||
void CreateConsole();
|
||||
unsigned char* LoadBitmapFile(char* filename, BITMAPINFOHEADER* bitmapInfoHeader);
|
||||
void MakeShadowMatrix(GLfloat shadowMat[16], GLfloat groundplane[4], GLfloat lightpos[4]);
|
||||
void LimitFPS(int targetFPS);
|
||||
void SetDCPixelFormat(HDC hDC);
|
||||
HPALETTE GetOpenGLPalette(HDC hDC);
|
||||
Reference in New Issue
Block a user