mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-03-15 02:05:13 +01:00
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
191 B
C
16 lines
191 B
C
#ifndef INPUT_H
|
|
#define INPUT_H
|
|
|
|
void titleinput();
|
|
|
|
void gameinput();
|
|
|
|
void mapinput();
|
|
|
|
void teleporterinput();
|
|
|
|
void gamecompleteinput();
|
|
|
|
void gamecompleteinput2();
|
|
|
|
#endif /* INPUT_H */
|