Main: move global variables to struct Instance

More preparations for multi-player support.
This commit is contained in:
Max Kellermann
2013-04-17 22:58:33 +02:00
parent 08dfd263ba
commit b2d3d15e97
12 changed files with 149 additions and 38 deletions

View File

@@ -23,14 +23,13 @@
#include <glib.h>
class EventLoop;
struct Instance;
extern GThread *main_task;
extern EventLoop *main_loop;
extern class ClientList *client_list;
extern struct Partition *global_partition;
extern Instance *instance;
/**
* A entry point for application.