mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-10 19:09:45 +01:00
b5ff65c84e
Including a header file inside another header file means a bunch of files are going to be unnecessarily recompiled whenever that inner header file is changed. So I minimized the amount of header files included in a header file, and only included the ones that were necessary (system includes don't count, I'm only talking about includes from within this project). Then the includes are only in the .cpp files themselves. This also minimizes problems such as a NO_CUSTOM_LEVELS build failing because some file depended on an include that got included in editor.h, which is another benefit of removing unnecessary includes from header files.
16 lines
200 B
C
16 lines
200 B
C
#ifndef RENDER_H
|
|
#define RENDER_H
|
|
|
|
void titlerender();
|
|
|
|
void gamerender();
|
|
|
|
void maprender();
|
|
|
|
void teleporterrender();
|
|
|
|
void gamecompleterender();
|
|
|
|
void gamecompleterender2();
|
|
|
|
#endif /* RENDER_H */
|