Last change
on this file since 673 was
673,
checked in by guerin, 9 years ago
|
raycast: initial port
Raycast is a small game that looks like Wolfenstein 3D. I created
it for my SESI project, on a Cortex M4 devboard.
Imported from
github.com/libcg/tiva-c/tree/master/boards/dk-tm4c129x/upmc_raycast
|
File size:
249 bytes
|
Rev | Line | |
---|
[673] | 1 | #include "game.h" |
---|
| 2 | #include "disp.h" |
---|
| 3 | #include <stdio.h> |
---|
| 4 | |
---|
| 5 | // Exported functions |
---|
| 6 | |
---|
| 7 | __attribute__((constructor)) void main() |
---|
| 8 | { |
---|
| 9 | giet_tty_alloc(0); |
---|
| 10 | giet_tty_printf("[RAYCAST] entering main()\n"); |
---|
| 11 | |
---|
| 12 | dispInit(); |
---|
| 13 | |
---|
| 14 | while (1) { |
---|
| 15 | gameRun(); |
---|
| 16 | } |
---|
| 17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.