source: Daodan/src/Patches/Utility.h@ 1017

Last change on this file since 1017 was 994, checked in by alloc, 11 years ago

Daodan:

  • Fix #80
  • Reorganization of file hierarchy
File size: 662 bytes
RevLine 
[994]1#ifndef UTILITY_H
2#define UTILITY_H
3
4#include "../Daodan.h"
5
6#define WHERESTR "[%-22s:%4d ]: "
7#define WHEREARG __FILE__, __LINE__
8#define DEBUGPRINT2(...) DDrStartupMessage(__VA_ARGS__)
9#define STARTUPMESSAGE(_fmt, ...) DEBUGPRINT2(WHERESTR _fmt, WHEREARG, __VA_ARGS__)
10
11
12void __cdecl DDrStartupMessage(const char* fmt, ...);
13int64_t ONICALL DDrMachineTime_High();
14double ONICALL DDrMachineTime_High_Frequency();
15int64_t ONICALL DDrMachineTime_Sixtieths();
16void ONICALL DDrMake_Weapon_Message(char* weapon_string, char* output_ptr);
17void ONICALL DDrWeapon2Message(int* weapon, void* output_ptr);
18void ONICALL DDrText_Hook();
19#endif
Note: See TracBrowser for help on using the repository browser.