A library for making C developement on the ZXNext smooth
Going for a readable style over performant, the compiler can sort the mess out.
- configure
zpragma.inc
Configure the pragmas for your project here
The main file for your project
Put none code files in here, music, pictures, binary blobs etc...
This is where the make stuff will happen
Source code
Put your .C files in here
Put your .H files in here
The library files, you only need to add ZXNextSmooth.h in main.c you should stayout of here unless you are updating the library...
These are things you should be doing in your code ...
#ifdef "HEADERFILENAME"_H
#define "HEADERFILENAME"_H
... code ...
#endif
static
localise function or variables to the current C file.
static
can be used to persist variables between function when used inside a function.
extern
can be used to reference variables/function defined in other files
Localise function by not adding them to headers that will be used externally