Dominik Madarász 2023-08-14 20:01:39 +02:00
parent 6f196a9fb6
commit ec6e6c0e95
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ void draw_scene() {
for( int y = oz; y < (oz+dd); ++y ) for( int y = oz; y < (oz+dd); ++y )
for( int x = ox; x < (ox+ww); ++x ) for( int x = ox; x < (ox+ww); ++x )
chunk[ (x + W/2) + (y + Z/2) * W ] |= 1; chunk[ (x + W/2) + min(y + Z/2, Z-1) * W ] |= 1;
} }
ddraw_color(BLUE); ddraw_color(BLUE);
@ -260,4 +260,4 @@ void move_players() {
ui_label2("Robot", ICON_MD_GAMEPAD " I,J,K,L keys"); ui_label2("Robot", ICON_MD_GAMEPAD " I,J,K,L keys");
ui_panel_end(); ui_panel_end();
} }
} }

View File

@ -1,4 +1,4 @@
; this is where you specify and configure the V4K pipeline. ; this is where you specify and configure the FWK pipeline.
; tweak the pipeline and add new importers just by editing this file. ; tweak the pipeline and add new importers just by editing this file.
; there is no flow control in this script file: lines are parsed and evaluated, from top to bottom. ; there is no flow control in this script file: lines are parsed and evaluated, from top to bottom.