Commit Graph

94 Commits

Author SHA1 Message Date
Max Horn
b8f2a3a342 cleanup
svn-id: r47333
2010-01-16 21:34:36 +00:00
Johannes Schickel
0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc.
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)

This commit does not touch "adlib" and "ADLIB" uses!

Also it does not update all the SCUMM detection entries, which still use "Adlib".

svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn
0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Paul Gilbert
5c732e00ee Started implementation of the original game's cheat mode
svn-id: r46425
2009-12-20 07:10:32 +00:00
Paul Gilbert
b729218bb6 Changed the M4 event handler to encode the keyboard flags into KEVENT_KEY events
svn-id: r46424
2009-12-20 07:09:40 +00:00
Paul Gilbert
63350a0ecc Further implementation of dialog/message script language
svn-id: r46418
2009-12-19 05:47:31 +00:00
Paul Gilbert
ae50fdca72 Added an extra assert
svn-id: r46417
2009-12-19 05:46:26 +00:00
Paul Gilbert
575308cea7 Implemented basic message parsing
svn-id: r46402
2009-12-17 07:55:08 +00:00
Paul Gilbert
d10bb1036e Implemented the rendering section of dialog display
svn-id: r46338
2009-12-12 11:59:38 +00:00
Torbjörn Andersson
22ca0c1e92 Renamed line() to drawLine() to silence warning about function parameters in
dialogs.cpp shadowing it. Actually, the function doesn't seem to be used
anywhere at the moment, but perhaps someone has future plans for it?

svn-id: r46331
2009-12-11 17:14:55 +00:00
Paul Gilbert
724d698a05 Beginnings of a dialog display class
svn-id: r46330
2009-12-11 09:41:27 +00:00
Max Horn
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Max Horn
d34cdae9ce M4: Move 'determine transparent color' hack into a new M4Sprite method
svn-id: r46281
2009-12-07 18:23:28 +00:00
Max Horn
f8126d9da6 M4: Make M4Surface member w, h, pixels protected; some cleanup
svn-id: r46280
2009-12-07 18:22:18 +00:00
Max Horn
6d1e4dd034 M4: Rename M4Surface::getData() to getBasePtr() for consistency
svn-id: r46279
2009-12-07 18:20:20 +00:00
Paul Gilbert
f21810242e Hooked up the actions list and object-specific actions to change the status text
svn-id: r46268
2009-12-05 11:32:19 +00:00
Paul Gilbert
0841063a32 Added a new variation to the 'object' command to add an object to the player's inventory
svn-id: r46267
2009-12-05 07:47:01 +00:00
Paul Gilbert
0e85be8405 Implemented support for the inventory list scrollbar and directly selecting an object
svn-id: r46266
2009-12-05 07:46:41 +00:00
Torbjörn Andersson
cb90685831 Silenced warning.
svn-id: r46265
2009-12-05 06:14:04 +00:00
Paul Gilbert
60fa351d32 Expanded the actions view into a full user interface view, and added support for highlighting of user interface elements
svn-id: r46262
2009-12-05 05:44:46 +00:00
Paul Gilbert
9bc2aa2afa Corrected the palette colours for the interface elements
svn-id: r46230
2009-12-01 10:47:39 +00:00
Max Horn
e98f789a02 Fix warning
svn-id: r46156
2009-11-26 16:10:59 +00:00
Paul Gilbert
f3b15df8e3 Changed the game list in the doxygen comment to list all the games the engine will hopefully eventually support
svn-id: r46154
2009-11-26 12:07:01 +00:00
Paul Gilbert
3f1093c162 Added some comments on the status of the engine
svn-id: r46153
2009-11-26 12:00:37 +00:00
Paul Gilbert
5afc0e5ed7 Added the basics of a action list display
svn-id: r46152
2009-11-26 11:48:43 +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
Paul Gilbert
67442c230c Added display of the rotating inventory objects
svn-id: r45912
2009-11-15 08:22:57 +00:00
Paul Gilbert
6bb2b8aa9a Added support for needed MADS game configuration options
svn-id: r45911
2009-11-15 08:22:14 +00:00
Paul Gilbert
94f5c0a2f8 Added a staticres file with the MADS articles list, and added an article field to the MADSObject class
svn-id: r45856
2009-11-12 10:07:44 +00:00
Johannes Schickel
2c95e82e26 Comment out unused variable.
svn-id: r45833
2009-11-11 14:27:45 +00:00
Paul Gilbert
feab5f63ff Beginnings of support for AA file animations. The mads_anim.cpp commit is part of this, not the previous commit
svn-id: r45828
2009-11-11 09:56:29 +00:00
Paul Gilbert
faaec05e65 Removed all the '- 1' from calls to get vocabs, centralising it in the getVocab method. This is correct, as the first element in the game vocab list is '1', not '0'.
svn-id: r45827
2009-11-11 09:55:05 +00:00
Lars Persson
e4e9080187 Missing template argument for MIN (added <uint>)
svn-id: r45803
2009-11-10 09:31:47 +00:00
Paul Gilbert
a6f1280fcc Added support for loading the game's object list
svn-id: r45651
2009-11-04 08:38:32 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Paul Gilbert
aba45bfd5f Reworked of code line in changeExtension that was giving a cppcheck warning
svn-id: r44517
2009-10-01 12:12:07 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
6b79910bcb Fixed some more warnings about unreachable code
svn-id: r44300
2009-09-24 10:15:50 +00:00
Johannes Schickel
c50940bbf4 Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
2009-09-23 00:15:00 +00:00
Travis Howell
eb0b61976d Fix compile of M4 game engine.
svn-id: r44028
2009-09-11 09:31:57 +00:00
Max Horn
7cf23a2c4d M4: Seems that s1_cos and s1_sin are either misnamed, or buggy ?
svn-id: r44026
2009-09-11 08:43:32 +00:00
Max Horn
c6d2441db3 Don't abuse FORCEINLINE
svn-id: r44025
2009-09-11 08:39:09 +00:00
Matthew Hoops
05035fd8c3 Fix a new/free mismatch when creating a MemoryReadStream from a MemoryWriteStreamDynamic by changing MemoryWriteStreamDynamic to use malloc/free instead of new/delete[]. This could have affected ScummEngine_v4::prepareSavegame().
svn-id: r43918
2009-09-03 16:15:10 +00:00
Johannes Schickel
40aac5fbf7 Add comment why the syntax for ScriptDataCache::load was changed.
svn-id: r43694
2009-08-24 12:27:25 +00:00
Johannes Schickel
ea08733873 Small syntax change in the hope to make the motoezx target happy.
svn-id: r43692
2009-08-24 11:36:00 +00:00
Johannes Schickel
7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00