Commit ae7fe2e6 authored by Timothy LAIRD's avatar Timothy LAIRD

merge fix

parent 032bace8
......@@ -10,3 +10,4 @@ doc/html
nw-*
config
*.o
risk
\ No newline at end of file
......@@ -18,7 +18,7 @@ include_directories(${PROJECT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/src)
include_directories( ${PROJECT_SOURCE_DIR}/dpd/include )
link_directories( ${PROJECT_SOURCE_DIR}/dpd )
add_executable(nw-viewer src/main-viewer.c src/networld.c src/controlpanel.c src/entity.c src/player.c src/random-map.c src/graphical-aspect.c src/window-manager.c src/menu-button.c src/main-menu.c src/int-input.c src/options-menu.c)
add_executable(risk src/main-viewer.c src/networld.c src/controlpanel.c src/entity.c src/player.c src/random-map.c src/graphical-aspect.c src/window-manager.c src/menu-button.c src/main-menu.c src/int-input.c src/options-menu.c)
target_link_libraries(risk raylib pthread dl rt X11 m)
......
......@@ -9,4 +9,4 @@ cmake ..
make
# Outputs
cp nw-viewer ..
cp risk ..
......@@ -101,7 +101,7 @@ void Panel_drawGame(Panel * self)
Panel_drawNode( self, &(self->world->nodes[i]) );
}
//Panel_drawBasis(self);
//EndDrawing();
EndDrawing();
}
void Panel_drawBasis(Panel * self)
......
......@@ -62,7 +62,6 @@ int main(int nbArg, char ** arg)
{
DrawFPS(10, 10);
Window_Manager_display(manager);
switch (manager->display)
{
case main_menu:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment