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 ```
27 lines
559 B
C
27 lines
559 B
C
#ifndef _SPREAD_BURST_H
|
|
#define _SPREAD_BURST_H
|
|
|
|
#define MAX_BURST_LOCATIONS 50
|
|
|
|
typedef struct
|
|
{
|
|
INT16 sX;
|
|
INT16 sY;
|
|
INT32 sGridNo;
|
|
|
|
} BURST_LOCATIONS;
|
|
|
|
|
|
extern BURST_LOCATIONS gsBurstLocations[ MAX_BURST_LOCATIONS ];
|
|
extern INT8 gbNumBurstLocations;
|
|
|
|
|
|
void ResetBurstLocations( );
|
|
void AccumulateBurstLocation( INT32 sGridNo );
|
|
void PickBurstLocations( SOLDIERTYPE *pSoldier );
|
|
void AIPickBurstLocations( SOLDIERTYPE *pSoldier, INT8 bTargets, SOLDIERTYPE *pTargets[5] );
|
|
|
|
void RenderAccumulatedBurstLocations( );
|
|
|
|
#endif
|