mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
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:
committed by
majcosta
parent
1d58bda82d
commit
86ad401186
@@ -17,4 +17,4 @@ BOOLEAN DrawBriefingRoomDefaults();
|
||||
BOOLEAN DisplayBriefingRoomSlogan();
|
||||
BOOLEAN DisplayBriefingRoomCopyright();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -17,4 +17,4 @@ BOOLEAN DrawBriefingRoomEnterDefaults();
|
||||
BOOLEAN DisplayBriefingRoomEnterSlogan();
|
||||
BOOLEAN DisplayBriefingRoomEnterCopyright();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -133,4 +133,4 @@ extern BOOLEAN SaveBriefingRoomToSaveGameFile( HWFILE hFile );
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
|
||||
|
||||
#endif // __CAMPAIGNHISTORY_DATA_H
|
||||
#endif // __CAMPAIGNHISTORY_DATA_H
|
||||
|
||||
@@ -27,4 +27,4 @@ void ExitCampaignHistory_News();
|
||||
void HandleCampaignHistory_News();
|
||||
void RenderCampaignHistory_News();
|
||||
|
||||
#endif // __CAMPAIGNHISTORY_SUMMARY_H
|
||||
#endif // __CAMPAIGNHISTORY_SUMMARY_H
|
||||
|
||||
@@ -332,4 +332,4 @@ STR16 GetIncidentName( UINT32 aIncidentId );
|
||||
|
||||
UINT32 GetIdOfCurrentlyOngoingIncident();
|
||||
|
||||
#endif // __CAMPAIGNSTATS_H
|
||||
#endif // __CAMPAIGNSTATS_H
|
||||
|
||||
@@ -7,4 +7,4 @@ void ExitIMPAboutUs( void );
|
||||
void EnterIMPAboutUs( void );
|
||||
void HandleIMPAboutUs( void );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -8,4 +8,4 @@ void HandleIMPAttributeEntrance( void );
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -7,4 +7,4 @@ void RenderIMPAttributeFinish( void );
|
||||
void ExitIMPAttributeFinish( void );
|
||||
void HandleIMPAttributeFinish( void );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -22,4 +22,4 @@ extern BOOLEAN fReturnStatus;
|
||||
|
||||
INT8 StartingLevelChosen(); // added - SANDRO
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -9,4 +9,4 @@ void HandleIMPBeginScreen( void );
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -7,4 +7,4 @@ void RenderIMPCharacterAndDisabilityEntrance( void );
|
||||
void ExitIMPCharacterAndDisabilityEntrance( void );
|
||||
void HandleIMPCharacterAndDisabilityEntrance( void );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -20,4 +20,4 @@ void ClearAllSkillsList( void );
|
||||
|
||||
extern STR8 pPlayerSelectedFaceFileNames[ NUMBER_OF_PLAYER_PORTRAITS ];
|
||||
extern STR8 pPlayerSelectedBigFaceFileNames[ NUMBER_OF_PLAYER_PORTRAITS ];
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -10,4 +10,4 @@ void HandleIMPFinish( void );
|
||||
extern BOOLEAN fFinishedCharGeneration;
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -15,4 +15,4 @@ void HandleImpHomePage( void );
|
||||
#define IMP_MERC_FILENAME "IMP"
|
||||
|
||||
extern INT32 GlowColorsList[][3];
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -29,4 +29,4 @@ enum
|
||||
IMP__FINISH,
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -9,4 +9,4 @@ void HandleIMPPersonalityEntrance( void );
|
||||
|
||||
STR16 pSkillTraitBeginIMPStrings[];
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -9,4 +9,4 @@ void HandleIMPPersonalityFinish( void );
|
||||
extern UINT8 bPersonalityEndState;
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -12,4 +12,4 @@ void BltAnswerIndents( INT32 iNumberOfIndents );
|
||||
extern INT32 giCurrentPersonalityQuizQuestion;
|
||||
extern INT32 iCurrentAnswer;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -10,4 +10,4 @@ BOOLEAN RenderPortrait( INT16 sX, INT16 sY );
|
||||
extern INT32 iPortraitNumber;
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -145,4 +145,4 @@ enum{
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -9,4 +9,4 @@ UINT32 PlayVoice( void );
|
||||
|
||||
extern UINT32 iSelectedIMPVoiceSet;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -835,4 +835,4 @@ template<> void TestTableTemplate<3>::Init( UINT16 sX, UINT16 sY, UINT16 sX_End
|
||||
AddColumnDataProvider( itemnamecol );*/
|
||||
|
||||
TestTable::Init( sX, sY, sX_End, sY_End );
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -851,4 +851,4 @@ BOOLEAN LoadPMC( HWFILE hwFile )
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,4 +254,4 @@ private:
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -305,4 +305,4 @@ enum{
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -227,4 +227,4 @@ BOOLEAN WriteAimAvailability(STR fileName)
|
||||
FileClose( hFile );
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -287,4 +287,4 @@ BOOLEAN WriteMercAvailability(STR fileName)
|
||||
FileClose( hFile );
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -268,4 +268,4 @@ BOOLEAN ReadInDeliveryMethods(STR fileName)
|
||||
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -236,4 +236,4 @@ BOOLEAN ReadInShippingDestinations(STR fileName, BOOLEAN localizedVersion)
|
||||
XML_ParserFree(parser);
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@ void RenderFloristCards();
|
||||
|
||||
extern INT8 gbCurrentlySelectedCard;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -21,4 +21,4 @@ extern UINT32 guiCurrentlySelectedFlower;
|
||||
extern UINT8 gubCurFlowerIndex;
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -12,4 +12,4 @@ void InitFloristOrderForm();
|
||||
|
||||
void InitFloristOrderFormVariables();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -7,4 +7,4 @@ void ExitInsuranceComments();
|
||||
void HandleInsuranceComments();
|
||||
void RenderInsuranceComments();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -28,4 +28,4 @@ void InsuranceContractEndGameShutDown();
|
||||
|
||||
void PurchaseOrExtendInsuranceForSoldier( SOLDIERTYPE *pSoldier, UINT32 uiInsuranceLength );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -9,4 +9,4 @@ void RenderInsuranceInfo();
|
||||
void EnterInitInsuranceInfo();
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -9,4 +9,4 @@ void RenderMercsAccount();
|
||||
|
||||
UINT32 CalculateHowMuchPlayerOwesSpeck();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -7,4 +7,4 @@ void ExitMercsFiles();
|
||||
void HandleMercsFiles();
|
||||
void RenderMercsFiles();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -7,4 +7,4 @@ void ExitMercsNoAccount();
|
||||
void HandleMercsNoAccount();
|
||||
void RenderMercsNoAccount();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user