Commit Graph

68 Commits

Author SHA1 Message Date
Eugene Sandulenko
d6d7cf3edf IPhone: sync with recent GUI changes. NOT TESTED.
svn-id: r49792
2010-06-15 11:00:57 +00:00
Oystein Eftevaag
90649938d2 We'll now default to non-touchpad mode on the iPad
svn-id: r49403
2010-06-03 03:22:10 +00:00
Max Horn
9f14e43d16 Fix bug #2999153: "IPHONE: No grabPalette() implementation"
svn-id: r49384
2010-06-01 22:29:55 +00:00
Oystein Eftevaag
0d83045b5f Updated XCode project
svn-id: r48479
2010-04-03 00:44:38 +00:00
Max Horn
9b837d66d4 Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
2010-03-11 23:39:51 +00:00
Max Horn
c97ee14a65 Remove last traces of OSystem::getOutputSampleRate()
svn-id: r48229
2010-03-10 21:01:44 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Torbjörn Andersson
e7469479ce Removed unnecessary semi-colons.
svn-id: r44048
2009-09-13 10:32:55 +00:00
Eugene Sandulenko
95c5d24044 Second attempt to fix DC and iPhone backends compilation
svn-id: r43651
2009-08-22 14:52:26 +00:00
Eugene Sandulenko
ad507d3387 Attempt to fix DC and iPhone backends compilation
svn-id: r43650
2009-08-22 13:34:38 +00:00
Oystein Eftevaag
37c7cf951a Split the iPhone OSystem class up into several files
svn-id: r42479
2009-07-14 13:52:11 +00:00
Max Horn
bb28ed7b7a Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails

svn-id: r41932
2009-06-28 19:58:11 +00:00
Oystein Eftevaag
224e9840e1 Improved the iphone swipe input handling
svn-id: r41641
2009-06-18 18:57:17 +00:00
Johannes Schickel
c97a1aed74 Also strip trailing whitespaces in C and Objective-C source files. (Seems I forgot that we got those too :-P)
svn-id: r40872
2009-05-24 21:53:29 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Oystein Eftevaag
c5189faf2b Fixed some warnings
svn-id: r40444
2009-05-11 06:20:51 +00:00
Oystein Eftevaag
6d56924bb1 iPhone fixes for compiling with the unofficial sdk
svn-id: r40440
2009-05-10 22:15:33 +00:00
Oystein Eftevaag
11ba91b4de Updated xcode project and did some minor iphone optimizations
svn-id: r40418
2009-05-10 12:01:37 +00:00
Oystein Eftevaag
8b813f02b8 Converted the iPhone backend to use OpenGL ES instead of CoreSurface for graphics output
svn-id: r40403
2009-05-09 22:25:28 +00:00
Oystein Eftevaag
213c3eb143 Fixed a crash happening when an engine dirtied the full screen, and called initSize() before calling updateScreen (fixes bug 418820, specifically about Lost in Time crashing after the title screen)
svn-id: r39985
2009-04-18 14:04:44 +00:00
Oystein Eftevaag
741548cda6 iPhone: Updated input event system to firmware 2.x standard
svn-id: r39984
2009-04-18 13:52:30 +00:00
Jordi Vilalta Prat
b82707463a Remove the obsolete IPHONE_BACKEND define
svn-id: r39835
2009-04-04 10:10:15 +00:00
Oystein Eftevaag
b5e40034bc The xcode project can now compile a native Mac OS X build
svn-id: r39238
2009-03-08 16:09:25 +00:00
Oystein Eftevaag
741d8b36fe Cleaned out some unneeded stuff from the C blitting routines
svn-id: r39025
2009-03-01 09:47:19 +00:00
Oystein Eftevaag
99df3ccd73 When built with the xcode project, the file browser will now start browing for files inside the application bundle directory
svn-id: r39022
2009-03-01 09:05:48 +00:00
Oystein Eftevaag
6ece2b10b8 Merged iphone keyboard fix in from branch-0-13-0
svn-id: r39020
2009-03-01 08:41:03 +00:00
Oystein Eftevaag
d61b83814b Updated the iphone xcode project to include dependency libs, and fixed config/savegame paths
svn-id: r38386
2009-02-16 23:21:18 +00:00
Oystein Eftevaag
650749d401 Compatibility fixes for the official iPhone SDK
svn-id: r38280
2009-02-15 19:09:59 +00:00
Oystein Eftevaag
5b86801553 Merged revisions 36329, 38212, 38226and 38234 from branch-0-13-0 to trunk: iPhone backend updates
svn-id: r38240
2009-02-15 13:58:15 +00:00
Max Horn
c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00
Max Horn
8f16458e9b Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
e4b013f616 Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
svn-id: r36013
2009-01-23 03:30:40 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
36311eefb4 OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
svn-id: r34812
2008-10-16 17:18:15 +00:00
Oystein Eftevaag
3b83564ad5 Merged up iPhone backend changes from 0.12 to trunk
svn-id: r34483
2008-09-10 19:46:08 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Max Horn
4f5479ee74 Pushed some port specific code from DefaultSaveFileManager out to port specific code in backends/platform/
svn-id: r33621
2008-08-04 19:38:28 +00:00
Oystein Eftevaag
5ca78661b1 The iPhone backend is now (mostly) up to speed again, and works for firmware 2.0
svn-id: r33326
2008-07-27 10:15:57 +00:00
Max Horn
3b1a60c3b2 Removed obsolete ::clearSoundCallback() code
svn-id: r32826
2008-06-28 15:13:54 +00:00
Oystein Eftevaag
deb6baf0db Migration code for users updating to the 1.1.3 iPhone firmware, which has a different directory structure and permission setup
svn-id: r30761
2008-02-03 12:36:51 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
c4c481fecf Removed backends/intern.h
svn-id: r30611
2008-01-22 14:16:02 +00:00
Oystein Eftevaag
fe8faf4f19 (forward-port) Quick swipes across the screen now triggers arrow key events. Also, some mouse cursor fixes for landscape mode
svn-id: r30134
2008-01-02 00:07:16 +00:00
Oystein Eftevaag
b65cc2904a Added support for landscape mode in addition to the upside-down landscape mode we already had, and a few minor optimizations
svn-id: r30090
2007-12-31 00:22:37 +00:00
Oystein Eftevaag
f00ebbf8d9 Fixed mutex handling, and reverted sound callbacks to be from another thread again
svn-id: r29951
2007-12-22 11:53:04 +00:00
Oystein Eftevaag
9f6a40acbd Do sound callbacks from the main thread instead of a separate one, to avoid some concurrency issues. Increased sound buffer size. Removed the extra mousemoved event sent before each click, no longer needed. And finally some minor gesturing tweaks.
svn-id: r29931
2007-12-20 23:23:29 +00:00