Skip to content

Commit

Permalink
Release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-graj committed May 2, 2022
1 parent 042fe18 commit 2636faf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#define PACKAGE_NAME "Doom ASCII"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Doom ASCII 0.1.0"
#define PACKAGE_STRING "Doom ASCII 0.1.1"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "doom_ascii.tar"
Expand All @@ -91,7 +91,7 @@
#define STDC_HEADERS 1

/* Version number of package */
#define VERSION 0.1.0
#define VERSION 0.1.1

/* Define to 1 if you want to compile the unmodified code */
#undef ORIGCODE
Expand Down
7 changes: 7 additions & 0 deletions src/doomgeneric_ascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ void DG_Init()

void DG_DrawFrame()
{
/* Clear screen if first frame */
static bool first_frame = true;
if (first_frame) {
first_frame = false;
fputs("\033[1;1H\033[2J", stdout);
}

/* fill output buffer */
uint32_t color = 0xFFFFFF00;
unsigned row, col;
Expand Down

0 comments on commit 2636faf

Please sign in to comment.