Files
source/TileEngine/Render Fun.h
Marco Antonio J. Costaandmajcosta 86ad401186 add newline at end of file where it's lacking
.editorconfig already enforces it but it's getting changed piecemeal in
every commit. just get it done with.

the script:
```

find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do
	isFile=$(file -0 "$file" | cut -d $'\0' -f2)
	case "$isFile" in
		(*text*)
			echo "$file is text"
			if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then
				echo "" >> "$file"
			fi
			;;
		(*)
			echo "file isn't text"
			;;
	esac
done
```
2024-12-14 19:05:48 -03:00

38 lines
1.1 KiB
C

#ifndef __RENDER_FUN_H
#define __RENDER_FUN_H
#include "worlddef.h"
#define NO_ROOM 0
//DBrot: More Rooms
//#define MAX_ROOMS 250
#define MAX_ROOMS 65530
extern UINT8 gubWorldRoomHidden[ MAX_ROOMS ];
extern UINT16* gusWorldRoomInfo;
BOOLEAN InitRoomDatabase( );
void ShutdownRoomDatabase( );
//void SetTileRoomNum( INT32 sGridNo, UINT8 ubRoomNum );
//void SetTileRangeRoomNum( SGPRect *pSelectRegion, UINT8 ubRoomNum );
//void RemoveRoomRoof( INT32 sGridNo, UINT8 bRoomNum, SOLDIERTYPE *pSoldier );
//BOOLEAN InARoom( INT32 sGridNo, UINT8 *pubRoomNo );
//BOOLEAN InAHiddenRoom( INT32 sGridNo, UINT8 *pubRoomNo );
void SetTileRoomNum( INT32 sGridNo, UINT16 usRoomNum );
void SetTileRangeRoomNum( SGPRect *pSelectRegion, UINT16 usRoomNum );
void RemoveRoomRoof( INT32 sGridNo, UINT16 usRoomNum, SOLDIERTYPE *pSoldier );
BOOLEAN InARoom( INT32 sGridNo, UINT16 *pusRoomNo );
BOOLEAN InAHiddenRoom( INT32 sGridNo, UINT16 *pusRoomNo );
void SetGridNoRevealedFlag( INT32 sGridNo );
void ExamineGridNoForSlantRoofExtraGraphic( INT32 sCheckGridNo );
void SetRecalculateWireFrameFlagRadius(INT16 sX, INT16 sY, INT16 sRadius);
#endif