home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced random movement by enemies with a pretty dumb AI of "move in direction of...
[plomrogue]
/
src
/
wincontrol.h
diff --git
a/src/wincontrol.h
b/src/wincontrol.h
index 58b99b2a8453e053cdd76c8c07aeb59a2e1ac69e..7250aa65253a102500ea99d69dc467d0efcae89d 100644
(file)
--- a/
src/wincontrol.h
+++ b/
src/wincontrol.h
@@
-40,7
+40,7
@@
struct WinConf
extern struct WinConf * get_winconf_by_win(struct Win * win);
extern struct Win * get_win_by_id(char id);
extern struct WinConf * get_winconf_by_win(struct Win * win);
extern struct Win * get_win_by_id(char id);
-/* Create
/initialize (from config files)/free Winconf struct
s. */
+/* Create
, initialize (from config files)/free world.winconfs and their Win
s. */
extern void init_winconfs();
extern void free_winconfs();
extern void init_wins();
extern void init_winconfs();
extern void free_winconfs();
extern void init_wins();
@@
-60,15
+60,15
@@
extern void save_win_configs();
/* Toggle "window configuration" view for active window. Sets sensible
* Win.center values for the various configuration views (for winconf_geometry:
/* Toggle "window configuration" view for active window. Sets sensible
* Win.center values for the various configuration views (for winconf_geometry:
- * y=0, x=0; for winconf_keys: x=0
, y=Winconf.kb.select
).
+ * y=0, x=0; for winconf_keys: x=0
(y is set by draw_winconf_keybindings()
).
*/
extern void toggle_winconfig();
*/
extern void toggle_winconfig();
-/* Toggle WinConf.(height/width)_type. To avoid a positive diff to screen width,
+/* Toggle WinConf.(height/width)_type ("axis" = "y": height; else: width). Avoid
+ * positive diff to screen width (value would be wrongly read as a non-diff),
* width_type toggles to 1 only if world.wmeta->screen's width >= WinConf.width.
*/
* width_type toggles to 1 only if world.wmeta->screen's width >= WinConf.width.
*/
-extern void toggle_win_height_type();
-extern void toggle_win_width_type();
+extern void toggle_win_size_type(char axis);
/* Toggle display of a window identified by "id". */
extern void toggle_window(char id);
/* Toggle display of a window identified by "id". */
extern void toggle_window(char id);