Commit Graph

263 Commits

Author SHA1 Message Date
Max Horn
183e018c19 AGOS: cleanup 2011-05-17 15:36:25 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
73f04118f3 COMMON: Rename Error to ErrorCode, introduce new Error class 2011-04-18 18:22:02 +02:00
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Max Horn
e70fd59b35 ENGINES: Further simplify pseudo MidiDrivers; fix some regressions
The regression affected AGOS and maybe some others; specifically,
the real MidiDriver would have been deleted twice -- I previously
missed that the Engine instances takes care of freeing the real
MidiDriver, not the MidiPlayer wrapping it.

This commit should clarify the ownership of the real MidiDriver for
most pseudo MidiDrivers.
2011-03-23 16:49:41 +01:00
Ori Avtalion
ee3e08bbc2 AGOS: Avoid hiding overloaded virtual methods 2011-02-27 21:25:05 +02:00
Johannes Schickel
2b62f6bec3 AGOS: Adapt to setPalette RGBA->RGB change.
I only (minimally) tested this change with Simon 1 + 2 DOS CD.
2011-02-15 23:22:30 +01:00
Max Horn
ee7056542c AGOS: Reduce header interdependencies
svn-id: r55843
2011-02-09 00:13:42 +00:00
Max Horn
ee4770ffb6 ENGINES: Change 'colour' to 'color'
Only changed this in engines where 'color' was/is already used
almost exclusively

svn-id: r54288
2010-11-17 12:22:08 +00:00
Travis Howell
1e078a22f5 AGOS: Display item names and descriptions via GUImessage, in Swampy Adventures for now.
svn-id: r54084
2010-11-05 03:30:45 +00:00
Max Horn
4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Torbjörn Andersson
dde6dabac9 Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,
because that would cause some nasty regressions...)

svn-id: r50643
2010-07-04 07:32:12 +00:00
Travis Howell
9f53578fd2 Fix compiler warning.
svn-id: r48365
2010-03-23 00:42:42 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Travis Howell
0e41ec67d1 Exclude font data tables for The Feeble Files, when AGOS2 games are disabled.
svn-id: r48174
2010-03-07 11:46:03 +00:00
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Travis Howell
48cce58ab5 Split the script opcode table for DIMP, since it doesn't match(ie timers) other Puzzle Pack games.
svn-id: r44285
2009-09-24 03:41:45 +00:00
Travis Howell
c4f6d91777 Fix bug #2865191 - NoPatience hangs after undo.
svn-id: r44281
2009-09-24 00:38:29 +00:00
Travis Howell
8a62c94f80 Enable Personal Nightmare by default.
svn-id: r43304
2009-08-12 02:24:03 +00:00
Johannes Schickel
73e07b60d5 Fix AGOS compilation.
svn-id: r43276
2009-08-11 15:35:30 +00:00
Travis Howell
1c15bcf87d Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game engine, which require higher resolution.
svn-id: r43270
2009-08-11 14:42:44 +00:00
Travis Howell
66311e3248 Fix fade effects in Waxworks.
svn-id: r42638
2009-07-21 10:37:58 +00:00
Max Horn
48e065a0ad AGOS: Removed second setjmp in PN code (untested!)
svn-id: r42593
2009-07-18 15:15:26 +00:00
Max Horn
2250ff1df6 AGOS: Get rid of one setjmp in PN code (needs testing)
svn-id: r42592
2009-07-18 15:12:54 +00:00
Max Horn
ebe3e42fba AGOS: Cleanup PN code a bit, trying to make sense out of it
svn-id: r42491
2009-07-14 21:46:23 +00:00
Travis Howell
dc0f6dce76 Use graphics surfaces for screen buffers, and always use correct pitch when writing to the frameBuffer.
svn-id: r42163
2009-07-06 06:21:59 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Max Horn
c4f6295330 Fixed some more warnings observed on buildbot
svn-id: r42010
2009-07-01 20:51:34 +00:00
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Travis Howell
ddf3336bc1 Add more Polish font data for The Feeble Files.
svn-id: r41374
2009-06-08 14:50:34 +00:00
Travis Howell
bce47e7eb6 Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
2009-05-16 05:34:16 +00:00
Travis Howell
dd54193f95 Expand dump image code to cover all games, and add options to the debugger.
svn-id: r40548
2009-05-14 07:05:51 +00:00
Travis Howell
bb4b2a5060 Fix input glitch regression again, by closer matching original PN code.
svn-id: r40329
2009-05-05 13:40:16 +00:00
Travis Howell
5450bf6630 Fix input been displayed during ending sequence in PN.
svn-id: r40300
2009-05-04 12:55:04 +00:00
Max Horn
ab05e79715 AGOS: Merged timerCallback and timerProc; removed checkTimerCallback declaration without implementation
svn-id: r40076
2009-04-22 12:57:23 +00:00
Travis Howell
d6247fa0e0 Fix crash that occurs when OmniTV video is played completely, in The Feeble Files.
svn-id: r40063
2009-04-22 10:19:10 +00:00
Travis Howell
d30033fc04 Fix possible overwriting of sound data in earlier games, and cleanup.
svn-id: r40015
2009-04-19 01:28:27 +00:00
Travis Howell
2ff57df1e5 Cleanup.
svn-id: r39260
2009-03-09 04:37:31 +00:00
Travis Howell
93deecccef Minor cleanup.
svn-id: r39259
2009-03-09 04:16:27 +00:00
Travis Howell
269754759f Changed _inputting & _inputReady from uint8 to bool.
svn-id: r39258
2009-03-09 03:58:18 +00:00
Max Horn
563d76d342 AGOS: Changed _leftButtonDown & _rightButtonDown from byte to int
svn-id: r39256
2009-03-09 03:45:33 +00:00
Travis Howell
2bd2fe43c5 Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
2009-03-09 02:25:29 +00:00
Travis Howell
2abfb968a6 Replace samewrd() function, with scumm_strnicmp.
svn-id: r39248
2009-03-08 22:54:00 +00:00
Travis Howell
1937dca584 Cleanup.
svn-id: r39222
2009-03-08 13:18:07 +00:00
Travis Howell
56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +00:00
Travis Howell
2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Travis Howell
e75178f383 Add minor verb code differences in Elvira 1/2.
svn-id: r39136
2009-03-05 21:38:17 +00:00
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +00:00