It would be nice to be able to hit a button to save the current seed to the clipboard, and maybe even be able to enter one in later via a GUI. There are a few tiers of achievement here:
Pressing 0 currently prints the seed to the console. Pressing 0 should copy the seed to the system clipboard.
There should be a HUD menu that displays the current seed and allows a user to click it to copy its value to the clipboard.
There should be a text input box at the beginning of the game that lets you enter a custom seed.
Step 1 is pretty achievable using the SDL_SetClipboardText function from SDL. SDL can also be used for receiving clipboard data and for handling text input.. however something like AntTweakBar might also be a good option (there's a more up-to-date version here).
It would be nice to be able to hit a button to save the current seed to the clipboard, and maybe even be able to enter one in later via a GUI. There are a few tiers of achievement here:
0
currently prints the seed to the console. Pressing0
should copy the seed to the system clipboard.Step 1 is pretty achievable using the
SDL_SetClipboardText
function from SDL. SDL can also be used for receiving clipboard data and for handling text input.. however something like AntTweakBar might also be a good option (there's a more up-to-date version here).