|
|
1.1 ! root 1: #ifndef _FE2_H ! 2: #define _FE2_H ! 3: ! 4: /* Do not use directly - they are just locations in STRam */ ! 5: extern unsigned long logscreen, logscreen2, physcreen, physcreen2; ! 6: /* Use these instead. They read the value */ ! 7: #define LOGSCREEN (STRam + STMemory_ReadLong (logscreen)) ! 8: #define LOGSCREEN2 (STRam + STMemory_ReadLong (logscreen2)) ! 9: #define PHYSCREEN (STRam + STMemory_ReadLong (physcreen)) ! 10: #define PHYSCREEN2 (STRam + STMemory_ReadLong (physcreen2)) ! 11: ! 12: struct Point { ! 13: float x, y; ! 14: }; ! 15: ! 16: /* Returns new xpos */ ! 17: int DrawStr (int xpos, int ypos, int col, unsigned char *str, bool shadowed); ! 18: void DrawTriangle (int Ax, int Ay, int Bx, int By, int Cx, int Cy, int col); ! 19: void DrawPoly (struct Point *pt, int len, int col); ! 20: ! 21: #endif /* _FE2_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.