ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/daodan_gl.h
Revision: 326
Committed: Thu May 28 10:33:59 2009 UTC (16 years, 4 months ago) by rossy
Content type: text/x-chdr
File size: 473 byte(s)
Log Message:
This is the first "non-working" commit of Daodan. For this reason, the last fully working release is in the /release/ folder while the current build is in the /build/ folder. The reason it's not working is that I'm trying to write a "proper" windowed mode by replacing ONrPlatform_Initialize and gl_platform_initialize. I'm currently in the middle of rewriting gl_platform_initialize and Oni's draw engine doesn't like the new code.

File Contents

# Content
1 #pragma once
2 #ifndef DAODAN_GL_H
3 #define DAODAN_GL_H
4
5 #include "Daodan.h"
6 #include "BFW_Motoko_Draw.h"
7
8 #include "oni_gl.h"
9
10 void init_daodan_gl();
11 void update_cdmode();
12 unsigned int ONICALL daodan_enumerate_valid_display_modes(M3tDisplayMode modes[16]);
13 bool daodan_testmode(M3tDisplayMode mode);
14 int daodan_set_display_mode(short width, short height, short depth);
15 void daodan_set_gamma(float gamma);
16 int ONICALL daodangl_platform_initialize();
17
18 #endif