Those are very two different libraries. libsodium is just a crypto library with easy to use API. m…
Hey guys, I'm writing my own game and I've been trying to finalize the different platform layers t…
Shazan —
What about or should i go libsodium anyways I'll try both and see which works and has less build …
r2d2 —
No, it's not related to -Wno-unused-function. Here's the test build. platform.h: typedef uint32_t…
Thanks Simon and Allen, works like a charm and simple.
I have used sqlite vfs I/O API to implement transparent encryption on page level. SQLite asks VFS …
You could use by DJB. You would have to so that file access goes through your crypto layer. You'…
Shazan —
I am not trying to protect the database from the user because if the user has access to the db the…
No, what that means is you need to understand what is your attacker and what against are you guard…
Shazan —
You mean i should use openssl to encrypt the database and decrypt it when using the database. Plus…
Can you try to remove "-Wno-unused-function" and check if compiler gives any warning/error about S…
And because sqlite will run db in same machine where user enters password that means that once use…
The difference between sqlite and other databases is that there's a database server which can enf…
Shazan —
How to add password protection to sqlite or should I use another database api for password protect…
Awesome, thanks for the tip. On my mac I was able to brew install clang-format then run clang-form…
Hi Anton. Thanks for your interest in the game. You navigate through wind currents and whirlwinds …
r2d2 —
How are you compiling? Unity build or multiple .cpp files? Is handmade_platform.h file included be…
I'll take this as an opportunity to dump some past moments.
How are you compiling? Unity build or multiple .cpp files? Is handmade_platform.h file included be…
r2d2 —
In Day 152, Casey uses the SafeTruncateUInt64 function inside the PLATFORM_READ_DATA_FROM_FILE imp…
Mox —
So that's not an issue. What is an issue with that is that the last fragment stays in the depth b…
depth writes and depth tests are controlled separately using glDepthMask and glEnable(GL_DEPTH_TES…
Mox —
Hi, I believe a major problem with the attempt to do the handmade resolve is that the depth buffer…
I have used clang-format a lot. It's is pretty nice, you can configure it to your liking and it ha…
Does anybody use / know of a good C linter / formatter? I want the equivalent of for Go or for R…
That's a cool premise. Player/NPC interaction has so much room for improvement in games. Good luck…
Start with exactly what you want to see on screen. At the very beginning, you'll have a rectangle …
Shazan —
This is a good starting point.