-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit. Implementation of part 4 - Field of View.
- Loading branch information
0 parents
commit 1cc0ed2
Showing
7 changed files
with
918 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Boost Software License - Version 1.0 - August 17th, 2003 | ||
|
||
Copyright (c) 2019 Andrey Penechko | ||
|
||
Permission is hereby granted, free of charge, to any person or organization | ||
obtaining a copy of the software and accompanying documentation covered by | ||
this license (the "Software") to use, reproduce, display, distribute, | ||
execute, and transmit the Software, and to prepare derivative works of the | ||
Software, and to permit third-parties to whom the Software is furnished to | ||
do so, all subject to the following: | ||
|
||
The copyright notices in the Software and this entire statement, including | ||
the above license grant, this restriction and the following disclaimer, | ||
must be included in all copies of the Software, in whole or in part, and | ||
all derivative works of the Software, unless such copies or derivative | ||
works are solely in the form of machine-executable object code generated by | ||
a source language processor. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT | ||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE | ||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, | ||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
DEALINGS IN THE SOFTWARE. |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Roguelike tutorial 2019 made with Vox programming language | ||
|
||
[Vox compiler](https://github.com/MrSmith33/tiny_jit) | ||
|
||
Compile with `tjc source/main.vx source/kernel32.vx source/sdl.vx source/sdlimage.vx source/utils.vx SDL2.dll SDL2_image.dll C:\Windows\System32\kernel32.dll` | ||
produces `main.exe` for win64 | ||
|
||
Requires `SDL2.dll` and `SDL2_image.dll` libraries for compilation and start. |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
void ExitProcess(u32 uExitCode); | ||
u64 GetTickCount64(); | ||
bool QueryPerformanceCounter(i64* performanceCount); | ||
|
||
u8 WriteConsoleA( | ||
void* hConsoleOutput, | ||
u8* lpBuffer, | ||
u32 nNumberOfCharsToWrite, | ||
u32* lpNumberOfCharsWritten, | ||
void* lpReserved | ||
); | ||
|
||
void* GetStdHandle(u32 nStdHandle); | ||
|
||
enum : u32 { | ||
STD_INPUT_HANDLE = 0xFFFFFFF6, | ||
STD_OUTPUT_HANDLE = 0xFFFFFFF5, | ||
STD_ERROR_HANDLE = 0xFFFFFFF4 | ||
} |
Oops, something went wrong.