Add comments to main.c

This commit is contained in:
Out Of Ideas 2024-05-10 10:25:05 -05:00
parent 82b3d3622b
commit b25e4282b5
1 changed files with 22 additions and 6 deletions

28
main.c
View File

@ -1,20 +1,36 @@
/* Quadrimino
*
* Highly configurable, terminal modern Tetris clone written in C.
*
* All code including local libraries are available in the public domain
* under the Unlicense.
*
* To understand everything else, start reading main().
*/
/* System/Libc Headers */
/* Required for input handling and screen painting */
#include <curses.h>
/* Required for time implementation */
#include <time.h>
/* Standard libraries */
#include <stdio.h>
#include <stdlib.h>
/* Local Headers */
/* Required to read config file */
#define INI_IMPLEMENTATION
#include <ini.h>
/* Required for input handling and screen painting */
#include <curses.h>
/* Required for randomized piece shuffling */
#define RND_IMPLEMENTATION
#include <rnd.h>
#include <stdio.h>
#include <stdlib.h>
/* Main function */
int main() {
return 0;
}