ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
begin_gameloop.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void begin_gameloop (Environment *_environment)
 Emit ASM code for BEGIN GAMELOOP.

Function Documentation

◆ begin_gameloop()

void begin_gameloop ( Environment * _environment)

Emit ASM code for BEGIN GAMELOOP.

This function is called to emit the code necessary to define the starting point of a game loop. A game loop is nothing more than an implicit loop, within which all the logic of the program (or of the game) runs. The end point of a game loop can correspond to the end of the program or to the END GAMELOOP statement.

Parameters
_environmentCurrent calling environment

Definition at line 55 of file begin_gameloop.c.