Commit Graph

15 Commits

Author SHA1 Message Date
Nathan Fulton
7fa189e3da Use CreateTBitmap()
Replace:
- GetSharedTBitmap()
- LoadRawBitmap()
- LoadTBitmap()
2017-10-21 20:27:44 -04:00
Nathan Fulton
de281e5fd7 Remove old bitmap code
- DibBitmap
- HtBitmap
- RawBitmap
- Tbitmap
2017-10-21 20:27:23 -04:00
Nathan Fulton
31ca038021 Fix bug with simulation pause state and backgrounding 2017-10-21 02:54:14 -04:00
Nathan Fulton
891e6273ac In-game option to mute sound
In 1dceae4cf0ea47df5ee8ab24ae2fde2644527c43 the in-game mute option was
ignored. This has been undone because players requested a mute sound
button added to options.
2017-10-21 02:49:39 -04:00
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