Commit Graph

11 Commits

Author SHA1 Message Date
Scott Ludwig
95046aaaee Use delete[] for arrays allocated with new[]. 2016-08-31 23:55:30 -04:00
Nathan Fulton
27f07f70f9 Improve backgrounding on SDL-iOS and SDL-Android
If the client is connected to multiplayer when the app is backgrounded,
that connection will be closed. If the app is reopened, a message will
be presented with the user informing them of the disconnection. Single
player games will be paused when entering background and resumed when
entering foreground.
2016-08-31 22:43:34 -04:00
Nathan Fulton
4aadbf87cb strings.h -> wistrings.h
Change strings.h to wistrings.h to prevent SDL.h from including it
while trying to include the CRT strings.h
2016-08-24 21:40:38 -04:00
Nathan Fulton
573c8aafd3 Update preprocessor checks to support SDL 2016-08-24 21:34:48 -04:00
Nathan Fulton
d34f08c6e5 Change default game speed to 2.0x 2016-08-24 16:20:31 -04:00
Nathan Fulton
380d8beb25 Change default account login for new devices to not anonymous
To encourage the use of accounts, new devices should be presented with
the login screen where they can create an account. New users can still
switch to anonymous login if they choose.
2016-08-24 16:20:31 -04:00
Scott Ludwig
5e43e0ba50 Ignore in-game mute
This was an old Palm timeframe setting. Now, sound might be muted
while exiting. This shouldn't be saved as a preference.
2016-01-21 22:11:53 -08:00
Scott Ludwig
f2d7002bc3 Restore game audio after OS events (dictation or siri) use audio
- Dictation reliable raises the handleAudioInterrupt notification, so that
  is used for disabling / enabling audio
- Siri sometimes doesn't raise the handleAudioInterrupt notification, so
  rely on applicationDidBecomeActive / applicationWillResignActive.
- Trial and error showed it is best to destroy and re-create the OS audio
  objects when audio is disabled / enabled.
2016-01-21 21:45:51 -08:00
Scott Ludwig
de950ccc46 Use scanf and printf compile time format string type checking; fix 64 bit bugs 2016-01-10 13:14:36 -08:00
Scott Ludwig
2186f473b5 Fix 64 bit compile warnings 2016-01-03 23:19:26 -08:00
Darrin Massena
f4c0203914 initial commit 2014-07-06 17:47:28 -07:00