Last change
on this file since 682 was
676,
checked in by guerin, 9 years ago
|
raycast: load textures from misc/
|
File size:
287 bytes
|
Rev | Line | |
---|
[673] | 1 | #include "game.h" |
---|
| 2 | #include "disp.h" |
---|
| 3 | #include <stdio.h> |
---|
[676] | 4 | #include <malloc.h> |
---|
[673] | 5 | |
---|
| 6 | // Exported functions |
---|
| 7 | |
---|
| 8 | __attribute__((constructor)) void main() |
---|
| 9 | { |
---|
| 10 | giet_tty_alloc(0); |
---|
| 11 | giet_tty_printf("[RAYCAST] entering main()\n"); |
---|
| 12 | |
---|
[676] | 13 | heap_init(0, 0); |
---|
[673] | 14 | dispInit(); |
---|
| 15 | |
---|
| 16 | while (1) { |
---|
| 17 | gameRun(); |
---|
| 18 | } |
---|
| 19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.