mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +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
+1
-1
@@ -22,4 +22,4 @@ extern UINT8 gubCheatLevel;
|
||||
#define RESET_CHEAT_LEVEL( ) ( gubCheatLevel = 0 )
|
||||
#define ACTIVATE_CHEAT_LEVEL() ( gubCheatLevel = 6 )
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -37,4 +37,4 @@ BOOLEAN HandleFadeInCallback( );
|
||||
void FadeInNextFrame( );
|
||||
void FadeOutNextFrame( );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -72,4 +72,4 @@ void NewScreenSoResetHelpScreen( );
|
||||
INT8 HelpScreenDetermineWhichMapScreenHelpToShow();
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -42,4 +42,4 @@ typedef struct
|
||||
|
||||
extern INTRO_NAMES_VALUES zVideoFile[255];
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ void InitJA2SplashScreen();
|
||||
extern UINT32 guiSplashFrameFade;
|
||||
extern UINT32 guiSplashStartTime;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -116,4 +116,4 @@
|
||||
#define SINGLE_CHAR_WORDS
|
||||
#endif*/
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -26,4 +26,4 @@ extern BOOLEAN gfInChatBox;
|
||||
INT32 DoChatBox( bool bIncludeChatLog, const STR16 zString, UINT32 uiExitScreen, MSGBOX_CALLBACK ReturnCallback, SGPRect *pCenteringRect );
|
||||
void ChatLogMessage( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ...);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -11,4 +11,4 @@ void SetConnectScreenHeadingA( const char* cmsg );
|
||||
void SetConnectScreenSubMessageW( STR16 cmsg );
|
||||
void SetConnectScreenSubMessageA( const char* cmsg );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -9,4 +9,4 @@ UINT32 MPHostScreenShutdown( void );
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -9,4 +9,4 @@ UINT32 MPScoreScreenShutdown( void );
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -152,4 +152,4 @@ BOOLEAN DoOptionsMessageBoxWithRect( UINT8 ubStyle, const STR16 zString, UINT32
|
||||
BOOLEAN DoSaveLoadMessageBoxWithRect( UINT8 ubStyle, const STR16 zString, UINT32 uiExitScreen, UINT32 usFlags, MSGBOX_CALLBACK ReturnCallback, SGPRect *pCenteringRect );
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -34,4 +34,4 @@ extern Screens GameScreens[MAX_SCREENS];
|
||||
|
||||
#include "jascreens.h"
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -41,4 +41,4 @@ void InitHelicopterEntranceByMercs( void );
|
||||
|
||||
void InternalLeaveTacticalScreen( UINT32 uiNewScreen );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -184,4 +184,4 @@ extern std::list<SExceptionData> g_ExceptionList;
|
||||
void PrintExceptionList();
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -102,4 +102,4 @@ extern void RandomStats ();
|
||||
#endif
|
||||
|
||||
extern void RandomStats ();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -37,4 +37,4 @@ void ClearMainMenu( );
|
||||
|
||||
void InitDependingGameStyleOptions();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -47,4 +47,4 @@ enum ScreenTypes
|
||||
MAX_SCREENS
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -230,4 +230,4 @@ extern void RandomStats ();
|
||||
#endif
|
||||
|
||||
extern void RandomStats ();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user