source: trunk/src/platform/sdl/sdlinput.h @ 1171

Last change on this file since 1171 was 1171, checked in by sam, 8 years ago

sdl: on Windows, perform the input tick in the main drawing thread.

  • Property svn:keywords set to Id
File size: 785 bytes
RevLine 
[103]1//
[221]2// Lol Engine
[103]3//
[221]4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
[103]10
11//
12// The SdlInput class
13// ------------------
14//
15
[748]16#if !defined __LOL_SDLINPUT_H__
17#define __LOL_SDLINPUT_H__
[103]18
[147]19#include "entity.h"
[103]20
[686]21namespace lol
22{
23
[103]24class SdlInputData;
25
[147]26class SdlInput : public Entity
[103]27{
28public:
[170]29    SdlInput();
[103]30    virtual ~SdlInput();
31
32protected:
[149]33    virtual void TickGame(float deltams);
[1171]34    virtual void TickDraw(float deltams);
[103]35
36private:
37    SdlInputData *data;
38};
39
[686]40} /* namespace lol */
41
[748]42#endif // __LOL_SDLINPUT_H__
[103]43
Note: See TracBrowser for help on using the repository browser.