src/gfxinit.h
author rubidium
Fri, 05 Dec 2008 22:46:39 +0000
changeset 10407 419a41009c38
parent 10037 a06670f961a8
permissions -rw-r--r--
(svn r14658) -Change: allow changing town names when there are no towns in the scenario yet.
2340
e18ef06bc59a (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
tron
parents:
diff changeset
     1
/* $Id$ */
e18ef06bc59a (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
tron
parents:
diff changeset
     2
9111
48ce04029fe4 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents: 8123
diff changeset
     3
/** @file gfxinit.h Functions related to the graphics initialization. */
6179
d19b0137d8e4 (svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents: 5475
diff changeset
     4
2340
e18ef06bc59a (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
tron
parents:
diff changeset
     5
#ifndef GFXINIT_H
e18ef06bc59a (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
tron
parents:
diff changeset
     6
#define GFXINIT_H
e18ef06bc59a (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
tron
parents:
diff changeset
     7
8123
ce31d2843a95 (svn r11684) -Codechange: split gfx.h in a type and functional header.
rubidium
parents: 7772
diff changeset
     8
#include "gfx_type.h"
ce31d2843a95 (svn r11684) -Codechange: split gfx.h in a type and functional header.
rubidium
parents: 7772
diff changeset
     9
6247
7d81e3a5d803 (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6179
diff changeset
    10
void CheckExternalFiles();
7d81e3a5d803 (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6179
diff changeset
    11
void GfxLoadSprites();
7772
c89384e3f8de (svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch.
rubidium
parents: 6247
diff changeset
    12
void LoadSpritesIndexed(int file_index, uint *sprite_id, const SpriteID *index_tbl);
2340
e18ef06bc59a (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
tron
parents:
diff changeset
    13
9994
f9d5859f6aee (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
rubidium
parents: 9111
diff changeset
    14
void FindGraphicsSets();
f9d5859f6aee (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
rubidium
parents: 9111
diff changeset
    15
bool SetGraphicsSet(const char *name);
f9d5859f6aee (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
rubidium
parents: 9111
diff changeset
    16
char *GetGraphicsSetsList(char *p, const char *last);
f9d5859f6aee (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
rubidium
parents: 9111
diff changeset
    17
10037
a06670f961a8 (svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
rubidium
parents: 9994
diff changeset
    18
extern char _ini_graphics_set[32];
a06670f961a8 (svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
rubidium
parents: 9994
diff changeset
    19
2436
7d5df545bd5d (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents: 2340
diff changeset
    20
#endif /* GFXINIT_H */