Commit Graph
3029 Commits
Author SHA1 Message Date
Travis Howell be4628ffca Remove defines, which were only used by checkHeap()
svn-id: r23980
2006-09-23 11:37:05 +00:00
Max Horn d02e4d7f7c Removed CHECK_HEAP
svn-id: r23979
2006-09-23 11:29:32 +00:00
Travis Howell 847c145810 Whitepsace changes
svn-id: r23978
2006-09-23 01:16:32 +00:00
Travis Howell 1e4dc7f5b6 Remove duplicate and left over _WIN32_WCE checks
svn-id: r23977
2006-09-23 01:08:39 +00:00
Travis Howell 17d4f41a88 Fix mingw compile
svn-id: r23976
2006-09-23 01:05:30 +00:00
Max Horn f0ac3d1c9e Moved error/warning/checkHeap from engines/engine.cpp to common/util.cpp
svn-id: r23975
2006-09-23 00:51:30 +00:00
Max Horn 4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn 919092e5fc Overhaul of the debugger code
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
  restrictions)
* Change the base Debugger class to *not* be a template class anymore;
  instead, a thin (template based) wrapper class is used to hook up
  debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
  version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
  the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore

svn-id: r23890
2006-09-16 16:58:27 +00:00
Eugene Sandulenko c870d057a4 Change Brazilian Portuguese acronym from "pt" to "br" in case there will
be pure Portuguese games and to make use of brazilian flag. No detection stuff
is dependent on this, though BASS and Sword1 make use of it. However no
autoupgrade option is implemented, should it be?

svn-id: r23710
2006-08-15 19:54:41 +00:00
Max Horn 4ee581adb5 Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
svn-id: r23666
2006-08-04 17:47:57 +00:00
Max Horn ca7880df6c Added new method OSystem::getScreenChangeID(), which can be used by code to track screen changes even without getting all EVENT_SCREEN_CHANGED events
svn-id: r23661
2006-08-04 13:10:28 +00:00
Max Horn 53f73eac85 Added explicit string equals/hash functors to a new header common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case
svn-id: r23634
2006-07-30 12:21:54 +00:00
Max Horn bd49091afd Added new equals(IgnoreCase) and compareTo(IgnoreCase) methods to class String
svn-id: r23633
2006-07-30 12:17:51 +00:00
Max Horn b3a66e817f Rename BaseNodeFunc to BaseNodeType
svn-id: r23627
2006-07-30 10:48:44 +00:00
Johannes Schickel f464830a17 Documenting Common::File a bit.
svn-id: r23588
2006-07-24 12:10:32 +00:00
Max Horn 4fcdbb9349 String class usage cleanup
svn-id: r23582
2006-07-23 15:08:48 +00:00
Max Horn 2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00
Johannes Schickel 1ffd496043 Added some warnings if md5_file is used on an illegal FilesystemNode.
svn-id: r23568
2006-07-22 17:06:14 +00:00
Johannes Schickel 63aec29edb Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to -devel for more information.
svn-id: r23567
2006-07-22 17:01:50 +00:00
Max Horn c59e7ece0a Part of the FreeMiNT patch
svn-id: r23566
2006-07-22 17:00:36 +00:00
Johannes Schickel 8116b6aab3 Using FilesystemNode::name instead of FilesystemNode::displayName in the fileclass too, then again this doesn't *have* to work. (check FilesystemNode documentation)
svn-id: r23562
2006-07-22 15:21:40 +00:00
Johannes Schickel 3f81726437 Return false for directories on md5_file with a FSNode as param.
svn-id: r23560
2006-07-22 15:05:59 +00:00
Johannes Schickel 4ae5cef491 - let md5_file accept a FilesystemNode too
- changes some engine detectors to use it

