Last change
on this file since 427 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:
453 bytes
|
Rev | Line | |
---|
[273] | 1 | #pragma once
|
---|
| 2 | #ifndef ONI_H
|
---|
| 3 | #define ONI_H
|
---|
| 4 |
|
---|
[326] | 5 | #include "Daodan.h"
|
---|
| 6 |
|
---|
[322] | 7 | typedef struct
|
---|
| 8 | {
|
---|
| 9 | HINSTANCE Instance;
|
---|
| 10 | HWND Window;
|
---|
| 11 | } ONtPlatformData;
|
---|
| 12 |
|
---|
[273] | 13 | void __cdecl ONiMain(int ArgCount, char *ArgList[]);
|
---|
[322] | 14 | short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
|
---|
[323] | 15 | LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
|
---|
[273] | 16 |
|
---|
[323] | 17 | extern HINSTANCE g_Instance;
|
---|
[326] | 18 | extern ONtPlatformData ONgPlatformData;
|
---|
[323] | 19 |
|
---|
[273] | 20 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.