Commit Graph
4144 Commits
Author SHA1 Message Date
Max Horn 83b3f336b4 cleanup
svn-id: r36009
2009-01-23 02:30:09 +00:00
Max Horn abc06ca18e Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. into methods, and added an operator==
svn-id: r35993
2009-01-22 04:35:10 +00:00
Max Horn 53cd1361c5 Made Common::Stack return refs, thus ensuring that it matches exactly the behavior of FixedStack; added unit tests
svn-id: r35974
2009-01-21 02:23:09 +00:00
Johannes Schickel cd952a7c27 Whoops it seems the comment used "backslashes" instead of "slashes" in other places too.
svn-id: r35949
2009-01-20 12:44:44 +00:00
Johannes Schickel c0cd121ffd Fixed typo in comment.
svn-id: r35948
2009-01-20 12:37:05 +00:00
Pawel Kolodziejski 6ea0539d4f synced some parts of scummvm "common" code 2009-01-13 22:25:33 +00:00
Pawel Kolodziejski fb3e42fd4b synced array.h with scummvm 2009-01-12 22:09:56 +00:00
Pawel Kolodziejski 1316ac79cd synced algorithm.h with scummvm 2009-01-12 22:07:47 +00:00
Eugene Sandulenko 83972e2001 Merge in Virtual Keybpard & KeyMapper branch,
- Merge is perfromed in order to not let rotting the code
- Makefile modifications were avoided

Stuff to resolve:
- Circular dependency of common/vkeybd from graphics/
- Make it compilable (?)
- Add some keyboards
- Decide on the key bindings

svn-id: r35813
2009-01-11 00:20:27 +00:00
Max Horn 6561a7bf36 Set/unified svn:keywords for all *.h and *.cpp files
svn-id: r35651
2009-01-01 17:05:05 +00:00
Eugene Sandulenko 696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn 87a2747744 Turned FSNode into a ArchiveMember subclass; removed the now obsolete FSDirectoryMember; moved FSDirectory from common/archive.h to common/fs.h
svn-id: r35578
2008-12-27 18:03:27 +00:00
Max Horn 2fec0a3088 Moved addDirectory from SearchManager to SearchSet; changed several places from using '++it' instead of 'it++' to iterate over a list (this is more efficient)
svn-id: r35576
2008-12-27 17:16:48 +00:00
Max Horn fb5f64b969 Clarify ZipArchive constructor usage
svn-id: r35575
2008-12-27 17:09:28 +00:00
Max Horn df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Jordi Vilalta Prat b1999a2a16 Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
2008-12-22 11:22:15 +00:00
Johannes Schickel 1f0b94a9ca Committed slightly modified version of my patch at bug tracker item #2309974 "ALL: */? match path separator in FSDir::listMatchingMembers".
svn-id: r35450
2008-12-20 15:04:17 +00:00
Max Horn ea3d4fe22d cleanup
svn-id: r35381
2008-12-15 12:55:13 +00:00
Johannes Schickel 3334af5507 Removed last traces of X11 backend.
svn-id: r35287
2008-12-08 21:48:29 +00:00
Max Horn abae99d645 Get rid of readLine_OLD for good
svn-id: r35229
2008-12-03 22:55:30 +00:00
Filippos Karapetis bd3f83b508 Turned on MSVC warning 4505 - "Unreferenced local function has been removed", as it's very useful in finding dead code
svn-id: r35160
2008-11-23 15:40:35 +00:00
Filippos Karapetis 71dcfd13a2 Re-enabled MSVC warning 4125 - "decimal digits terminates octal escape sequence". This was thrown for a string with incorrect extended characters in the SAGA engine, which has been corrected now, so the warning itself is valid and quite informative.
svn-id: r35159
2008-11-23 15:26:51 +00:00
Max Horn 44d37a14a9 Removed FSNode::lookupFile
svn-id: r35142
2008-11-21 19:14:23 +00:00
Johannes Schickel 858de9b938 Formatting / Cleanup.
svn-id: r35141
2008-11-21 17:49:19 +00:00
Willem Jan Palenstijn 196e2cc92c refactor inconsistent calls to cacheDirectoryRecursive
svn-id: r35140
2008-11-21 13:29:53 +00:00
Max Horn a28b531ed0 Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
svn-id: r35139
2008-11-21 12:17:35 +00:00
Johannes Schickel 19aea83411 Fixed documentation.
svn-id: r35109
2008-11-18 14:57:40 +00:00
Max Horn 2f7197ead1 Saving some more bytes of binary size in the advanced detector
svn-id: r35081
2008-11-15 13:19:40 +00:00
Johannes Schickel 78e85a00f2 Little fix for my last commit.
svn-id: r35074
2008-11-15 03:34:08 +00:00
Johannes Schickel f57bf13819 Yet another buffer safetyness fix. (strcpy -> strncpy)
svn-id: r35073
2008-11-15 03:22:00 +00:00
Johannes Schickel 478ee06fb8 Paranoia: Add destination buffer size to Engine::errorString to help avoiding buffer overflows.
svn-id: r35072
2008-11-15 03:16:41 +00:00
Johannes Schickel 5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Johannes Schickel b11af14335 Fixed compilation with DISABLE_TEXT_CONSOLE.
svn-id: r35041
2008-11-13 11:46:17 +00:00
Max Horn a6502da9ac * got rid of CDECL
* got rid of scumm_strrev
* added DISABLE_TEXT_CONSOLE flag which disables printf, warning, debug (but not error)

