Files
OpenRCT2-Web/src/hook.h
T

33 lines
1.1 KiB
C
Raw Normal View History

#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
2014-09-15 15:14:06 -06:00
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit https://github.com/OpenRCT2/OpenRCT2
2014-09-15 15:14:06 -06:00
*
* OpenRCT2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* A full copy of the GNU General Public License can be found in licence.txt
2014-09-15 15:14:06 -06:00
*****************************************************************************/
#pragma endregion
2014-09-15 15:14:06 -06:00
#ifndef _HOOK_H_
#define _HOOK_H_
enum REGISTER_ARGS {
EAX = 1 << 0,
EBX = 1 << 1,
ECX = 1 << 2,
EDX = 1 << 3,
ESI = 1 << 4,
EDI = 1 << 5,
EBP = 1 << 6,
END = 0
};
2015-07-29 16:34:13 +01:00
void addhook(int address, int newaddress, int stacksize, int registerargs[], int registersreturned, int eaxDestinationRegister);
2014-09-15 15:14:06 -06:00
2015-12-20 22:03:37 -06:00
#endif