Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add include guards, prepare for XRef (#28)
Add definitions, other junk.
- Loading branch information
1 parent
5772426
commit 49a6f4f
Showing
137 changed files
with
324 additions
and
1,995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
//HEADER_GOES_HERE | ||
#ifndef __CAPTURE_H__ | ||
#define __CAPTURE_H__ | ||
|
||
void __cdecl CaptureScreen(); | ||
bool __fastcall CaptureHdr(HANDLE hFile, short width, int height); | ||
bool __fastcall CapturePal(HANDLE hFile, PALETTEENTRY *palette); | ||
bool __fastcall CapturePix(HANDLE hFile, short width, short height, short stride, char *pixels); | ||
char *__fastcall CaptureEnc(char *src, char *dst, int width); | ||
HANDLE __fastcall CaptureFile(char *dst_path); | ||
void __fastcall RedPalette(PALETTEENTRY *pal); | ||
void __fastcall RedPalette(PALETTEENTRY *pal); | ||
|
||
#endif /* __CAPTURE_H__ */ |
Oops, something went wrong.
49a6f4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@galaxyhaxz Would you consider reverting the change to remove the comments with addresses for each function? I find them very useful when checking how something is implemented in Devilution and mapping it back to the original binary.
Edit: Perhaps the format could be changed to something like:
Edit2: Oh, I see. The spreadsheet will track these addresses instead.
49a6f4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, sounds good.