Commit Graph

235 Commits

Author SHA1 Message Date
Max Horn
e9bc5ba280 Backends now are also responsile for deiniting properly. In particular, moved the call to quit() from scummvm_main to the various backend main routines (porters may want to replace it by something different)
svn-id: r21559
2006-04-02 14:31:23 +00:00
Max Horn
9217472f0e With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
2006-04-02 14:16:31 +00:00
Max Horn
587431f8e8 Fully and officially renamed our main function to scummvm_main, thus making
various backend specific hacks unnecessary. As a consequence, it is now the
responsibility of the backend to define main. Hence I adapted the SDL backend
accordingly.

svn-id: r21542
2006-04-02 00:08:22 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
cbb2ca005c Change CVS keywords to SVN keywords
svn-id: r20535
2006-02-11 12:47:47 +00:00
Max Horn
0ad58cdb95 Removed .cvsignore files
svn-id: r20424
2006-02-07 22:50:14 +00:00
Paweł Kołodziejski
2ebdbbf5e0 fixes allow compile with emsvc4 again
svn-id: r20355
2006-02-03 07:30:29 +00:00
Nicolas Bacca
7b1e399ab3 Knakos patch
svn-id: r20309
2006-01-29 23:25:14 +00:00
Nicolas Bacca
bf6adf4b1d Knakos patch & new icons
svn-id: r20308
2006-01-29 23:24:20 +00:00
Nicolas Bacca
0fa2388ca7 New icon
svn-id: r20307
2006-01-29 23:23:48 +00:00
Nicolas Bacca
2032149e7a Update with 0.8.1 comments
svn-id: r20306
2006-01-29 23:23:38 +00:00
Nicolas Bacca
aad356f5f5 Knakos patch & Smartphone fixes
svn-id: r20305
2006-01-29 23:23:17 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b34013de97 Argh! Binary files got modified too. Reverting them.
svn-id: r19144
2005-10-18 02:47:29 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Nicolas Bacca
9bd5866df2 Toolbar must be visible to process an action.
svn-id: r19122
2005-10-16 22:53:56 +00:00
Nicolas Bacca
ce1a66a332 Windows Mobile 5 devices support (requires the latest SDL Windows CE port available on http://arisme.free.fr updated during this week) - Use the old mouse code to avoid scalers problems (to be fixed after 0.8.0 release) - Display/Hide the toolbar by double tapping quickly on the top of the screen to comply with the new GUI height
svn-id: r19121
2005-10-16 22:52:46 +00:00
Nicolas Bacca
4317c0001e Windows Mobile 5 devices support (requires the latest SDL Windows CE port available on http://arisme.free.fr updated during this week) - Use the old mouse code to avoid scalers problems (to be fixed after 0.8.0 release)
svn-id: r19120
2005-10-16 22:52:46 +00:00
Nicolas Bacca
8b2d14324c Support for Gobliiins and ITE engines
svn-id: r19119
2005-10-16 22:48:53 +00:00
Nicolas Bacca
e2eefba7dc Update to use common GUI::Actions class
svn-id: r19118
2005-10-16 22:47:53 +00:00
Nicolas Bacca
e1e60aa631 Newer Smartphones detection for Windows Mobile 5.0 - add some simulation options when debugging on a Pocket PC platform
svn-id: r19117
2005-10-16 22:37:17 +00:00
Nicolas Bacca
1135e05ccd Support for Gobliiins and ITE engines
svn-id: r19116
2005-10-16 22:35:38 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Lars Persson
caf6151bba Last modifications for Actions to WinCE.
svn-id: r18500
2005-07-05 20:51:54 +00:00
Lars Persson
a5af0165ba * Updated WINCE files to compile with new code sharing with other small screen devices (such as Symbian)
svn-id: r18499
2005-07-05 20:27:14 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +00:00
Torbjörn Andersson
1d39f986c9 Whitespace changes.
svn-id: r18449
2005-06-24 16:08:31 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Nicolas Bacca
f4262a1bbb Gobliiins tweaks
svn-id: r17528
2005-04-10 21:11:02 +00:00
Jonathan Gray
24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Nicolas Bacca
20f8403742 Update for 0.7.1
svn-id: r17250
2005-03-26 14:35:39 +00:00
Nicolas Bacca
06ed39e031 Add Insane Cheat action
svn-id: r17243
2005-03-26 13:29:04 +00:00
Nicolas Bacca
5a7c9f7d74 Tweak WinCE timer re-entry workaround to play Insane sequences
svn-id: r17242
2005-03-26 13:24:53 +00:00
Nicolas Bacca
61aab60064 Should fix key mapping issues
svn-id: r17238
2005-03-26 09:04:33 +00:00
Nicolas Bacca
a7d2552cfd Fix head first crash. Virtual functions + one parameter added == fun :p
svn-id: r17167
2005-03-16 22:27:11 +00:00
Paweł Kołodziejski
009cc66a24 fixed compilation for for overlay SDL latest changes, and formating code.
Wince SDL port is currently broken, it crash at NULL _screen pointer while locking SDL surface inside OSystem_SDL::clearScreen() func

svn-id: r17152
2005-03-15 09:43:38 +00:00
Eugene Sandulenko
7bb53f3bf1 Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.

Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.

svn-id: r17055
2005-03-09 23:07:32 +00:00
Nicolas Bacca
bf55edd72a Update to latest branch fixes
svn-id: r16683
2005-01-28 23:45:53 +00:00
Nicolas Bacca
c62d82450b Add isalnum for HPC compiler
svn-id: r16678
2005-01-28 20:49:41 +00:00
Paweł Kołodziejski
dd2f9da1a8 fix compilation
svn-id: r16651
2005-01-27 21:34:21 +00:00
Max Horn
0423866e0a Ensure these headers match the rest of ScummVM
svn-id: r16505
2005-01-09 16:07:53 +00:00
Nicolas Bacca
434d59a5d6 Fix uninitialized variable, fixes Hide Toolbar random failures - thanks iKi
svn-id: r16429
2005-01-04 23:00:03 +00:00
Nicolas Bacca
7b268f7d47 Fix yet another copy&paste mistake from 0.6.1b
svn-id: r16428
2005-01-04 22:55:37 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Nicolas Bacca
b4e9a4b92f Add Zone key support for Smartphones. Last commit for today
svn-id: r16266
2004-12-23 01:15:27 +00:00
Nicolas Bacca
f3c60df7ad Update CE specific FAQ
svn-id: r16248
2004-12-21 23:59:51 +00:00
Nicolas Bacca
22aac69fe5 Cleanup mouseclick emulation (and make the new about dialog happy)
svn-id: r16222
2004-12-21 00:31:58 +00:00
Nicolas Bacca
38c1b61759 Fix assert
svn-id: r16216
2004-12-20 23:52:51 +00:00
Nicolas Bacca
347815cdae Re-add Smartphone support (sorry for the year lag :p)
svn-id: r16215
2004-12-20 23:52:16 +00:00