-/* A trigger that sets a flag whenever it's trigged. */
-class FlagTrigger : pqxx::trigger {
-private:
- bool flag;
-
-public:
- FlagTrigger(pqxx::connection_base &conn, const PGSTD::string &name)
- : pqxx::trigger(conn, name), flag(false) {}
- virtual ~FlagTrigger() throw () {}
-
- virtual void operator() (int pid)
- {
- flag = true;
- std::fprintf(stderr, "Received a flag trigger from pid %u\n", pid);
- }
+Tournament active_tournament;
+std::vector<SkeletonGroup> active_groups;
+std::vector<GenericScreen *> screens;
+SplitScreen *mainscreen = NULL;
+unsigned char framebuf[800 * 600 * 4], screenbuf[800 * 600 * 4];