2005-08-14 20:10:18 +02:00
|
|
|
/* $Id$ */
|
|
|
|
|
2008-05-06 17:11:33 +02:00
|
|
|
/** @file gfxinit.h Functions related to the graphics initialization. */
|
2007-03-01 02:24:44 +01:00
|
|
|
|
2005-08-14 20:10:18 +02:00
|
|
|
#ifndef GFXINIT_H
|
|
|
|
#define GFXINIT_H
|
|
|
|
|
2007-12-23 11:56:02 +01:00
|
|
|
#include "gfx_type.h"
|
|
|
|
|
2007-03-07 12:47:46 +01:00
|
|
|
void CheckExternalFiles();
|
|
|
|
void GfxLoadSprites();
|
2007-10-20 23:39:50 +02:00
|
|
|
void LoadSpritesIndexed(int file_index, uint *sprite_id, const SpriteID *index_tbl);
|
2005-08-14 20:10:18 +02:00
|
|
|
|
2008-08-24 10:41:38 +02:00
|
|
|
void FindGraphicsSets();
|
|
|
|
bool SetGraphicsSet(const char *name);
|
|
|
|
char *GetGraphicsSetsList(char *p, const char *last);
|
|
|
|
|
2009-02-07 02:01:02 +01:00
|
|
|
int GetNumGraphicsSets();
|
|
|
|
int GetIndexOfCurrentGraphicsSet();
|
|
|
|
const char *GetGraphicsSetName(int index);
|
|
|
|
|
2009-01-08 12:06:07 +01:00
|
|
|
extern char *_ini_graphics_set;
|
2008-08-31 10:46:43 +02:00
|
|
|
|
2005-09-18 22:56:44 +02:00
|
|
|
#endif /* GFXINIT_H */
|