Include/declaration cleanup for src/mapdisplay.c/h.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10300 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
d86d7f750b
commit
4aaa77378c
|
@ -26,28 +26,13 @@
|
|||
it's neater as a separate file, as the intelligence map has special requirements
|
||||
and overlays and needs to render to a specified buffer for later use.
|
||||
*/
|
||||
|
||||
#include "lib/framework/frame.h"
|
||||
|
||||
/* Includes direct access to render library */
|
||||
#include "lib/ivis_common/ivisdef.h"
|
||||
#include "lib/framework/fixedpoint.h"
|
||||
#include "lib/ivis_common/piestate.h"
|
||||
#include "lib/ivis_common/rendmode.h"
|
||||
#include "lib/ivis_common/piemode.h"
|
||||
|
||||
#include "lib/gamelib/gtime.h"
|
||||
#include "lib/ivis_opengl/piematrix.h"
|
||||
|
||||
#include "map.h"
|
||||
#include "mapdisplay.h"
|
||||
#include "component.h"
|
||||
#include "display3d.h"
|
||||
#include "hci.h"
|
||||
#include "intelmap.h"
|
||||
#include "intimage.h"
|
||||
|
||||
#include "texture.h"
|
||||
#include "intdisplay.h"
|
||||
#include "mapdisplay.h"
|
||||
|
||||
#define ROTATE_TIME (2*GAME_TICKS_PER_SEC)
|
||||
|
||||
|
|
|
@ -21,32 +21,12 @@
|
|||
#ifndef __INCLUDED_SRC_MAPDISPLAY_H__
|
||||
#define __INCLUDED_SRC_MAPDISPLAY_H__
|
||||
|
||||
#include "lib/ivis_common/pietypes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif //__cplusplus
|
||||
|
||||
#define BUFFER_GRIDX 22
|
||||
#define BUFFER_GRIDY 22
|
||||
|
||||
|
||||
/*Flag to switch code for bucket sorting in renderFeatures etc
|
||||
for the renderMapToBuffer code */
|
||||
/*This is no longer used but may be useful for testing so I've left it in - maybe
|
||||
get rid of it eventually? - AB 1/4/98*/
|
||||
extern BOOL doBucket;
|
||||
|
||||
// The surface to render Message information into for the Intelligence Screen
|
||||
extern iSurface *mapSurface;
|
||||
|
||||
/* renders up to two IMDs into the surface - used by message display in Intelligence Map */
|
||||
extern void renderIMDToBuffer(iSurface *pSurface, iIMDShape *pIMD,
|
||||
iIMDShape *pIMD2, UDWORD WindowX,UDWORD WindowY,
|
||||
UDWORD OriginX,UDWORD OriginY);
|
||||
extern void renderResearchToBuffer(RESEARCH *psResearch,
|
||||
UDWORD OriginX, UDWORD OriginY);
|
||||
void renderResearchToBuffer(RESEARCH *psResearch, UDWORD OriginX, UDWORD OriginY);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue