|
|
|
|
@ -5,6 +5,7 @@
|
|
|
|
|
// - pathfinding
|
|
|
|
|
// - assimp animation
|
|
|
|
|
// - update imgui to v1.62 -- requires changes to example api
|
|
|
|
|
// - add prefix to interface function names for eg) gooey.h, renderer.h
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// Some defaults for the game layout
|
|
|
|
|
@ -191,7 +192,6 @@ updateHexConeFill(int32 x, int32 y)
|
|
|
|
|
if (hxi && (hxi != g_game_state->current_hex) && g_game_state->start_hex) |
|
|
|
|
{ |
|
|
|
|
g_game_state->current_hex = hxi; |
|
|
|
|
vector<Hex> hexes = hex_conefill(g_game_state->start_hex->hex, hxi->hex); |
|
|
|
|
|
|
|
|
|
// TODO: Remove debug code here and from gooey.h
|
|
|
|
|
Point p1(g_game_state->start_hex->XPos, g_game_state->start_hex->YPos); |
|
|
|
|
@ -231,10 +231,10 @@ updateHexConeFill(int32 x, int32 y)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
g_polygon_select_vertices[0].x = p1.x; g_polygon_select_vertices[0].y = p1.y; |
|
|
|
|
g_polygon_select_vertices[1].x = vert2.x; g_polygon_select_vertices[1].y = vert2.y; |
|
|
|
|
g_polygon_select_vertices[2].x = p2.x; g_polygon_select_vertices[2].y = p2.y; |
|
|
|
|
g_polygon_select_vertices[3].x = vert4.x; g_polygon_select_vertices[3].y = vert4.y; |
|
|
|
|
g_polygon_select_vertices[0] = p1; |
|
|
|
|
g_polygon_select_vertices[1] = vert2; |
|
|
|
|
g_polygon_select_vertices[2] = p2; |
|
|
|
|
g_polygon_select_vertices[3] = vert4; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|