Last change
on this file since 1647 was
1647,
checked in by sam, 11 years ago
|
build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.
|
-
Property svn:keywords set to
Id
|
File size:
665 bytes
|
Rev | Line | |
---|
[893] | 1 | // |
---|
| 2 | // Lol Engine - Sandbox program |
---|
| 3 | // |
---|
| 4 | // Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net> |
---|
| 5 | // This program is free software; you can redistribute it and/or |
---|
| 6 | // modify it under the terms of the Do What The Fuck You Want To |
---|
| 7 | // Public License, Version 2, as published by Sam Hocevar. See |
---|
| 8 | // http://sam.zoy.org/projects/COPYING.WTFPL for more details. |
---|
| 9 | // |
---|
| 10 | |
---|
| 11 | #if defined HAVE_CONFIG_H |
---|
| 12 | # include "config.h" |
---|
| 13 | #endif |
---|
| 14 | |
---|
| 15 | #include "core.h" |
---|
| 16 | |
---|
[1105] | 17 | class Moo |
---|
| 18 | { |
---|
| 19 | Moo() {} |
---|
| 20 | |
---|
| 21 | virtual int SetState(int state) { return state; } |
---|
| 22 | }; |
---|
| 23 | |
---|
[893] | 24 | using namespace std; |
---|
| 25 | using namespace lol; |
---|
| 26 | |
---|
| 27 | int main(int argc, char **argv) |
---|
| 28 | { |
---|
| 29 | /* Insert any test code here */ |
---|
| 30 | return EXIT_SUCCESS; |
---|
| 31 | } |
---|
| 32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.