svn-id: r23559
2006-07-22 14:59:44 +00:00
Max Horn 6ed00cd055 Added FilesystemNode::name method
svn-id: r23553
2006-07-22 14:14:16 +00:00
Max Horn f59cf1fcdc Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
svn-id: r23547
2006-07-21 21:25:17 +00:00
Torbjörn Andersson 6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Travis Howell 175c951e8e Add cyx's patch for #1497725 - GUI: trying to enter empty CD drive
svn-id: r23475
2006-07-10 11:12:11 +00:00
Travis Howell 53aa4f054a Change default config file location to 'Application Data\ScummVM' directory of the user's profile, when using Windows NT4/2000/XP/Vista
svn-id: r23465
2006-07-10 01:25:52 +00:00
Max Horn f35f4a4d1c Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
2006-07-09 13:01:15 +00:00
Max Horn 7df2f26b34 Changed the default value of START_PACK_STRUCTS / END_PACK_STRUCTS; cleanup
svn-id: r23456
2006-07-09 12:45:50 +00:00
Max Horn bea72e9514 Patch #1519399: DS Backend
svn-id: r23452
2006-07-09 11:47:17 +00:00
Max Horn eaff9344a4 Added OSystem::setFocusRectangle (first part of Nintendo DS patch)
svn-id: r23449
2006-07-09 09:40:44 +00:00
Torbjörn Andersson 07ffde9270 Fixed typo in comment.
svn-id: r23435
2006-07-08 20:20:07 +00:00
Joost Peters 240acc427a make grabRawScreen() pure virtual, since it's now _required_ to be implemented by backends for certain SCUMM games to function properly.
This happened when ScummEngine::moveScreen() was changed in revision 23215 and causes Indy4 to fail the assert(_system->grabRawScreen(...)) on PSP (and Symbian?), where this function was not implemented.

svn-id: r23383
2006-07-07 09:00:18 +00:00
Max Horn 87d3e4fb0e Moved savefile.cpp to backends, to work around link error
svn-id: r23361
2006-06-30 22:06:45 +00:00
Max Horn d67f9623cc Typo, and stress that getSavePath() is not to be used for storing savegames via Common::File
svn-id: r23286
2006-06-24 10:46:47 +00:00
Max Horn 6a588f8399 Moved savefile code to new 'saves' backend module (work in progress)
svn-id: r23282
2006-06-24 10:08:43 +00:00
Max Horn c9fd9c4878 Added 'timer' backend module, based on the existing TimerManager code (work in progress)
svn-id: r23279
2006-06-24 09:53:45 +00:00
Max Horn 75628fe9d7 Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn 9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Lars Persson 7675b3546d Remove _name.clear(); from Close since same File instance is re-opened by Symbian using that filename.
svn-id: r23152
2006-06-16 22:20:07 +00:00
Oystein Eftevaag 0aa06392f8 Applied the patch included in bug rep [ 1503716 ] Leak in File::Open (on OS X) and unzOpen (on all)
svn-id: r23019
2006-06-11 02:23:17 +00:00
Kostas Nakos f29a09a35f fixes ps2 stuff I broke
svn-id: r23013
2006-06-10 17:36:57 +00:00
Kostas Nakos 92ad46734c added CE port definitions section
svn-id: r23008
2006-06-10 11:26:47 +00:00
Eugene Sandulenko 5b1aaf4ea0 Patch #1503718: "Strange results from Common::computeCapacity"
svn-id: r22998
2006-06-10 07:56:09 +00:00
Robert Göffringmann cd24b1d91c fixed ps2 types.
svn-id: r22985
2006-06-08 08:18:55 +00:00
Robert Göffringmann 7e65543482 cleanup, made osystem for .ini on different devices.
svn-id: r22984
2006-06-08 06:53:00 +00:00
Max Horn 6d0a06463a Lazily allocate _refCount in class String
svn-id: r22935
2006-06-05 17:36:08 +00:00
Torbjörn Andersson 2e071b59d6 When ensureCapacity() does not have an old string to copy, make sure the newly
allocated one is terminated. Hopefully this will keep the SCUMM save dialog
from randomly adding garbage to my savegame names.

svn-id: r22908
2006-06-04 09:14:07 +00:00