[go: up one dir, main page]

File: timer.h

package info (click to toggle)
sopwith 1.8.4-15
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,996 kB
  • sloc: ansic: 9,905; sh: 2,770; makefile: 80
file content (50 lines) | stat: -rw-r--r-- 1,806 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Emacs style mode select -*- C++ -*-
//---------------------------------------------------------------------------
//
// $Id: timer.h,v 1.1.1.1 2003/02/14 19:03:33 fraggle Exp $
//
// Copyright(C) 1984-2000 David L. Clark
// Copyright(C) 2001-2003 Simon Howard
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2 of the License, or (at your
// option) any later version. This program is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the implied
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
// the GNU General Public License for more details. You should have
// received a copy of the GNU General Public License along with this
// program; if not, write to the Free Software Foundation, Inc., 59 Temple
// Place - Suite 330, Boston, MA 02111-1307, USA.
//
//--------------------------------------------------------------------------
//
// Timer code
//
// Abstraction layer for access to the timer
// Basically this is to keep SDL out of the main code, so we can if we
// want drop in other code to run without SDL.
//
//--------------------------------------------------------------------------

#ifndef __TIMER_H__
#define __TIMER_H__

extern void Timer_Init();
extern int Timer_GetMS();
extern void Timer_Sleep(int usec);

#endif

//---------------------------------------------------------------------------
//
// $Log: timer.h,v $
// Revision 1.1.1.1  2003/02/14 19:03:33  fraggle
// Initial Sourceforge CVS import
//
//
// sdh 14/2/2003: change license header to GPL
// sdh 21/10/2001: added cvs tags
//
//---------------------------------------------------------------------------