Files
source/sgp/mousesystem_macros.h
Marco Antonio J. Costaandmajcosta 86ad401186 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
```
2024-12-14 19:05:48 -03:00

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