Start 3D rendering
This commit is contained in:
parent
6e068eff2b
commit
edcde03fa3
3 changed files with 74 additions and 0 deletions
4
game.h
4
game.h
|
@ -113,6 +113,8 @@ void LCR_gameInit(void)
|
|||
{
|
||||
for (int i = 0; i < LCR_KEYS_TOTAL; ++i)
|
||||
_LCR_keyStates[i] = 0;
|
||||
|
||||
LCR_rendererInit();
|
||||
}
|
||||
|
||||
void LCR_gameEnd(void)
|
||||
|
@ -136,6 +138,8 @@ for (int i = 0; i < LCR_EFFECTIVE_RESOLUTION_X; ++i)
|
|||
LCR_drawBackground(200 + aaa / 10);
|
||||
LCR_drawSkyStrip(200 + aaa / 10,aaa / 30);
|
||||
|
||||
LCR_render();
|
||||
|
||||
|
||||
aaa = (aaa + 1) % 10000;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue