projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Crahing bug fixed :)
[rodin/chimara.git]
/
libchimara
/
chimara-glk-private.h
diff --git
a/libchimara/chimara-glk-private.h
b/libchimara/chimara-glk-private.h
index 3b1460a812c124de8a438c54e57e42cd4a9472fd..99e858992b42f1012e6e9e032cd04f8f7a0a9815 100644
(file)
--- a/
libchimara/chimara-glk-private.h
+++ b/
libchimara/chimara-glk-private.h
@@
-34,6
+34,9
@@
struct _ChimaraGlkPrivate {
/* Hashtable containing the default and current style */
struct StyleSet *default_styles;
struct StyleSet *current_styles;
/* Hashtable containing the default and current style */
struct StyleSet *default_styles;
struct StyleSet *current_styles;
+ gboolean style_initialized; /* Have styles been initialized */
+ /* Final message displayed when game exits */
+ gchar *final_message;
/* *** Threading data *** */
/* Whether program is running */
/* *** Threading data *** */
/* Whether program is running */
@@
-50,6
+53,9
@@
struct _ChimaraGlkPrivate {
/* Abort mechanism */
GMutex *abort_lock;
gboolean abort_signalled;
/* Abort mechanism */
GMutex *abort_lock;
gboolean abort_signalled;
+ /* Key press after shutdown mechanism */
+ GMutex *shutdown_lock;
+ GCond *shutdown_key_pressed;
/* Window arrangement locks */
GMutex *arrange_lock;
GCond *rearranged;
/* Window arrangement locks */
GMutex *arrange_lock;
GCond *rearranged;
@@
-58,6
+64,11
@@
struct _ChimaraGlkPrivate {
/* Input queues */
GAsyncQueue *char_input_queue;
GAsyncQueue *line_input_queue;
/* Input queues */
GAsyncQueue *char_input_queue;
GAsyncQueue *line_input_queue;
+ /* Resource loading locks */
+ GMutex *resource_lock;
+ GCond *resource_loaded;
+ GCond *resource_info_available;
+ guint32 resource_available;
/* *** Glk library data *** */
/* User-defined interrupt handler */
/* *** Glk library data *** */
/* User-defined interrupt handler */
@@
-91,7
+102,7
@@
struct _ChimaraGlkPrivate {
#define CHIMARA_GLK_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), CHIMARA_TYPE_GLK, ChimaraGlkPrivate))
#define CHIMARA_GLK_USE_PRIVATE(o, n) ChimaraGlkPrivate *n = CHIMARA_GLK_PRIVATE(o)
#define CHIMARA_GLK_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), CHIMARA_TYPE_GLK, ChimaraGlkPrivate))
#define CHIMARA_GLK_USE_PRIVATE(o, n) ChimaraGlkPrivate *n = CHIMARA_GLK_PRIVATE(o)
-
+
G_END_DECLS
#endif /* __CHIMARA_GLK_PRIVATE_H__ */
G_END_DECLS
#endif /* __CHIMARA_GLK_PRIVATE_H__ */