svn-id: r35038
2008-11-13 11:26:47 +00:00
Max Horn f5b70114ca Removed many unnecessary #includes
svn-id: r34959
2008-11-09 15:14:01 +00:00
Max Horn 43e7832e0e Removed unused XML_GLOBAL_PROP functionality (saves some kilobytes)
svn-id: r34950
2008-11-09 12:37:19 +00:00
Nicola Mettifogo 71d7b5762a Reverted my earlier commit r34926.
svn-id: r34930
2008-11-07 13:50:56 +00:00
Johannes Schickel 4cc5015fd0 Fixed leak when using SearchSet::add for an already existing name.
svn-id: r34928
2008-11-07 13:42:05 +00:00
Nicola Mettifogo 203db86869 Fixed leaks in SearchMan. Default directories are now added with the 'autoFree' parameter set to true.
svn-id: r34926
2008-11-07 11:09:16 +00:00
Max Horn 5bf81acb95 Refactoring the Arj decoder code, phase 4 (done for now, TODO added for future work)
svn-id: r34925
2008-11-07 10:14:57 +00:00
Max Horn 903dd97aa1 Refactoring the Arj decoder code, phase 3 (fixing some more leaks, too)
svn-id: r34924
2008-11-07 09:57:54 +00:00
Max Horn 81431f18cd Refactoring the Arj decoder code, phase 2
svn-id: r34923
2008-11-07 09:50:51 +00:00
Max Horn 060aa5b002 Refactoring the Arj decoder code, phase 1
svn-id: r34922
2008-11-07 09:46:12 +00:00
Max Horn 4c8f221fb8 Merged SFMError into Common::Error, added some new error codes; revised some error handling in DefaultSaveManager
svn-id: r34915
2008-11-06 16:40:00 +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 f238a12b27 Got rid of OSystem::ARGBToColor and colorToARGB
svn-id: r34911
2008-11-06 14:27:13 +00:00
Max Horn 38a4eaa001 cleanup
svn-id: r34910
2008-11-06 14:03:38 +00:00
Max Horn 142a8d5a51 Simplified AdvancedMetaEngine::fallbackDetect usage
svn-id: r34909
2008-11-06 13:59:39 +00:00
Max Horn f32be87633 Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
svn-id: r34906
2008-11-05 17:24:56 +00:00
Max Horn f2c5d0563f dead code
svn-id: r34900
2008-11-04 20:05:33 +00:00