Codebase list libsdl-sge / fresh-snapshots/main sge_misc.h
fresh-snapshots/main

Tree @fresh-snapshots/main (Download .tar.gz)

sge_misc.h @fresh-snapshots/mainraw · history · blame

/*
*	SDL Graphics Extension
*	Misc functions (header)
*
*	Started 990819
*
*	License: LGPL v2+ (see the file LICENSE)
*	(c)1999-2003 Anders Lindström
*/

/*********************************************************************
 *  This library is free software; you can redistribute it and/or    *
 *  modify it under the terms of the GNU Library General Public      *
 *  License as published by the Free Software Foundation; either     *
 *  version 2 of the License, or (at your option) any later version. *
 *********************************************************************/

#ifndef sge_misc_H
#define sge_misc_H

#include "SDL.h"
#include "sge_internal.h"

#ifdef _SGE_C
extern "C" {
#endif
DECLSPEC int sge_Random(int min, int max);
DECLSPEC void sge_Randomize(void);

DECLSPEC Uint32 sge_CalibrateDelay(void);
DECLSPEC Uint32 sge_DelayRes(void);
DECLSPEC Uint32 sge_Delay(Uint32 ticks);
#ifdef _SGE_C
}
#endif

#endif /* sge_misc_H */