Update C sources
This commit is contained in:
parent
efd3445362
commit
7ab77a4730
103 changed files with 25993 additions and 13806 deletions
|
@ -28,12 +28,12 @@ func main() {
|
|||
}
|
||||
|
||||
if rl.IsKeyPressed(rl.KeyEnter) {
|
||||
rl.StorageSaveValue(storageScore, score)
|
||||
rl.StorageSaveValue(storageHiscore, hiscore)
|
||||
rl.SaveStorageValue(storageScore, score)
|
||||
rl.SaveStorageValue(storageHiscore, hiscore)
|
||||
} else if rl.IsKeyPressed(rl.KeySpace) {
|
||||
// NOTE: If requested position could not be found, value 0 is returned
|
||||
score = rl.StorageLoadValue(storageScore)
|
||||
hiscore = rl.StorageLoadValue(storageHiscore)
|
||||
score = rl.LoadStorageValue(storageScore)
|
||||
hiscore = rl.LoadStorageValue(storageHiscore)
|
||||
}
|
||||
|
||||
framesCounter++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue