less cringe

This commit is contained in:
kdx 2023-03-23 22:29:27 +01:00
parent 6a0392d7a0
commit 303393050d
2 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ set(ASSETS
fxconv_declare_assets(${ASSETS} WITH_METADATA)
add_executable(myaddin ${SOURCES} ${ASSETS} ${ASSETS_${FXSDK_PLATFORM}})
target_compile_options(myaddin PRIVATE -Wall -Wextra -Os)
target_compile_options(myaddin PRIVATE -Wall -Wextra -O2)
target_link_libraries(myaddin Gint::Gint)
generate_g3a(TARGET myaddin OUTPUT "hyperultra.g3a" NAME ""

View File

@ -66,10 +66,10 @@ draw_outline(int x, int y)
const int down = (map_get(x, y + 1) == 1);
x *= TSIZE;
y *= TSIZE;
if (!left) LZY_DrawRect(x, y, 1, TSIZE);
if (!right) LZY_DrawRect(x + TSIZE - 1, y, 1, TSIZE);
if (!up) LZY_DrawRect(x, y, TSIZE, 1);
if (!down) LZY_DrawRect(x, y + TSIZE - 1, TSIZE, 1);
if (!left) LZY_DrawFillRect(x, y, 1, TSIZE);
if (!right) LZY_DrawFillRect(x + TSIZE - 1, y, 1, TSIZE);
if (!up) LZY_DrawFillRect(x, y, TSIZE, 1);
if (!down) LZY_DrawFillRect(x, y + TSIZE - 1, TSIZE, 1);
}
void