Commit Graph

2676 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
b8df8203c5 COMMON: Don't use parserError for non-parser errors 2013-04-16 19:13:30 +02:00
Sven Hesse
ef26df5877 COMMON: Remove useless member variable FFT:_permutation 2013-04-15 18:21:29 +02:00
Thierry Crozat
33a29ca61c COMMON: Fix assert condition in String::setChar() 2013-03-20 20:10:13 +00:00
Paul Gilbert
86306893c8 Merge pull request #309 from dreammaster/hopkins
Hopkins FBI Pull Request
2013-02-24 06:36:26 -08:00
Willem Jan Palenstijn
2d1fd3b554 ALL: Fix typo (existant->existent) 2013-02-23 22:07:32 +01:00
Dreammaster
bb3285d933 Merge branch 'master' into hopkins 2013-02-15 08:25:09 -05:00
Johannes Schickel
2f73d64e80 Merge pull request #305 from giucam/bufferedseekable
Make BufferedSeekableReadStream use the buffer with SEEK_SET and SEEK_END
2013-01-28 08:43:52 -08:00
Johannes Schickel
5bfd2f6756 COMMON: Fix successive seeks in BufferedSeekableReadStream.
This fixes the failing test case added in
da8eeb9dbe.

Thanks to wjp for his input on this.
2013-01-28 17:34:37 +01:00
Johannes Schickel
354aa0f5f3 JANITORIAL: Use "End of anonymous namespace" as comment for anonymous namespaces. 2013-01-26 19:38:02 +01:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Giulio Camuffo
edfcd768ba COMMON: Make BufferedSeekableReadStream use the buffer with SEEK_SET and SEEK_END 2013-01-26 19:12:26 +01:00
Johannes Schickel
36bfaa6a30 COMMON: Return NULL in wrapCompressedReadStream for compressed streams when ZLIB is disabled. 2013-01-26 15:25:13 +01:00
Johannes Schickel
59dde54519 Merge pull request #301 from lordhoto/c++11-playground
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-26 05:25:14 -08:00
Einar Johan Trøan Sømåen
5d4d65d6d9 JANITORIAL: Fix ){ -> ) { 2013-01-24 20:15:13 +01:00
Johannes Schickel
178365f5e9 COMMON: Add a header for C++11 keywords for pre-C++11 compilers.
This currently adds defines for nullptr and override, so we can use them in
pre-C++11 compilers, while taking advantage of them with C++11 compilers.
2013-01-09 07:53:41 +01:00
Tomas Jakobsson
f01d4c5aa8 COMMON: Add PackBitsReadStream to iff_container 2013-01-06 20:04:41 +01:00
Strangerke
a3ea253718 HOPKINS: Add support for BeOS full version 2012-12-14 01:53:17 +01:00
clone2727
91317c3630 Merge pull request #293 from clone2727/qtmidi
Add support for QuickTime Music playback
2012-12-13 15:49:40 -08:00
Johannes Schickel
2773f5d7af COMMON: Forbid symbols for the rest of is* from ctype.h.
I also moved the isprint case to the correct position.

This adds a FIXME to our lua code from sword25, which uses iscntrl directly.
2012-12-13 21:08:48 +01:00
Johannes Schickel
b0ba4b01a4 COMMON: Add wrapper for isprint.
This is done in the spirit of 658080deed.
2012-12-13 21:08:47 +01:00
Matthew Hoops
6b6e6c92c7 COMMON: Fix potential uninitialized memory usage 2012-12-13 00:39:48 -05:00
Paul Gilbert
798ddfaab5 Merge branch 'master' into hopkins 2012-10-31 09:34:38 +11:00
Strangerke
3f9172c7ec HOPKINS: Add detection for OS/2 and Win95 full versions 2012-10-17 18:58:45 +02:00
Johannes Schickel
efe2fe7e1f COMMON: Properly handle error indicator in MemoryWriteStream.
Thanks to waltervn for noticing that MemoryWriteStream::write doesn't handle
setting the error indicator properly.
2012-10-09 23:06:25 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops
4a458236f6 COMMON: Make QuickTimeParser::readSampleDesc take the desc size 2012-09-09 13:47:40 -04:00
Matthew Hoops
bbf0bbcd64 COMMON: Allow for parsing QuickTime MIDI files 2012-09-05 22:57:10 -04:00
Matthew Hoops
f35e820e9f Merge remote branch 'upstream/master' into pegasus 2012-09-05 11:45:25 -04:00
Matthew Hoops
2f9b1b67b0 ALL: Mark off some things as used by Pegasus 2012-08-31 22:26:02 -04:00
Alyssa Milburn
31801137b5 Merge remote-tracking branch 'origin/master' into tony
Conflicts:
	common/coroutines.cpp
	common/coroutines.h
	devtools/create_project/msbuild.cpp
	devtools/create_project/visualstudio.cpp
2012-08-28 15:54:12 +02:00
Matthew Hoops
bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00
Matthew Hoops
857b92f8ff Merge pull request #268 from clone2727/video-rewrite
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Matthew Hoops
6f9d84665f COMMON: Add MKTAG16 for 16-bit multi-character constants 2012-08-26 12:38:35 -04:00
Alyssa Milburn
f4b83283f3 COMMON: Fix waiting for multiple coroutine events.
This fixes the bWaitAll case of waitForMultipleObjects, and also the
resetting of events later in the function.
2012-08-25 14:05:04 +02:00
Alyssa Milburn
b5a63d6709 COMMON: Remove fprintf/stderr usage from xmlparser. 2012-08-15 00:15:29 +02:00
Matthew Hoops
991710d0a1 VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder API 2012-07-27 11:32:51 -04:00
Einar Johan Trøan Sømåen
b398dcabaf COMMON: Add an optional argument to wrapCompressedReadStream, to simplify using streams that can't tell their size() 2012-07-18 13:54:15 +02:00
Filippos Karapetis
2c161796c5 Merge pull request #239 from bluegr/skipsavecompression
COMMON: Allow the savefile manager to create uncompressed saves
2012-07-01 11:08:08 -07:00
Thierry Crozat
50136f43c7 COMMON: Expand a bit the KeyState documentation
This follows a bug that was found in the Lure engine where keycode
was used in a place where it should have used ascii.
2012-07-01 01:03:49 +01:00
Filippos Karapetis
16adcb5145 COMMON: Simplify the documentation in openForSaving()
The new more concise description is courtesy of wjp.
2012-06-25 22:32:00 +03:00
Matthew Hoops
91efe792d5 Merge remote branch 'upstream/master' into pegasus 2012-06-24 09:37:53 -04:00
Filippos Karapetis
c9ace6426e COMMON: Add a detailed explanation on when to create uncompressed saves 2012-06-21 10:48:06 +03:00
Filippos Karapetis
4c4a127ca2 COMMON: Add documentation regarding the new parameter in openForSaving() 2012-06-21 10:48:04 +03:00
Filippos Karapetis
e10e412bba COMMON: Allow the savefile manager to create uncompressed saves
These are useful in cases where the files can be used in the original
interpreters (such as the exported characters from QFG), in order to avoid
confusion in cases where the users are unaware that these saves are
compressed and are trying to load them in the original interpreters.
2012-06-21 10:48:03 +03:00
Johannes Schickel
4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
Johannes Schickel
1b1b1d6615 Merge pull request #244 from clone2727/football2002-wday
COMMON: Add tm_wday to our TimeDate struct
2012-06-17 17:17:06 -07:00
Paul Gilbert
269ea2f6be COMMON: Change pulseEvent to better reflect how it works in Windows 2012-06-17 17:29:20 +10:00
Matthew Hoops
625f6cc716 Merge remote branch 'upstream/master' into pegasus 2012-06-16 01:43:32 -04:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00