Vim audoindent is broken, manually fix...

main
Cameron Murphy Reikes 2 years ago
parent 4d79e96d84
commit 8783c057e6

@ -2936,14 +2936,14 @@ void frame(void)
{
Entity *targeting = player;
/*
G cost: distance from the current node to the start node
H cost: distance from the current node to the target node
/*
G cost: distance from the current node to the start node
H cost: distance from the current node to the target node
G H
G H
SUM
F cost: G + H
*/
F cost: G + H
*/
Vec2 to = targeting->pos;
PathCache *cached = get_path_cache(elapsed_time, it->cached_path);
@ -4498,17 +4498,17 @@ F cost: G + H
pressed = (PressedState) { 0 };
}
}
}
void cleanup(void)
{
void cleanup(void)
{
sg_shutdown();
hmfree(imui_state);
Log("Cleaning up\n");
}
}
void event(const sapp_event *e)
{
void event(const sapp_event *e)
{
if (e->key_repeat) return;
if (e->type == SAPP_EVENTTYPE_TOUCHES_BEGAN)
{
@ -4728,10 +4728,10 @@ F cost: G + H
#endif
if (!ignore_movement) mouse_pos = V2(e->mouse_x, (float)sapp_height() - e->mouse_y);
}
}
}
sapp_desc sokol_main(int argc, char* argv[])
{
sapp_desc sokol_main(int argc, char* argv[])
{
(void)argc; (void)argv;
return (sapp_desc) {
.init_cb = init,
@ -4746,4 +4746,4 @@ F cost: G + H
.win32_console_create = true,
.icon.sokol_default = true,
};
}
}

Loading…
Cancel
Save