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 ```
29 lines
806 B
C
29 lines
806 B
C
#ifndef __EXIT_GUI_H
|
|
#define __EXIT_GUI_H
|
|
|
|
#include "types.h"
|
|
|
|
enum
|
|
{
|
|
LEAVE_SECTOR_TYPE_GOTO_SECTOR, //Uses "Go to Sector" text for check box button
|
|
LEAVE_SECTOR_TYPE_GOTO_MAP, //Uses "Go to map" text for check box button
|
|
};
|
|
|
|
enum
|
|
{
|
|
LEAVE_SECTOR_GOTO_SECTOR_NOT_DISABLED, //Shows helptext for checkbox explaining what will happen if button is checked
|
|
LEAVE_SECTOR_GOTO_MAP_NOT_DISABLED, //Same as previous, but uses "map" instead of "sector".
|
|
LEAVE_SECTOR_DISABLED_BECAUSE_MULTIPLE_SQUADS_IN_HOSTILE_SECTOR, //Self-explanatory
|
|
};
|
|
|
|
|
|
extern BOOLEAN gfInSectorExitMenu;
|
|
|
|
BOOLEAN InitSectorExitMenu( UINT8 ubDirection, INT32 sAdditionalData );//dnl ch56 151009
|
|
void RenderSectorExitMenu( );
|
|
BOOLEAN HandleSectorExitMenu( );
|
|
void RemoveSectorExitMenu( BOOLEAN fOK );
|
|
|
|
|
|
#endif
|