mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-16 16:09:42 +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
194 B
C
16 lines
194 B
C
#ifndef LOGIC_H
|
|
#define LOGIC_H
|
|
|
|
void titleupdatetextcol();
|
|
|
|
void titlelogic();
|
|
|
|
void maplogic();
|
|
|
|
void gamecompletelogic();
|
|
|
|
void gamecompletelogic2();
|
|
|
|
void gamelogic();
|
|
|
|
#endif /* LOGIC_H */
|