Last change
on this file since 1086 was 994, checked in by alloc, 11 years ago |
Daodan:
- Fix #80
- Reorganization of file hierarchy
|
File size:
662 bytes
|
Line | |
---|
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 |
|
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.