Skip to content

Commit

Permalink
Raycaster - remove unused variable
Browse files Browse the repository at this point in the history
Also disable -Werror to pass CI. I've cleaned up the stuff that GCC complained about.
  • Loading branch information
Gadgetoid committed Aug 6, 2021
1 parent 7df3f85 commit 6cbfaee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/raycaster/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ blit_executable (raycaster raycaster.cpp)
blit_assets_yaml(raycaster assets.yml)
blit_metadata (raycaster metadata.yml)
target_compile_definitions(raycaster PRIVATE ALLOW_HIRES=0)
set_source_files_properties(raycaster.cpp PROPERTIES COMPILE_FLAGS "-Wall -Werror")
1 change: 0 additions & 1 deletion examples/raycaster/raycaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ void render(uint32_t time) {
}

// draw DOOM guy (phil)
Rect ss_guy_rect(SCREEN_WIDTH - 72, SCREEN_WIDTH - 32, 24, 32);
screen.sprite(Rect(11, 16, 3, 4), Point(0, SCREEN_HEIGHT - 32), player1.facing ? SpriteTransform::HORIZONTAL : 0);

#ifdef SHOW_FPS
Expand Down

0 comments on commit 6cbfaee

Please sign in to comment.