Last change
on this file since 336 was 326, checked in by rossy, 16 years ago |
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 size:
473 bytes
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.