diff options
| author | Preston Pan <preston@nullring.xyz> | 2023-02-06 20:11:03 -0800 |
|---|---|---|
| committer | Preston Pan <preston@nullring.xyz> | 2023-02-06 20:11:38 -0800 |
| commit | d9b0f00ebec0c90a70bc823f8d3eb5af1128a605 (patch) | |
| tree | 95f440f907b3cb398194f2db27b58a8d4f4041db /tetris.c | |
| parent | 0d8e3fb79c4de063991b923adcc599a86d2c8cb6 (diff) | |
committing before pull
Diffstat (limited to 'tetris.c')
| -rw-r--r-- | tetris.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,6 +1,8 @@ #include <stdlib.h> #include <stdio.h> #include <signal.h> +#include <sys/ioctl.h> +#include <string.h> #define UNUSED(x) (void)(x) @@ -12,12 +14,21 @@ void interrupt_handler(int sig) { g_int_ctrl_c = 1; } +void parse_args(int argc, char **argv) { + +} +void die(void) { + +} int main (int argc, char **argv) { + parse_args(argc, argv); int width; int height; /* handle SIGINT interrupts */ signal(SIGINT, interrupt_handler); + /* Hide cursor */ + print("\033[?251"); /* Game Loop */ while (1) { } |
