Logo
Explore Help
Sign In
q3aql/Serious-Engine
q3aql/Serious-Engine
1
0
Fork 0
You've already forked Serious-Engine
mirror of https://github.com/ptitSeb/Serious-Engine synced 2025-06-29 17:50:05 +02:00
Code Issues Packages Projects Releases Wiki Activity
Serious-Engine/Sources/Engine/Base/SDL/SDLTimer.cpp

18 lines
320 B
C++
Raw Normal View History

First attempt to hand-merge Ryan's Linux and Mac OS X port. This was a _ton_ of changes, made 15 years ago, so there are probably some problems to work out still. Among others: Engine/Base/Stream.* was mostly abandoned and will need to be re-ported. Still, this is a pretty good start, and probably holds a world record for lines of changes or something. :)
2016-03-28 21:03:54 -04:00
/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
/* rcg10072001 Moved stuff into this file. */
More macro for UNIPTR_MAX
2016-04-19 21:54:31 +02:00
#define __STDC_LIMIT_MACROS 1
First attempt to hand-merge Ryan's Linux and Mac OS X port. This was a _ton_ of changes, made 15 years ago, so there are probably some problems to work out still. Among others: Engine/Base/Stream.* was mostly abandoned and will need to be re-ported. Still, this is a pretty good start, and probably holds a world record for lines of changes or something. :)
2016-03-28 21:03:54 -04:00
#include "SDL.h"
#include <Engine/Engine.h>
#include <Engine/Base/Timer.h>
void CTimer::Sleep(DWORD milliseconds)
{
SDL_Delay(milliseconds);
}
// end of SDLTimer.cpp ...
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 31ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API