mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
.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 ```
38 lines
1.1 KiB
C
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
|