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 ```
41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
//=================================================================================================
|
|
// MouseSystem_Macros.h
|
|
//
|
|
// Macro definitions for the "mousesystem" mouse region handler.
|
|
//
|
|
// This file is included by "mousesystem.h" or can be included by itself.
|
|
//
|
|
// Written by Bret Rowdon. Jan 30 '97
|
|
//=================================================================================================
|
|
|
|
#ifndef _MOUSE_SYSTEM_MACROS_H_
|
|
#define _MOUSE_SYSTEM_MACROS_H_
|
|
|
|
// Special macro hook for the mouse handler. Allows a call to a secondary mouse handler.
|
|
// Define the label _MOUSE_SYSTEM_HOOK_ to activate. Undef it to deactivate.
|
|
//
|
|
// The actual function prototype is shown below
|
|
|
|
#define _MOUSE_SYSTEM_HOOK_
|
|
|
|
#ifdef _MOUSE_SYSTEM_HOOK_
|
|
#define MouseSystemHook(t,x,y,l,r) MSYS_SGP_Mouse_Handler_Hook(t,x,y,l,r)
|
|
#else
|
|
#define MouseSystemHook(t,x,y,l,r)
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// Special prototype for mouse handler hook
|
|
extern void MSYS_SGP_Mouse_Handler_Hook(UINT16 Type, UINT16 Xcoord, UINT16 Ycoord, BOOLEAN LeftButton, BOOLEAN RightButton);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|