planetis-m / naylib

Yet another raylib Nim wrapper
MIT License
209 stars 11 forks source link

[naylib-contributors] Updating the raylib source files. #69

Open planetis-m opened 1 year ago

planetis-m commented 1 year ago

Rectangle -> rlRectangle CloseWindow -> rlCloseWindow ShowCursor -> rlShowCursor LoadImage -> rlLoadImage DrawText -> rlDrawText DrawTextEx -> rlDrawTextEx

planetis-m commented 1 year ago

Let's remove the windows branch, create a patch-set that is applied in an after install nimble hook.

planetis-m commented 1 year ago

How to update broken patch:

nim update update_bindings.nims
nim wrap update_bindings.nims
git commit -am "update upstream"
git apply --reject mangle_names.patch
:: search for *.rej files and fix the error(s) manually
git commit -am "mangle names"
git format-patch -1 --stdout > mangle_names.patch
git commit -am "update mangle_names.patch"
git reset --soft HEAD~3
git commit -m "Update upstream"