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
```
This commit is contained in:
Marco Antonio J. Costa
2024-12-14 19:05:48 -03:00
committed by majcosta
parent 1d58bda82d
commit 86ad401186
228 changed files with 228 additions and 228 deletions
+1 -1
View File
@@ -721,4 +721,4 @@ void SetSSA(void)
//guiCurrentSteadyStateSoundHandle = SoundPlay( zFileName, &spParms );
guiCurrentSteadyStateSoundHandle = SoundPlayStreamedFile(zFileName, &spParms);
}
}
+1 -1
View File
@@ -51,4 +51,4 @@ typedef struct
#endif
#endif
+1 -1
View File
@@ -29,4 +29,4 @@ void GenerateBuildings( void );
INT32 FindClosestClimbPoint( SOLDIERTYPE *pSoldier, INT32 sStartGridNo, INT32 sDesiredGridNo, BOOLEAN fClimbUp );
BOOLEAN SameBuilding( INT32 sGridNo1, INT32 sGridNo2 );
#endif
#endif
+1 -1
View File
@@ -5,4 +5,4 @@
//Removes and smooths the adjacent tiles.
void RemoveFogFromGridNo( INT32 uiGridNo );
#endif
#endif
+1 -1
View File
@@ -46,4 +46,4 @@ LEVELNODE *ConditionalGetCurInteractiveTileGridNoAndStructure( INT32 *psGridNo,
#endif
#endif
+1 -1
View File
@@ -58,4 +58,4 @@ BOOLEAN IsLightEffectAtTile( INT32 sGridNo );
void CreatePersonalLight( INT32 sGridNo, UINT8 ubID );
void RemovePersonalLights( UINT8 ubID );
#endif
#endif
+1 -1
View File
@@ -41,4 +41,4 @@ void ClearOutRadarMapImage( void );
// do we render the radar screen?..or the squad list?
extern BOOLEAN fRenderRadarScreen;
#endif
#endif
+1 -1
View File
@@ -34,4 +34,4 @@ void ExamineGridNoForSlantRoofExtraGraphic( INT32 sCheckGridNo );
void SetRecalculateWireFrameFlagRadius(INT16 sX, INT16 sY, INT16 sRadius);
#endif
#endif
+1 -1
View File
@@ -13,4 +13,4 @@ extern BOOLEAN gfForceBuildShadeTables;
BOOLEAN DeleteShadeTableDir( );
#endif
#endif
+1 -1
View File
@@ -5,4 +5,4 @@ void MarkMapIndexDirty( INT32 iMapIndex );
void CenterScreenAtMapIndex( INT32 iMapIndex );
void MarkWorldDirty();
#endif
#endif
+1 -1
View File
@@ -77,4 +77,4 @@ BOOLEAN CheckSmokeEffect(INT32 sGridNo, INT8 bLevel, INT8 bType);
// find smoke effect on visible screen
BOOLEAN FindVisibleSmokeEffect(INT8 bType);
#endif
#endif
+1 -1
View File
@@ -250,4 +250,4 @@ typedef struct TAG_STRUCTURE_FILE_HEADER
#define STRUCTURE_FILE_CONTAINS_AUXIMAGEDATA 0x01
#define STRUCTURE_FILE_CONTAINS_STRUCTUREDATA 0x02
#endif
#endif
+1 -1
View File
@@ -26,4 +26,4 @@ extern SOLDIERTYPE *gpTacticalPlacementHilightedSoldier;
//Saved value. Contains the last choice for future battles.
extern UINT8 gubDefaultButton;
#endif
#endif
+1 -1
View File
@@ -45,4 +45,4 @@ void CheckForAndDeleteTileCacheStructInfo( LEVELNODE *pNode, UINT16 usIndex );
void GetRootName( STR8 pDestStr, const STR8 pSrcStr );
#endif
#endif
+1 -1
View File
@@ -14,4 +14,4 @@ void DeleteTileSurface( PTILE_IMAGERY pTileSurf );
void SetRaisedObjectFlag( char *cFilename, TILE_IMAGERY *pTileSurf );
#endif
#endif
+1 -1
View File
@@ -170,4 +170,4 @@ enum
};
#endif
#endif
#endif
+1 -1
View File
@@ -34,4 +34,4 @@ void SetTilesetTwoTerrainValues( );
#endif
#endif
+1 -1
View File
@@ -183,4 +183,4 @@ INT32 RandomGridFromRadius( INT32 sSweetGridNo, INT8 ubMinRadius, INT8 ubMaxRad
UINT32 GetArtilleryTargetGridNo( UINT32 sTargetGridNo, INT8 bRadius );
BOOLEAN GetArtilleryLaunchParams(UINT32 sStartingGridNo, UINT32 sTargetGridNo, UINT8 ubTargetLevel, INT16 sStartZ, INT16 sEndZ, UINT16 usLauncher, OBJECTTYPE* pObj, FLOAT* pdForce, FLOAT* pdDegrees);
#endif
#endif
+1 -1
View File
@@ -17,4 +17,4 @@ extern BOOLEAN gfLoadPitsWithoutArming;
void HandleFallIntoPitFromAnimation( UINT8 ubID );
#endif
#endif
+1 -1
View File
@@ -227,4 +227,4 @@ BOOLEAN Blt8BPPDataTo16BPPBufferTransZIncObscureClip(UINT16 *pBuffer, UINT32 uiD
BOOLEAN Blt8BPPDataTo16BPPBufferTransZTransShadowIncObscureClip(UINT16 *pBuffer, UINT32 uiDestPitchBYTES, UINT16 *pZBuffer, UINT16 usZValue, HVOBJECT hSrcVObject, INT32 iX, INT32 iY, UINT16 usIndex, SGPRect *clipregion, INT16 sZIndex, UINT16 *p16BPPPalette, BOOLEAN fIgnoreShadows = FALSE);
BOOLEAN Blt8BPPDataTo16BPPBufferTransZTransShadowIncObscureClipAlpha(UINT16 *pBuffer, UINT32 uiDestPitchBYTES, UINT16 *pZBuffer, UINT16 usZValue, HVOBJECT hSrcVObject, HVOBJECT hAlphaVObject, INT32 iX, INT32 iY, UINT16 usIndex, SGPRect *clipregion, INT16 sZIndex, UINT16 *p16BPPPalette, BOOLEAN fIgnoreShadows = FALSE);
#endif
#endif
+1 -1
View File
@@ -136,4 +136,4 @@ UINT8 StructureFlagToType( UINT32 uiFlag );
UINT32 GetStructureOpenSound( STRUCTURE *pStructure, BOOLEAN fClose );
#endif
#endif
+1 -1
View File
@@ -18,4 +18,4 @@ BOOLEAN InitializeSystemVideoObjects( );
BOOLEAN InitializeGameVideoObjects( );
#endif
#endif
+1 -1
View File
@@ -179,4 +179,4 @@ BOOLEAN IsLegionLevel( INT32 sGridNo );
BOOLEAN FindStruct(INT32 sSpot, INT8 bLevel, UINT16 usIndex);
BOOLEAN FindStructFlag(INT32 sSpot, INT8 bLevel, UINT32 uiFlag);
#endif
#endif