Commit Graph
5295 Commits
Author SHA1 Message Date
David Corrales 720c974faf Changed SaveFileManager::listSavegames() function to be engine agnostic. It now returns a list will the full paths of existing files that match a given regex.
Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly.

svn-id: r28046
2007-07-12 17:58:15 +00:00
Robin Watts b1feb9c65c This commit adds a new build define USE_ARM_GFX_ASM (and sets it for the WinCE
and DS builds). This causes the scumm engines graphics code to call ARM
routines to do drawStripToScreen and copy8col.

These routines were originally written for the DS port, and have now been made
available to any other ARM device out there that wants them. 

I've tested this change on WinCE, but can't test it on the DS as I don't have
one. We know that the routines work there though.

svn-id: r28016
2007-07-10 20:20:50 +00:00
David Corrales 1a965aad95 Update the interfaces for the getChildren method to include the hidden flag.
Also added some missing method stubs to the gamecard dc port.

svn-id: r27984
2007-07-09 01:26:54 +00:00
David Corrales 8a36379d55 Fixed a couple compilation issues in the windows build.
svn-id: r27983
2007-07-09 01:16:13 +00:00
David Corrales 779f702b69 Fixed a very strange bug with strings. Also added a couple sanity checks.
svn-id: r27973
2007-07-08 17:44:26 +00:00
David Corrales 9bfe5d5354 Merged the FSNode branch with trunk r27681:27969
svn-id: r27970
2007-07-08 16:58:54 +00:00
Max Horn 41c68ac3e4 Removed various obsolete methods from OSystem (screenToOverlayX/Y, overlayToScreenX/Y)
svn-id: r27961
2007-07-08 12:02:38 +00:00
David Corrales 256e4d9521 Initial patch to the listSavefiles method. Now only the existing savegames are marked as available.
svn-id: r27957
2007-07-08 07:19:50 +00:00
John Willis 8e35049c9e Tidy up of the GP2X config.sh and bundle.sh scripts. Add support for libMPEG2 (software YV12 for now). Now needs the latest test Open2x lib pack to build (http://wiki.open2x.org/open2x/wiki/index.php?title=Prebuilt_Library_Packages#Test_Releases).
svn-id: r27922
2007-07-05 14:35:35 +00:00
Max Horn a64b12bb03 Only invoke g_engine->pauseEngine if g_engine != NULL
svn-id: r27831
2007-07-01 18:22:25 +00:00
Max Horn e2ad271bd8 Removing non-ASCII chars from source code
svn-id: r27818
2007-07-01 12:47:07 +00:00
Neil Millstone b49b2b7db3 Adding mistakenly deleted file
svn-id: r27805
2007-06-30 23:42:58 +00:00
Neil Millstone 951ffd0684 Just a test
svn-id: r27804
2007-06-30 23:10:03 +00:00
Neil Millstone 75a05652e5 - Show mouse cursor option
- Support for SAGA, CINE, and AGI
- Key bindings for Gob3
- Assembler optimisations submitted by Robin Watts

svn-id: r27803
2007-06-30 23:03:03 +00:00
Max Horn dc91dcde00 Adding some missing stuff to the PS2 port (it still will require quite some work to get it working again)
svn-id: r27799
2007-06-30 21:20:47 +00:00
Max Horn fed38a794f Added Engine::pauseEngine method (allows outside code, like the backend, to pause/resume the active engine); made the global 'confirm exit' dialog use that feature; implemented ScummEngine::pauseEngine
svn-id: r27797
2007-06-30 18:22:21 +00:00
Max Horn 21624d3eb7 typo
svn-id: r27791
2007-06-30 16:11:20 +00:00
Max Horn c7fa7baf1f Added global support for the (so far undocumented) confirm_exit config key
svn-id: r27788
2007-06-30 12:43:53 +00:00
Max Horn 45aea284d1 whitespaces
svn-id: r27787
2007-06-30 12:39:12 +00:00
John Willis 11fccdbff2 Cleanup of the GP2X port to fix compile issues (and the odd warning).
svn-id: r27728
2007-06-26 08:50:11 +00:00
Max Horn bcdbd90849 Not necessary to have a LINUPY hack in the GP2x backend
svn-id: r27696
2007-06-24 18:51:06 +00:00
Max Horn 0b1ce0774a Use keycodes instead of the (bad) ascii code for function keys in the DC backend
svn-id: r27695
2007-06-24 18:49:48 +00:00
Robin Watts 0a70227091 Update the WinCE makefile to use the USE_ARM_SMUSH_ASM define to enable
the ARM version of Codec47 from Smush.

svn-id: r27694
2007-06-24 17:55:47 +00:00
David Corrales 7091babe4d Missed some files in the branch/trunk merge.
svn-id: r27682
2007-06-23 19:04:15 +00:00
David Corrales cacd7a28fd Merged the FSNode branch with trunk r27031:27680
svn-id: r27681
2007-06-23 18:51:33 +00:00
Robin Watts 90c2210dae Add a couple of casts from int to (Common:KeyCode) in the WinCE specific code.
2 of the 4 casts are lifted from the standard sdl/events.cpp file. The other
2 (casting the results of mapKeyCE before assigning to event.kbd.keycode look
correct to me too, but might bear double checking.

svn-id: r27680
2007-06-23 17:15:36 +00:00
Robin Watts f0a25f7a9b Tweaks to WinCE makefile.
The choice of which libraries to use (zlib, tremorce, mad, mpeg2 etc) is
now made by a single define per library towards the top of the makefile.

Given that developers tend to have different options selected on their local
builds, hopefully this will minimise the changes on aubsequent svn updates.

svn-id: r27676
2007-06-23 16:37:42 +00:00
Travis Howell 8151111ee8 Add missing semi-colon.
svn-id: r27660
2007-06-23 12:16:43 +00:00
Max Horn f97cbb8294 Update GUI::Key constructs
svn-id: r27643
2007-06-23 00:05:32 +00:00
Max Horn 05a70fc8e4 Produce 'correct' keycode/ascii values for function keys
svn-id: r27642
2007-06-22 23:43:17 +00:00
Joost Peters cd8f5dc521 fix compilation by casting the %, {, }, | and ~ keycode "magic" numbers to Common::KeyCode
svn-id: r27632
2007-06-22 22:06:25 +00:00
Max Horn 2fa0a5c457 Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
svn-id: r27625
2007-06-22 21:16:07 +00:00
Max Horn 85bf0f6d6b Added Common::KEYCODE_INALID
svn-id: r27622
2007-06-22 20:51:13 +00:00
Max Horn 264008f2b3 Oops, forgot Common:: qualifier
svn-id: r27621
2007-06-22 20:43:30 +00:00
Max Horn 4b50a4ffe2 Potential fix for PSP build problems
svn-id: r27620
2007-06-22 20:40:17 +00:00
Max Horn 2b23374468 Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/
svn-id: r27616
2007-06-22 20:04:44 +00:00
Matthew Hoops 2496c5b554 fix compile (thanks salty-horse!)
svn-id: r27614
2007-06-22 18:57:07 +00:00
Max Horn 55f93678b8 Heavily modified/reduced version of patch #1741454 (EVENTS: ASCII enum)
svn-id: r27612
2007-06-22 17:51:51 +00:00
Max Horn bd9ba26109 Modified version of patch #1740493 (EVENTS: Event Key Codes)
svn-id: r27592
2007-06-21 18:35:15 +00:00
Max Horn 129955ab55 Fix for bug #1740241 (PSP: revision 27553 doesn't build)
svn-id: r27559
2007-06-20 19:11:36 +00:00
David Corrales 0ac96302fe Initial implementation of the lookupFile() function. It's meant to search recursively for given
filename within a set of directories.

svn-id: r27551
2007-06-20 00:28:04 +00:00
Max Horn b51f2f3212 Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax.
svn-id: r27548
2007-06-19 22:39:59 +00:00
Max Horn dc62023190 Use the SCUMMVM_VERSION macro from base/internal_version.h in the maemo backend code, instead of hardcoding it (one potential headache less, yippie)
svn-id: r27537
2007-06-18 14:18:42 +00:00
Travis Howell 8c881acd48 Update versions.
svn-id: r27536
2007-06-18 13:41:51 +00:00
Max Horn e5c205a324 Added backends/platform/ds/arm9/makefile(.in) to tools/update-version.pl
svn-id: r27533
2007-06-18 12:43:39 +00:00
Max Horn 019cbf0e6c Added FIXME to dsmain.cpp about it not using SCUMMVM_VERSION (thus adding one more headache to the release process)
svn-id: r27531
2007-06-18 12:34:29 +00:00
Bertrand Augereau 1e048c1de6 NDS : Suppressed unneccessary complications regarding the backbuffer when CPU-scaled, basically it has the same stride than the regular one (512b) so most code doesn't have to change
svn-id: r27517
2007-06-18 07:06:24 +00:00
Bertrand Augereau e5107cb980 NDS: setKeyboardEnable shouldn't overrun VRAM anymore when CPU scaler is on
svn-id: r27515
2007-06-17 19:37:07 +00:00
David Corrales 8ebf479bc5 Added a new parameter to the getChildren function, which allows including hidden files in the results.
svn-id: r27514
2007-06-17 17:17:38 +00:00
Bertrand Augereau 29bfadcdd7 NDS: Compile fixes
svn-id: r27508
2007-06-17 10:30:34 +00:00