#include <Windows.h>
#include <stdio.h>
#include <stdint.h>
struct PIStruct {
size_t position;
int32_t found;
};
This file contains hidden or 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
| // Clearly the best hello world out there. | |
| #define _ATL_ATTRIBUTES 1 | |
| #define _WINDLL 1 | |
| #include <atlbase.h> | |
| #include <atlcom.h> | |
| #include <string.h> | |
| #include <comdef.h> | |
| #include <string> | |
| #include <fstream> | |
| #include <iostream> |
This file contains hidden or 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
| tilemap "Images\hyptosis_tile-art-batch-1.png" | |
| width 16 | |
| height 16 | |
| lights 1 | |
| light 0 { | |
| color 1.000000,1.000000,1.000000,1.000000 | |
| position 10,10 | |
| } | |
| ambientlight 0.16,0.16,0.16 | |
| layers 2 |
This file contains hidden or 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
| ; Compile with nasm | |
| ; nasm Small.asm -o Small.exe | |
| bits 64 | |
| %define ImageAddress 0x0000000140000000 | |
| %define BaseAddress 0x00010000 | |
| %define addr(x) (x+ImageAddress+BaseAddress) | |
| %define Kernel32Handle rsp+0x50 | |
| %define Kernel32PeHeader rsp+0x58 | |
| %define GetProcAddress rsp+0x60 |
This file contains hidden or 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
| " Joeys vim config | |
| " | |
| " Some options from | |
| " - https://github.com/rygorous/vimfiles/blob/master/vimrc | |
| set nocompatible | |
| if has("win32") | |
| " Maximize on startup |
NewerOlder