ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Utility.h
Revision: 993
Committed: Sun Apr 6 17:06:02 2014 UTC (11 years, 6 months ago) by alloc
Content type: text/x-chdr
File size: 680 byte(s)
Log Message:
Daodan:
- Fix #74
- Fix #75
- Fix #72

File Contents

# Content
1 #ifndef DAODAN_UTILITY_H
2 #define DAODAN_UTILITY_H
3
4 #include "Daodan.h"
5
6 #define WHERESTR "Daodan [%-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
12 void __cdecl DDrStartupMessage(const char* fmt, ...);
13 int64_t ONICALL DDrMachineTime_High();
14 double ONICALL DDrMachineTime_High_Frequency();
15 int64_t ONICALL DDrMachineTime_Sixtieths();
16 void ONICALL DDrMake_Weapon_Message(char* weapon_string, char* output_ptr);
17 void ONICALL DDrWeapon2Message(int* weapon, void* output_ptr);
18 void ONICALL DDrText_Hook();
19 #endif