40 Commits

Author SHA1 Message Date
D G Turner
50c5177eb0 AGI: Fix Remaining GCC Compiler Warnings
These were the remaining memset on non-trivial structure warnings.
2019-08-25 07:27:21 +01:00
D G Turner
482f835ad6 AGI: Fix GCC Compiler Warnings from memset of Game State Structures
This fixes these, but adding constructors causes further memset usage
warnings on the structures which are now "non-trivial" due to the addition
of constructors. Should be able to fix by repeating this process to remove
further memset usage.
2019-08-25 05:55:54 +01:00
Martin Kiewitz
eeaddfb20a AGI: Make MH1 nightclub arcade sequence slower for AppleIIgs
Thanks waltervn for pointing this issue out
AppleIIgs adjustment tables had to be extended, because the first
3 arcade sequences were running way too fast, while the last one
ran fine and all of those are part of one single room.
2017-02-10 19:43:16 +01:00
Johannes Schickel
6778175f6d AGI: Fix formatting.
This mostly enforces tabs for indentation and spaces for formatting. But also
fixes spaces on empty lines, some extra/missing spaces.

astyle + manual fixup
2016-02-02 20:15:18 +01:00
Martin Kiewitz
60cd621b74 AGI: fix warnings 2016-01-31 23:13:19 +01:00
Martin Kiewitz
8a595e7771 AGI: graphics rewrite + cleanup
- graphics code fully rewritten
- Apple IIgs font support
- Amiga Topaz support
- Word parser rewritten
- menu code rewritten
- removed forced 2 second delay on all room changes
  replaced with heuristic to detect situations, where it's required
- lots of naming cleanup
- new console commands show_map, screenobj, vmvars and vmflags
- all sorts of hacks/workarounds removed
- added SCI wait mouse cursor
- added Apple IIgs mouse cursor
- added Atari ST mouse cursor
- added Amiga/Apple IIgs transition
- added Atari ST transition
- user can select another render mode and
  use Apple IIgs palette + transition for PC versions
- inventory screen rewritten
- SetSimple command now properly implemented
- PreAGI Mickey: Sierra logo now shown
- saved games: now saving controller key mapping
  also saving automatic save data (SetSimple command)
