Implemented type flexibility for UI.
This commit is contained in:
@@ -49,8 +49,8 @@ void initGame()
|
||||
// stdscr is screen created by initscr()
|
||||
getmaxyx(stdscr, height, width);
|
||||
|
||||
addLinei("x:", &cursor.x, 1, UI_INT);
|
||||
addLinei("y:", &cursor.y, 1, UI_INT);
|
||||
addLine("x:", &cursor.x, 1, UI_INT);
|
||||
addLine("y:", &cursor.y, 1, UI_INT);
|
||||
|
||||
grid = initGrid(width, height);
|
||||
//randomizeGrid(grid);
|
||||
|
||||
Reference in New Issue
Block a user