~ubuntu-branches/ubuntu/maverick/btanks/maverick

« back to all changes in this revision

Viewing changes to engine/src/window.h

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2010-01-17 00:02:57 UTC
  • mfrom: (4.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100117000257-iw6esnvsz1rvp6kb
Tags: 0.9.8083-2
* Fix build failure when building only arch-specific package.
* debian/control: Add DM-Upload-Allowed: yes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define __BTANKS_WINDOW_H__
3
3
 
4
4
/* Battle Tanks Game
5
 
 * Copyright (C) 2006-2008 Battle Tanks team
 
5
 * Copyright (C) 2006-2009 Battle Tanks team
6
6
 *
7
7
 * This program is free software; you can redistribute it and/or
8
8
 * modify it under the terms of the GNU General Public License
43
43
 
44
44
        //signals
45
45
        sl08::signal1<void, const SDL_Event& > event_signal;
46
 
        sl08::signal1<void, const float> tick_signal;
 
46
        sl08::signal1<bool, float, sl08::exclusive_validator<bool> > tick_signal;
47
47
        sl08::signal2<bool, const SDL_keysym, const bool, sl08::exclusive_validator<bool> > key_signal;
48
48
        sl08::signal3<void, const int, const int, const bool> joy_button_signal;
49
49
        sl08::signal4<bool, const int, const bool, const int, const int, sl08::exclusive_validator<bool> > mouse_signal;
84
84
        float _fr;
85
85
};
86
86
 
87
 
SINGLETON(BTANKSAPI, Window, IWindow);
 
87
PUBLIC_SINGLETON(BTANKSAPI, Window, IWindow);
88
88
 
89
89
#endif