home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Maps are always squares, therefore define only their edge lengths.
[plomrogue]
/
src
/
client
/
windows.h
diff --git
a/src/client/windows.h
b/src/client/windows.h
index dd03d8b151138079c0dbd1884c632be391b0d026..e2d39c29770a5fdf360282dd7e476cfe5eb617a4 100644
(file)
--- a/
src/client/windows.h
+++ b/
src/client/windows.h
@@
-26,11
+26,16
@@
#include <ncurses.h> /* WINDOW, chtype */
#include <stdint.h> /* uint8_t, int16_t, uint16_t, uint32_t */
#include <ncurses.h> /* WINDOW, chtype */
#include <stdint.h> /* uint8_t, int16_t, uint16_t, uint32_t */
-#include "../common/yx_uint16.h" /* yx_uint16 struct */
#include "keybindings.h" /* struct KeyBindingDB */
#include "keybindings.h" /* struct KeyBindingDB */
+struct yx_uint16
+{
+ uint16_t y;
+ uint16_t x;
+};
+
struct WinDB
{
WINDOW * t_screen; /* ncurses' pointer to the terminal screen */
struct WinDB
{
WINDOW * t_screen; /* ncurses' pointer to the terminal screen */