- fixed invalid memory access when saving games (31 bytes were saved
  using Common::String c_ptr()

Special Thanks to:
- fuzzie for helping out with the Apple IIgs font + valgrind
- eriktorbjorn for helping out with valgrind
- LordHoto for figuring out the code, that caused invalid memory
  access in the original code, when saving a game
- sev for help out with reversing the Amiga transition

currently missing:
- mouse support for menu
- mouse support for system dialogs
- predictive dialog support
2016-01-29 13:22:22 +01:00
Johannes Schickel
6aac905dfd AGI: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Filippos Karapetis
beb1f5b316 AGI: Fix bug #3451122 - "AGI-FANMADE: Nick's Quest hangs ScummVM upon starting" 2012-01-07 18:56:23 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Eugene Sandulenko
8ad5694cb1 Reduce header dependencies for AGI engine.
svn-id: r46942
2010-01-03 20:15:44 +00:00
Eugene Sandulenko
45764de138 Cleanup
svn-id: r41251
2009-06-06 17:44:24 +00:00
Eugene Sandulenko
9e65796914 Switch AGI to common drawLine() as well
svn-id: r29636
2007-11-25 12:03:09 +00:00
Max Horn
982a2fce75 Refactore the AGI floodfill code
svn-id: r29600
2007-11-22 08:20:28 +00:00
Filippos Karapetis
634595e073 Cleanup
svn-id: r29592
2007-11-21 16:55:24 +00:00
Filippos Karapetis
381fba98c5 The animation of the crystals in Mickey is shown correctly now
svn-id: r29003
2007-09-21 08:41:27 +00:00
Eugene Sandulenko
14b89bcf46 Implement inventory in Troll's Tale
svn-id: r28987
2007-09-20 18:18:10 +00:00
Eugene Sandulenko
a8751e4d73 Fix picture drawing in Troll's Tale. Implement room navigation.
svn-id: r28946
2007-09-18 20:23:06 +00:00
Eugene Sandulenko
13a73a70b6 WIP for Troll's Tale
svn-id: r28939
2007-09-18 16:20:44 +00:00
Matthew Hoops
c1c7b5f563 PreAGI does not need an AGI resource loader, as it only needs to load pictures and doesn't use directories. So, this allows Winnie to decode pictures without using the loader
svn-id: r28893
2007-09-11 20:09:39 +00:00
Filippos Karapetis
6964db4592 Some updates for decoding Disney's BCG logo in Mickey
svn-id: r28869
2007-09-06 21:58:57 +00:00
Filippos Karapetis
2d974a22d4 Objects in Mickey are shown correctly now. Also, reduced the places where the screen gets updated
svn-id: r28862
2007-09-06 01:18:13 +00:00
Eugene Sandulenko
c5d18bf020 Move static variables to class.
svn-id: r28855
2007-09-05 19:35:30 +00:00
Filippos Karapetis
5a97b3d9be Some updates for Mickey:
- Click to move functionality (improvement over the original game). It's now possible to navigate around using the mouse as well, together with the menu commands. The mouse cursor changes when the player hovers it at the picture's edges, towards a direction where Mickey is able to move to (north, south, east or west)
- waitAnyKey has been moved into Mickey's code (because of the animation part)
- Implemented the circle flag for AGI picture decoding

svn-id: r28853
2007-09-05 15:43:56 +00:00
Filippos Karapetis
b555a15697 Some updates for Mickey: objects are shown now (though still incorrectly), implemented some incomplete code for the ship's blinking lights, implemented the scene animation function
svn-id: r28848
2007-09-03 15:03:50 +00:00
Filippos Karapetis
b4d77e60cf The dimensions of the picture resources in preagi games is different for each game. Mickey's pictures are shown correctly now
svn-id: r28819
2007-09-02 13:23:07 +00:00
Filippos Karapetis
762aaca73b The picture files in Mickey have a different width
svn-id: r28818
2007-09-02 12:56:55 +00:00
Travis Howell
ae007b49e0 Fix compile.
svn-id: r28814
2007-09-02 02:37:18 +00:00
Filippos Karapetis
38c21d6539 Merged all the different picture decoding functions
svn-id: r28811
2007-09-02 00:49:03 +00:00
Eugene Sandulenko
7f08865ec5 An early WIP of PreAGI (TrollVM) support
svn-id: r28787
2007-09-01 14:58:46 +00:00
Eugene Sandulenko
ce71254b9f Add older picture formats parsers
svn-id: r28784
2007-09-01 11:39:51 +00:00
Kari Salminen
582fa4cdf0 Add AGI256 picture resource decoding support to PictureMgr::decodePicture.
svn-id: r27568
2007-06-20 23:12:38 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Torbjörn Andersson
11682377e4 More header consistency fixes. (Actually, there was nothing at all to keep
font.h from being included multiple times.)

svn-id: r25744
2007-02-20 17:22:58 +00:00
Paweł Kołodziejski
b47eb95316 Formating names in source code
svn-id: r25101
2007-01-16 12:40:51 +00:00
David Symonds
ee1d36b915 Removed almost all the remaining hires code.
svn-id: r25037
2007-01-06 17:53:15 +00:00
David Symonds
5e2bd94f7a Start removing hires code from AGI engine.
svn-id: r25033
2007-01-06 17:07:13 +00:00
Paweł Kołodziejski
1d3ca2e409 first phase of objectisation of agi engine
svn-id: r24808
2006-12-06 19:27:02 +00:00
Torbjörn Andersson
4a583216fb Fixed most - not all - GCC warnings.
svn-id: r22614
2006-05-24 19:51:37 +00:00
Torbjörn Andersson
1bec2024a6 From what I understand, the __ prefix is generally reserved for system headers,
so I've removed most of them. There's still some in list.h, but that should
probably be replaced by our own list handler some day.

svn-id: r22611
2006-05-24 14:25:42 +00:00
Paweł Kołodziejski
107073537e imported AGI engine
svn-id: r22588
2006-05-23 23:43:52 +00:00