Converted all the variable names from Lode's tutorial style to the one I use in prep for some review and cleanup.
This commit is contained in:
parent
0cbe20af35
commit
51972b0c35
6 changed files with 157 additions and 156 deletions
6
gui.cpp
6
gui.cpp
|
@ -135,7 +135,7 @@ namespace gui {
|
|||
|
||||
void FSM::MOVING(Event ) {
|
||||
if($camera.play_move($rayview)) {
|
||||
System::plan_motion(*$level.world, {size_t($camera.targetX), size_t($camera.targetY)});
|
||||
System::plan_motion(*$level.world, {size_t($camera.target_x), size_t($camera.target_y)});
|
||||
run_systems();
|
||||
state(State::IDLE);
|
||||
}
|
||||
|
@ -272,8 +272,8 @@ namespace gui {
|
|||
"pos: {:>2.02},{:>2.02}\n\n",
|
||||
$stats.mean(), $stats.stddev(), $stats.min,
|
||||
$stats.max, $stats.n, VSYNC,
|
||||
FRAME_LIMIT, DEBUG_BUILD, $rayview.$dirX,
|
||||
$rayview.$dirY, $rayview.$posX, $rayview.$posY));
|
||||
FRAME_LIMIT, DEBUG_BUILD, $rayview.$dir_x,
|
||||
$rayview.$dir_y, $rayview.$pos_x, $rayview.$pos_y));
|
||||
|
||||
$window.draw($text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue