diff options
| -rw-r--r-- | .gitignore | 5 | ||||
| -rw-r--r-- | README.md | 20 | ||||
| -rwxr-xr-x | build/build | bin | 30688 -> 0 bytes | |||
| -rwxr-xr-x | build/linux_handmade | bin | 88880 -> 88880 bytes | |||
| -rwxr-xr-x | build/win32_handmade.exe | bin | 0 -> 367104 bytes | |||
| -rwxr-xr-x | code/build.bat | 8 |
6 files changed, 16 insertions, 17 deletions
@@ -1,7 +1,6 @@ code/libs/hm_linux -build/*.hmi -build/*.zip -build/*.tar.gz +code/libs/hm_win32 +build/ game.zip *.o *.json @@ -1,31 +1,31 @@ # Wordled: Impress your friends with Wordle drawings! +Link to the [original](https://git.spacehb.net/wordled/about/?h=main) repository. ## Overview `Wordled` is a GUI application that lets you draw patterns such that you can later input them in the [Wordle](https://www.nytimes.com/games/wordle/index.html) game. It will then generate the guesses to achieve the required pattern. ## Showcase -<video autoplay loop muted src="https://git.spacehb.net/wordled/plain/showcase.mp4?h=main"> +[Video](https://github.com/Poulbi/wordled/raw/refs/heads/main/showcase.mp4) -## Build & Run +## Run Both following build steps will output executable programs in the `build` directory. Do note that this repository already has prebuilt binaries. For both Windows and Linux you need a working C++ compiler. ### On Windows -In the `code` directory run. -```bat -.\build.bat -``` -Afterwards from the `build` directory you can run the `win32_handmade.exe` executable. +Run the `win32_handmade.exe` executable from the `build` directory. + ### On Linux +Since I cannot guarantee binary compability, please follow the build instructions. + Following dependencies are required, but should already be installed on most distributions. +- [hm_linux](https://git.spacehb.net/hm_linux/about/?h=main), my linux platform layer. Put it in `./code/libs/`. - `libasound.so` - `libcurl.so` -- `libX11.so` and `libXFixles.so` +- `libX11.so` and `libXFixes.so` In the `code` directory run. ```bat ./build.sh ``` -Afterwards from the `build` directory you can run the `linux_handmade` executable. - +Afterwards run the `linux_handmade` executable in the `build` directory. diff --git a/build/build b/build/build Binary files differdeleted file mode 100755 index 035838f..0000000 --- a/build/build +++ /dev/null diff --git a/build/linux_handmade b/build/linux_handmade Binary files differindex b7fb5b7..16020f0 100755 --- a/build/linux_handmade +++ b/build/linux_handmade diff --git a/build/win32_handmade.exe b/build/win32_handmade.exe Binary files differnew file mode 100755 index 0000000..b4b0649 --- /dev/null +++ b/build/win32_handmade.exe diff --git a/code/build.bat b/code/build.bat index 2f9ac95..4e1989f 100755 --- a/code/build.bat +++ b/code/build.bat @@ -2,18 +2,18 @@ call cache.bat -set CommonCompilerFlags=-MTd -Gm- -nologo -GR- -EHa- -Oi -WX -W4 -wd4459 -wd4456 -wd4201 -wd4100 -wd4189 -wd4505 -wd4996 -wd4389 -DHANDMADE_SLOW=1 -DHANDMADE_INTERNAL=1 -FC -Z7 +set CommonCompilerFlags=-MTd -Gm- -nologo -GR- -EHa- -WX -W4 -wd4459 -wd4456 -wd4201 -wd4100 -wd4189 -wd4505 -wd4996 -wd4389 -DHANDMADE_SLOW=1 -DHANDMADE_INTERNAL=1 -FC -Z7 set CommonLinkerFlags=-opt:ref -incremental:no user32.lib Gdi32.lib winmm.lib IF NOT EXIST ..\build mkdir ..\build pushd ..\build REM 32-Bit -REM cl %CommonCompilerFlags% ..\code\win32_handmade.cpp /link -subsystem:windows,5.1 %CommonLinkerFlags% +REM cl %CommonCompilerFlags% ..\code\libs\hm_win32\win32_handmade.cpp /link -subsystem:windows,5.1 %CommonLinkerFlags% REM 64-Bit cl %CommonCompilerFlags% ..\code\handmade.cpp -Fmhandmade.map -LD /link /DLL /EXPORT:GameGetSoundSamples /EXPORT:GameUpdateAndRender -cl %CommonCompilerFlags% ..\code\win32_handmade.cpp -Fmwin32_handmade.map /link %CommonLinkerFlags% +cl %CommonCompilerFlags% ..\code\libs\hm_win32\win32_handmade.cpp -Fmwin32_handmade.map /link %CommonLinkerFlags% -popd
\ No newline at end of file +popd |
