johndoe123
1cb1e66c10
NEVERHOOD: Implement Class488 (renaming TODO)
2013-05-08 20:43:39 +02:00
johndoe123
12bb3f23f3
NEVERHOOD: Implement Scene2808
2013-05-08 20:43:39 +02:00
johndoe123
404aaaad94
NEVERHOOD: Implement Class469
2013-05-08 20:43:39 +02:00
johndoe123
c2f91e39ba
NEVERHOOD: Implement Scene2806 (Class469 TODO)
2013-05-08 20:43:39 +02:00
johndoe123
f3d98e6275
NEVERHOOD: Add scene 28/05
2013-05-08 20:43:38 +02:00
johndoe123
ee7bd2fc6c
NEVERHOOD: Implement Scene2803b
...
- Also some more Klayman stuff used by that scene
2013-05-08 20:43:38 +02:00
johndoe123
6467904898
NEVERHOOD: Implement Scene2805
2013-05-08 20:43:38 +02:00
johndoe123
9de3cf5675
NEVERHOOD: Some minor cleanup, add a TODO about some palette issues (I couldn't find any apparent causes yet)
2013-05-08 20:43:38 +02:00
johndoe123
0683ed9eee
NEVERHOOD: Rename SetSpriteCallback to SetSpriteUpdate
...
- Started replace message numbers with constants
- Add NRect::contains
- Some cleanup
2013-05-08 20:43:38 +02:00
Willem Jan Palenstijn
9c2341678e
Merge branch 'master'
2013-05-08 20:40:58 +02:00
johndoe123
8172d679df
NEVERHOOD: Add scene create/update handling in Module2800
2013-05-08 20:40:44 +02:00
Filippos Karapetis
88bfe5d076
NEVERHOOD: Added a FIXME
2013-05-08 20:40:04 +02:00
johndoe123
2e94464a8a
NEVERHOOD: Start with Module2800 and add Scene2801
2013-05-08 20:40:04 +02:00
johndoe123
13efdceb9e
NEVERHOOD: Add TODO
2013-05-08 20:40:04 +02:00
Filippos Karapetis
4f35989ac4
NEVERHOOD: Minor renaming, avoid mixing variables with their types
2013-05-08 20:40:03 +02:00
Filippos Karapetis
5465e6fe64
NEVERHOOD: Pack the KlaymanIdleTableItem struct
2013-05-08 20:40:03 +02:00
johndoe123
f43b54827e
NEVERHOOD: Some renaming in Module1000
2013-05-08 20:40:03 +02:00
johndoe123
adb02a9f38
NEVERHOOD: More renaming
2013-05-08 20:40:03 +02:00
johndoe123
dac95f3f73
NEVERHOOD: More renaming (mostly in Klayman and AnimatedSprite)
2013-05-08 20:40:03 +02:00
Willem Jan Palenstijn
01f3f3a8dd
Merge branch 'master'
2013-05-08 20:39:44 +02:00
johndoe123
9cf2c83e5e
NEVERHOOD: Major renaming:
...
- Give better names to animation callback functions/vars
- Give better names to animation functions (previously known as subXXXX - not completed yet)
- Add dumpAllResources (which is a lie, since it only dumps animations for now)
- More renaming to come
2013-05-08 20:39:43 +02:00
johndoe123
023c36f2b6
NEVERHOOD: Add Class437 (still needs renaming, of course :)
2013-05-08 20:39:43 +02:00
johndoe123
c56c93f085
NEVERHOOD: Add Scene2702 (needs cleanup)
2013-05-08 20:39:43 +02:00
johndoe123
d276e7ceaa
NEVERHOOD: Add Scene2701
2013-05-08 20:39:42 +02:00
johndoe123
463039c406
NEVERHOOD: Add Scene2706
...
- Move calcDistance from Class521 to graphics.cpp
2013-05-08 20:39:42 +02:00
johndoe123
aa789ee02b
NEVERHOOD: More work in Module2700
2013-05-08 20:39:42 +02:00
johndoe123
770689b2f1
NEVERHOOD: Start with Module2700 (doesn't do anything yet)
2013-05-08 20:39:42 +02:00
johndoe123
28be9f6f4b
NEVERHOOD: Add Scene2609 and hook Module2600 to the GameModule
2013-05-08 20:39:42 +02:00
johndoe123
9f599a7dfc
NEVERHOOD: Start with Module2600 (missing Scene2609)
2013-05-08 20:39:42 +02:00
johndoe123
8840c74819
NEVERHOOD: Add floor button to Scene1401
2013-05-08 20:39:41 +02:00
johndoe123
a7dcbd0f33
NEVERHOOD: Add floor button ("Class429") to Scene2101
2013-05-08 20:39:41 +02:00
johndoe123
21ebcf2af2
NEVERHOOD: Add Module2100 and Scene2101 (not complete yet)
2013-05-08 20:39:41 +02:00
johndoe123
7a0a0c4b65
NEVERHOOD: Add Module1900 and Scene1901, Scene1907
...
(Scene1908 is actually only used in another module...)
2013-05-08 20:39:41 +02:00
johndoe123
2275141d56
NEVERHOOD: Add Scene1609
...
- Use Scene::insertSprite<> in all scenes
2013-05-08 20:39:41 +02:00
johndoe123
af2820fd23
NEVERHOOD: Add leaveModule and leaveScene
...
(instead of using sendMessage directly)
2013-05-08 20:39:41 +02:00
johndoe123
236ca705e8
NEVERHOOD: Add Module1600 and Scene1608 (stuff will be renamed later)
2013-05-08 20:39:41 +02:00
johndoe123
47f1fe141b
NEVERHOOD: Add Scene1109
...
- Also fix some bugs regarding a missing parameter to setMessageList in various scenes
2013-05-08 20:39:40 +02:00
johndoe123
3872efe2a5
NEVERHOOD: Start with Module1100 and add Scene1105
2013-05-08 20:39:40 +02:00
johndoe123
abf78e07ee
NEVERHOOD: Replace InsertKlayman macros with template functions (still weird but nicer)
2013-05-08 20:39:40 +02:00
johndoe123
9aff6337bc
NEVERHOOD: Try to cleanup sprite creation with a templated insertSprite function (only in Module1000 so far)
2013-05-08 20:39:40 +02:00
johndoe123
1b2d496d18
NEVERHOOD: Try to clean up the clipRect stuff a little
2013-05-08 20:39:40 +02:00
johndoe123
2f670690bc
NEVERHOOD: Add Scene::setPalette for simpled palette creation and use it
2013-05-08 20:39:40 +02:00
johndoe123
fa695229be
NEVERHOOD: Add Sprite::setVisible and use it instead of direct access to the surface member
2013-05-08 20:39:40 +02:00
johndoe123
10ff159030
NEVERHOOD: Move createModuleXXX/updateModuleXXX methods
...
There are merged into createModule and updateModule in the GameModule class
2013-05-08 20:39:40 +02:00
johndoe123
17ad070a9c
NEVERHOOD: Move createSceneXXX/updateSceneXXX methods
...
They are merged into createScene and updateScene for the other already
implemented modules (I hope I didn't break too much :)
2013-05-08 20:39:39 +02:00
johndoe123
a4c34cedd5
NEVERHOOD: Merge createSceneXXX/updateSceneXXX methods into createScene and updateScene for Module1200
2013-05-08 20:39:39 +02:00
johndoe123
0ec039c5b0
NEVERHOOD: Merge the three mouse classes into Mouse, introduce insertMouse433 etc. methods and use them
2013-05-08 20:39:39 +02:00
johndoe123
71ea4d5877
NEVERHOOD: Merge Palette2 class into Palette
2013-05-08 20:39:39 +02:00
johndoe123
d24907d1bb
NEVERHOOD: Rename Palette2::addPalette to addBasePalette to prepare the merge of the Palette/Palette2 classes
2013-05-08 20:39:39 +02:00
johndoe123
67fe73352b
NEVERHOOD: Merge createSceneXXX/updateSceneXXX methods into createScene and updateScene for Module1000
2013-05-08 20:39:39 +02:00
johndoe123
02fe0bc65d
NEVERHOOD: Merge scene-specific createSceneXXX/updateSceneXXX methods into createScene and updateScene (for Module2200 only so far)
2013-05-08 20:39:39 +02:00
johndoe123
fad64afa44
NEVERHOOD: Remove unused resource preloading stuff (probably resource preloading is not needed since the original game ran off slow double/quad-speed cd drives and preloading reduced stuttering while playing back then)
...
- Add Klayman animation speedup
2013-05-08 20:39:39 +02:00
johndoe123
c30e16628e
NEVERHOOD: Add Module::updateChild and use it (in most places)
2013-05-08 20:39:39 +02:00
johndoe123
5d63bef6a2
NEVERHOOD: Use setBackground
2013-05-08 20:39:39 +02:00
johndoe123
4a88ce37dd
NEVERHOOD: Use InsertKlayman
2013-05-08 20:39:38 +02:00
johndoe123
cac9a090e7
NEVERHOOD: Use insertStaticSprite
2013-05-08 20:39:38 +02:00
johndoe123
b757e22f88
NEVERHOOD: Multiple changes to make the game logic code cleaner (hopefully :)
...
- Introduce Scene::insertStaticSprite to create static sprites instead of the old "addSprite(new StaticSprite" (not used everywhere yet)
- Introduce macro InsertKlayman to create the Klayman object
- Change sendMessage semantics from "receiver->sendMessage(num,arg,sender)" to "sendMessage(receiver,num,arg)", the sender is always the sending object ("this")
- Similar changes using macros will follow
- And fixed a bug in the elevator
2013-05-08 20:39:38 +02:00
johndoe123
a21f9ef891
NEVERHOOD: Add Scene1310 and Scene1311
2013-05-08 20:39:38 +02:00
johndoe123
38378d2090
NEVERHOOD: Add Scene1317
...
- Fix SmackerPlayer (last frame was dropped, this hopefully doesn't break other stuff...)
2013-05-08 20:39:38 +02:00
johndoe123
3e122b002c
NEVERHOOD: Add Scene1308 (renaming of stuff todo)
2013-05-08 20:39:38 +02:00
johndoe123
e13b8740c9
NEVERHOOD: Add Scene1307
2013-05-08 20:39:38 +02:00
johndoe123
30ff790a07
NEVERHOOD: Add Scene1306
2013-05-08 20:39:38 +02:00
johndoe123
a6cb31c9c3
NEVERHOOD: Add Scene1305
2013-05-08 20:39:38 +02:00
johndoe123
086879a4aa
NEVERHOOD: Add Scene1304
2013-05-08 20:39:37 +02:00
johndoe123
9d6e3b9575
NEVERHOOD: Add Scene1303
2013-05-08 20:39:37 +02:00
johndoe123
d4030b7a9f
NEVERHOOD: Start with Module1300 and implement Scene1302
2013-05-08 20:39:37 +02:00
johndoe123
9b151cefc3
NEVERHOOD: Implement HallOfRecordsScene (and all HoR scenes) and Scene2247
...
- Load SceneInfo140 from neverhood.dat
- Some renaming
2013-05-08 20:39:36 +02:00
johndoe123
b16f34c376
NEVERHOOD: Add Scene2248
2013-05-08 20:39:36 +02:00
johndoe123
49658b6b5a
NEVERHOOD: Forgot to remove debug code
2013-05-08 20:39:36 +02:00
johndoe123
9133d17cdf
NEVERHOOD: Implement Scene2242
2013-05-08 20:39:36 +02:00
johndoe123
730844f1b7
NEVERHOOD: Implement Scene2208 (viewer for Hall Of Records text)
...
- Implement Screen::drawSurface3 and Screen::drawUnk and move actual blitting code to Screen::blit
2013-05-08 20:39:36 +02:00
johndoe123
50996201f4
NEVERHOOD: Very small cleanup
2013-05-08 20:39:36 +02:00
johndoe123
41f8749bd0
NEVERHOOD: Implement Scene2207 (not complete yet)
2013-05-08 20:39:36 +02:00
johndoe123
f29619f655
NEVERHOOD: Implement Scene2206
2013-05-08 20:39:36 +02:00
johndoe123
e177dcf911
NEVERHOOD: Implement Scene2205
2013-05-08 20:39:35 +02:00
johndoe123
732f7c8845
NEVERHOOD: Add Scene2204 (just a DiskplayerScene)
2013-05-08 20:39:35 +02:00
johndoe123
31457e11aa
NEVERHOOD: Implement Scene2203
2013-05-08 20:39:35 +02:00
johndoe123
c4a4ce4e35
NEVERHOOD: Implement Scene2202 (sliding puzzle)
2013-05-08 20:39:35 +02:00
johndoe123
b64b0cfac2
NEVERHOOD: Implement updateScene2201
2013-05-08 20:39:35 +02:00
johndoe123
eb8c44b54c
NEVERHOOD: Implement Scene2201
...
- Implement DataResource::getHitRectList, DataResource::getMessageListAtPos and related stuff in scene.cpp
2013-05-08 20:39:35 +02:00
digitall
bec86c7c2e
NEVERHOOD: Switch to initGraphics() call, rather than separate calls. Default to 1xScalar.
2013-05-08 20:39:35 +02:00
johndoe123
5fcc3af23b
NEVERHOOD: Implement Module2000
2013-05-08 20:39:34 +02:00
johndoe123
9d12661537
NEVERHOOD: Implement Scene3011
...
- And use _moduleDone instead of _done in Module3000
2013-05-08 20:39:34 +02:00
johndoe123
87d1f79f31
NEVERHOOD: More work on Scene3009
2013-05-08 20:39:34 +02:00
johndoe123
d88836596d
NEVERHOOD: More work on Module3000 and Scene3009 (incomplete)
2013-05-08 20:39:34 +02:00
johndoe123
63fe7bd18a
NEVERHOOD: Introduce and use Module::createNavigationScene and Module::createSmackerScene
2013-05-08 20:39:34 +02:00
johndoe123
08be9cde7b
NEVERHOOD: Implement Scene3010 (door lock)
2013-05-08 20:39:34 +02:00
johndoe123
d7dd4b4356
NEVERHOOD: Implement Scene1403, Scene1404 and Scene1405 (memory minigame)
...
- Move GameModule::startup call into engine instead of the game module constructor
- Reduce debug output
2013-05-08 20:39:34 +02:00
johndoe123
bfd71cff6e
NEVERHOOD: New modules Module1200, Module1400, Module1700 and Module1800
...
- Implement CollisionMan::removeSprite
2013-05-08 20:39:34 +02:00
johndoe123
f162516f25
NEVERHOOD: More work on Scene1201
2013-05-08 20:38:48 +02:00
johndoe123
720050bec1
NEVERHOOD: Start with Module1200/Scene1201 (not complete yet)
...
- Fix an odd bug with the game variables (index of newly added subvar was sometimes -1)
2013-05-08 20:38:48 +02:00
johndoe123
438b6bb53c
NEVERHOOD: Implement Module2300 (just a bunch of NavigationScenes)
...
- Fix Smacker player by using a SafeSubReadStream
- Fix NavigationMouse (cursors in type 1 were swapped)
2013-05-08 20:38:48 +02:00
johndoe123
71da221507
NEVERHOOD: Implement Scene1004
...
- Module1000 is now almost complete
2013-05-08 20:38:48 +02:00
johndoe123
a23b694c94
NEVERHOOD: Implement Scene1005
...
- Add FontSurface
- Add DataResource
- Fix NavigationScene, only accept input when interactive
2013-05-08 20:38:48 +02:00
johndoe123
0bfb52df74
NEVERHOOD: Implement NavigationScene
...
- Work on the SmackerDecoder, create the surface immediately when a file is opened
2013-05-08 20:38:48 +02:00
johndoe123
db9e45706c
NEVERHOOD: More work on Scene1002
...
- Implement NavigationMouse and NavigationLists
- Some renaming
2013-05-08 20:38:48 +02:00
johndoe123
8a5c4a84d0
NEVERHOOD: Implement color replace in AnimatedSprite
...
(used to disable a color in sprite drawing)
2013-05-08 20:38:47 +02:00
johndoe123
2647778935
NEVERHOOD: Fix crash/corruption in clipped sprite drawing
2013-05-08 20:38:47 +02:00
johndoe123
436f8952bb
NEVERHOOD: More work on Scene1002, Klayman and the rest
...
- Add "heavy debug" output to Entity (display which update/message handler is called)
- Also add more debug output
- Error out when a StaticData resource could not be found
2013-05-08 20:38:47 +02:00
johndoe123
b611b65bf4
NEVERHOOD: Change addHitRect to use an explicit count
...
- This is since the alignment stuff didn't work and it's not worth it to investigate
- Add possibility to write out hardcoded message lists instead of reading from the exe for special lists
2013-05-08 20:38:47 +02:00
johndoe123
ffe024844b
NEVERHOOD: More work on Scene1002
2013-05-08 20:38:47 +02:00
johndoe123
92e08f21ed
NEVERHOOD: Start with Scene1002 (a lot incomplete)
2013-05-08 20:38:47 +02:00
johndoe123
626cea6d1c
NEVERHOOD: Implement Mouse435
2013-05-08 20:38:47 +02:00
johndoe123
9f6e6c6f7f
NEVERHOOD: Implement MouseCursorResource and Mouse433 mouse cursor
2013-05-08 20:38:47 +02:00
johndoe123
c39fb81951
NEVERHOOD: More work on Scene1001/Klayman
...
- Looking through the open window now works (mostly).
2013-05-08 20:38:47 +02:00
johndoe123
6d81ef0199
NEVERHOOD: Implement game vars
2013-05-08 20:38:47 +02:00
johndoe123
ed863b65b5
NEVERHOOD: More work on Scene1001/Klayman
...
- The button can now be used, but looking at the open window doesn't work yet since game variables aren't implemented yet.
2013-05-08 20:38:46 +02:00
johndoe123
222cd4a651
NEVERHOOD: More work on Scene1001 and Klayman
...
- Fix a bug in Klayman's walking
- The lever can now be used
- Other stuff is still missing
- Remove entity.cpp since it's not needed
2013-05-08 20:38:46 +02:00
johndoe123
5c69ae21dd
NEVERHOOD: More work on Klayman (still eye cancerous code)
...
- Start to implement KmScene1001
- Implement queryPositionSprite and queryPositionRectList
- Implement message list related code (setting and running them)
- Access to message params now with accessors (so compatible types can be converted)
2013-05-08 20:38:46 +02:00
johndoe123
c694ce8505
NEVERHOOD: More work on Klayman
...
- Rename Scene::_playerSprite to _klayman
- Send mouse clicks to the scene object (has not effect yet)
2013-05-08 20:30:59 +02:00
johndoe123
3131cc6f18
NEVERHOOD: Implement Klayman::update
2013-05-08 20:30:58 +02:00
johndoe123
88d2759f85
NEVERHOOD: Start with the Klayman class (this is quite some horrible code, also, it doesn't work yet and isn't used yet)
2013-05-08 20:30:58 +02:00
johndoe123
5a34d20ec8
NEVERHOOD: More work on Scene1001, also give sprites classes and vars some better names
2013-05-08 20:30:58 +02:00
johndoe123
e6236a3978
NEVERHOOD: Add transparency and x flipping to sprite drawing (flip y still TODO but rarely used)
...
- Add Class511 (the lever) to Module1000
2013-05-08 20:30:58 +02:00
johndoe123
97f319c945
NEVERHOOD: More work on Scene1001, implement Class509 (yes, will be renamed later) and AnimResource related stuff
2013-05-08 20:30:58 +02:00
johndoe123
056b69f0c8
NEVERHOOD: Module1000 and Scene1001 skeletons
...
- Implement BaseSurface::drawSpriteResourceEx
- Use CollisionMan in Scene
- Some cleanup
2013-05-08 20:30:58 +02:00
johndoe123
6b71d17792
NEVERHOOD: Start with the CollisionMan class
2013-05-08 20:30:58 +02:00
johndoe123
ae4ef4e66d
NEVERHOOD: Add StaticData class
2013-05-08 20:30:58 +02:00
johndoe123
9d0e90bcd2
NEVERHOOD: Add skeleton for Module1000
...
- Add dummies for game variable access
2013-05-08 20:30:58 +02:00
johndoe123
21eb88053c
NEVERHOOD: Implement SmackerScene, SmackerPlayer and related stuff
...
- The intro video after the logo screens is now played (still needs better sync)
2013-05-08 20:30:58 +02:00
johndoe123
bd1749863e
NEVERHOOD: Start with the Palette2 class (which needs a better name later)
...
- Implement Screen::drawSurface2 (needs color key support)
- The first intro now show up, complete with fade-in and fade-out
2013-05-08 20:30:58 +02:00
johndoe123
1285b37b32
NEVERHOOD: Start with the Background and DirtyBackground classes
...
- Also make related changes in other code
- Call the game module's draw method in the main loop
- Add some more debug output in resource load functions
2013-05-08 20:30:58 +02:00
johndoe123
44ab81eab8
NEVERHOOD: Start with the Screen class, also
...
- Move common headers used in modules to module.h so they don't have to be explicitly #included in each module header
- Clean up #includes
2013-05-08 20:30:58 +02:00
johndoe123
3c82668fe4
NEVERHOOD: More work on Module1500
...
- Implement Scene1501 (with yet unimpelemented stuff commented out)
- Add preliminary main loop to test stuff/updates
- Add dummy SoundResource
- And fix a mean bug/typo in some initializer lists...
(The intro now "runs" but doesn't show anything yet since the actual display code and other classes are not yet implemented yet.)
2013-05-08 20:30:57 +02:00
johndoe123
f01f9343c8
NEVERHOOD: Start with AnimatedSprite and AnimResource
2013-05-08 20:30:57 +02:00
johndoe123
0614b288cf
NEVERHOOD: Add default parameters to StaticSprite constructors
2013-05-08 20:30:57 +02:00
johndoe123
aded2a104b
NEVERHOOD: Start with Scene and Sprite classes
2013-05-08 20:30:57 +02:00
johndoe123
ce4ef688b3
NEVERHOOD: Add skeleton for Module1500 (the intro module)
2013-05-08 20:30:57 +02:00
johndoe123
4a01a69e37
NEVERHOOD: Start with Module and GameModule classes
2013-05-08 20:30:57 +02:00
johndoe123
eb5ab30ce0
NEVERHOOD: More work on the Palette class
2013-05-08 20:30:57 +02:00
johndoe123
108368e9b5
NEVERHOOD: Add more
...
- SpriteResource and PaletteResource resource classes
- Extend BaseSurface to be able to draw SpriteResources onto it
- Implement Entity base class (this may need some work concerning the update/message callbacks later since I'm not sure if the way it's done now is portable)
2013-05-08 20:30:57 +02:00
johndoe123
a262055df2
NEVERHOOD: Start with the BaseSurface class (doesn't do much yet)
2013-05-08 20:30:57 +02:00
johndoe123
7d5d5f139f
NEVERHOOD: Start with graphics code (bitmap parsing and rle decompression)
2013-05-08 20:30:57 +02:00
johndoe123
70d20096c1
NEVERHOOD: Start with the resource manager
2013-05-08 20:30:57 +02:00
johndoe123
3b00cfa669
NEVERHOOD: Start with the blb archive class
2013-05-08 20:30:57 +02:00
johndoe123
52e0ac85db
NEVERHOOD: First code with basic detection, nothing else so far
2013-05-08 20:30:49 +02:00
athrxx
78ba3210a5
KYRA: (LOL) - fix bug in last commit for scene_lol.cpp
2013-04-18 22:15:25 +02:00
Einar Johan Trøan Sømåen
6c55213cd5
WINTERMUTE: Add 'override' to most Script-related functions.
2013-04-18 18:04:51 +02:00
Einar Johan Trøan Sømåen
b6242d0ea5
WINTERMUTE: Use int32 instead of int in classes.
2013-04-18 17:45:50 +02:00
Max Horn
4a55f52818
SWORD25: Silence warning in the Lua code
...
This fixes warnings like this that crop up when compiling sword25
with Apple clang 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
2013-04-18 17:09:32 +02:00
athrxx
2b8cb1c1f0
KYRA: (EOB) - silence warning about improper use of negative value in gui_eob.cpp
2013-04-18 16:10:55 +02:00
athrxx
2f6d47059b
KYRA: (EOB) - fix possible null ptr dereference in gui_eob.cpp
2013-04-18 16:10:54 +02:00
athrxx
b04059cd23
KYRA: (LOL) - add comment in gui_lol.cpp
2013-04-18 16:10:52 +02:00
athrxx
3d91f3239e
KYRA: (LOL) - add assert in items_lol.cpp (should silence warning about possible out of bounds access)
2013-04-18 16:10:51 +02:00
athrxx
3ac156422e
KYRA: (LOL) - fix warning about possible out of bounds access in lol.cpp
2013-04-18 16:10:49 +02:00
athrxx
2bdfa47ec0
KYRA: (EOB) - remove unused variable in scene_eob.cpp
2013-04-18 16:10:48 +02:00
athrxx
9b74a7bd65
KYRA: (LOL) - fix possible null ptr dereference in scene_lol.cpp
2013-04-18 16:10:46 +02:00
athrxx
d2d2ed1303
KYRA: (EOB) - remove dead code in screen_eob.cpp
2013-04-18 16:10:45 +02:00
athrxx
5ed0770401
KYRA: (HOF) - fix possible null ptr dereference in sequences_hof.cpp
2013-04-18 16:10:43 +02:00
athrxx
06962db454
KYRA: (HOF) - fix possible out of bounds array access
2013-04-18 16:10:42 +02:00
athrxx
d3419f6a31
KYRA: (EOB) - add assert in sprites_eob.cpp (might fix warning about possible null ptr deref)
2013-04-18 16:10:40 +02:00
athrxx
0a623ecdec
KYRA: (EOB) - fix potential null ptr dereference in sprites_eob.cpp
2013-04-18 16:10:39 +02:00
athrxx
2c973a6bff
KYRA: (EOB) - fix warning (Logically dead code) in sprites_eob.cpp
2013-04-18 16:10:38 +02:00
athrxx
4021a04269
KYRA: (LOL) - fix warning (Unused pointer value) in sprites_lol.cpp
2013-04-18 16:10:36 +02:00
athrxx
9fdc70de36
KYRA: (LOL) - add comment in sprites_lol.cpp
2013-04-18 16:10:35 +02:00
athrxx
3e9f4943d2
KYRA: (EOB) - add comment in timer_eob.cpp
2013-04-18 16:10:33 +02:00
Willem Jan Palenstijn
e4a9717434
AGI: Fix typo in issetv opcode
...
This fixes bug #3611262
2013-04-18 14:53:34 +02:00
Einar Johan Trøan Sømåen
a00c372f9e
WINTERMUTE: Get Renderer from BaseEngine, not BaseGame in BaseClasses.
2013-04-18 12:31:27 +02:00
Einar Johan Trøan Sømåen
8bcaf3e06c
WINTERMUTE: Use BaseEngine for Logging, not _gameRef in base-classes.
2013-04-18 12:24:42 +02:00
Einar Johan Trøan Sømåen
a4f7763579
WINTERMUTE: Avoid including BaseGame in PartEmitter.
2013-04-18 12:17:58 +02:00
Einar Johan Trøan Sømåen
e5b2107704
WINTERMUTE: Avoid including BaseGame in BaseSoundManager.
2013-04-18 12:15:05 +02:00
Einar Johan Trøan Sømåen
32ace5f9d2
WINTERMUTE: Avoid including BaseGame in BaseFader.
2013-04-18 12:13:12 +02:00
Einar Johan Trøan Sømåen
8f25b651e8
WINTERMUTE: Split the timers from BaseGame into a separate class.
2013-04-18 12:10:40 +02:00
Einar Johan Trøan Sømåen
7ee757366b
WINTERMUTE: Avoid including BaseGame in BaseViewport.
2013-04-18 11:19:26 +02:00
Einar Johan Trøan Sømåen
a8f4f20f38
WINTERMUTE: Avoid including BaseGame in BaseFrame.
2013-04-18 11:13:32 +02:00
Einar Johan Trøan Sømåen
4783d643f6
WINTERMUTE: Constify AdRotLevel
2013-04-18 10:13:02 +02:00
Einar Johan Trøan Sømåen
d926b47186
WINTERMUTE: Constify AdResponse/AdResponseBox/AdResponseContext.
2013-04-18 10:13:02 +02:00
Strangerke
e4ec07a6a1
CGE: Add safeguards in text manager
2013-04-18 08:10:07 +02:00
Strangerke
0aa028c3f1
CGE: Add safeguard in expand()
2013-04-18 07:57:26 +02:00
Willem Jan Palenstijn
430db6719f
SCI: Fix confusing use of strncpy
2013-04-17 23:55:01 +02:00
Willem Jan Palenstijn
b1534913c1
SCI: Remove dead code
2013-04-17 23:49:08 +02:00
Willem Jan Palenstijn
e89c8c1923
SCI: Remove useless delete
2013-04-17 23:43:02 +02:00
Willem Jan Palenstijn
23da164136
SCI: Fix memory leak
2013-04-17 23:34:06 +02:00
Alyssa Milburn
1dc58b0b2a
PARALLACTION: Fix BRA amiga inventory item cursors.
2013-04-17 23:20:55 +02:00
Alyssa Milburn
1eefd6301b
PARALLACTION: Don't use an invalid array index.
2013-04-17 23:20:31 +02:00
Alyssa Milburn
c9ccba01df
PARALLACTION: Add some sanity checks to SoundMan_br::execute.
2013-04-17 23:20:13 +02:00
Alyssa Milburn
a514927381
PARALLACTION: Fix buffer size in unpackBackground.
2013-04-17 23:19:47 +02:00
Alyssa Milburn
98934898cf
PARALLACTION: Use strlcpy instead of strncpy.
2013-04-17 23:17:22 +02:00
Einar Johan Trøan Sømåen
9dea64209d
WINTERMUTE: Add more const to AdResponseBox
2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
b71570b4c8
WINTERMUTE: Improve const-usage in VideoTheoraPlayer.
2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
76d9256679
WINTERMUTE: Protect more members in BaseRenderer.
2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
3597f7596d
WINTERMUTE: Constify _width and _height in BaseRenderer.
2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
5f5b415289
WINTERMUTE: Increase const-usage.
2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
7f4b95b3f8
WINTERMUTE: Use only const BaseGame-ref in SaveThumbHelper.
2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
411b7128ab
WINTERMUTE: Rename base_save_thumb_helper.cpp to match class-hierarchy.
2013-04-17 21:21:16 +02:00
Einar Johan Trøan Sømåen
e1bce6377d
WINTERMUTE: Detach BaseSaveThumbHelper from inheritance tree.
2013-04-17 21:21:16 +02:00
Willem Jan Palenstijn
ff33c5c367
DREAMWEB: Make location array sizes more consistent
...
While location 15 doesn't actually exist, this makes roomPics more
consistent with the roomsCanGo array.
2013-04-17 21:14:04 +02:00
Einar Johan Trøan Sømåen
95164a8f24
WINTERMUTE: Avoid including BaseGame in BaseRegion.
2013-04-17 20:06:53 +02:00
Einar Johan Trøan Sømåen
769b1084ab
WINTERMUTE: Privatize even more members in BaseGame.
2013-04-17 20:02:08 +02:00
Einar Johan Trøan Sømåen
fd7c38f6d8
WINTERMUTE: Privatize thumbnail sizes in BaseGame.
2013-04-17 19:57:39 +02:00
Einar Johan Trøan Sømåen
122279a10a
WINTERMUTE: Privatize more members of BaseGame.
2013-04-17 19:51:57 +02:00
Einar Johan Trøan Sømåen
cbae39ab87
WINTERMUTE: Move settings from BaseGame to separate struct.
2013-04-17 19:42:05 +02:00
Einar Johan Trøan Sømåen
75443da53f
WINTERMUTE: Use strlcpy instead of strcpy in AdScene::loadBuffer()
2013-04-17 17:15:31 +02:00
Einar Johan Trøan Sømåen
3ff6af3dde
WINTERMUTE: Use strlcpy instead of strcpy in SXString::scCallMethod()
2013-04-17 17:11:44 +02:00
Einar Johan Trøan Sømåen
6ccfac7e33
WINTERMUTE: Avoid dereferncing null-pointer in TransparentSurface
2013-04-17 17:08:58 +02:00
Einar Johan Trøan Sømåen
c303428f48
WINTERMUTE: Avoid div-by-zero in SystemClassRegistry::loadInstances()
2013-04-17 17:02:09 +02:00
Einar Johan Trøan Sømåen
136931d7c7
WINTERMUTE: Avoid div-by-zero in SystemClassRegistry::loadTable
2013-04-17 17:00:44 +02:00
Einar Johan Trøan Sømåen
d7531327d1
WINTERMUTE: Check results while traversing file-system.
2013-04-17 16:54:27 +02:00
Einar Johan Trøan Sømåen
167c9f534b
WINTERMUTE: Avoid passing BasePoint by value in Scene::getPath()
2013-04-17 16:47:27 +02:00
Einar Johan Trøan Sømåen
c93a9c4805
WINTERMUTE: Avoid passing BasePoint by-value
2013-04-17 16:45:14 +02:00
Einar Johan Trøan Sømåen
5be672a8f4
WINTERMUTE: Add sanity check to VideoTheoraPlayer
2013-04-17 16:40:38 +02:00
Einar Johan Trøan Sømåen
23b8b66fcb
WINTERMUTE: Remove unused member _volumeOriginal
2013-04-17 16:32:49 +02:00
Einar Johan Trøan Sømåen
faf688a252
WINTERMUTE: Initialize _savedTimeStamp and _savedPlayTime
2013-04-17 16:20:20 +02:00
Einar Johan Trøan Sømåen
ad5ef64b86
WINTERMUTE: Replace strcat with strlcat in BaseGame::displayDebugInfo
2013-04-17 16:13:18 +02:00
Einar Johan Trøan Sømåen
3185e91576
WINTERMUTE: Use strlcat/strlcpy in BaseGame::setWindowTitle
2013-04-17 16:09:35 +02:00
Einar Johan Trøan Sømåen
a69512a0c2
WINTERMUTE: Avoid passing BasePoint by value.
2013-04-17 16:05:20 +02:00
Einar Johan Trøan Sømåen
8430c491f0
WINTERMUTE: Replace strcpy by strlcpy in BaseFileManager
2013-04-17 15:35:09 +02:00
Einar Johan Trøan Sømåen
4ab80160da
WINTERMUTE: Add a sanity check for _game.
2013-04-17 15:25:10 +02:00
Einar Johan Trøan Sømåen
c64386fe88
WINTERMUTE: Initialize _gameDescription in default-constructor.
2013-04-17 15:17:56 +02:00
Alyssa Milburn
e5509488ed
HOPKINS: fix ingame save thumbnails on BE
2013-04-17 12:30:38 +02:00
Alyssa Milburn
4b086b46b2
HOPKINS: fix palette writes on BE
2013-04-17 12:24:16 +02:00
Strangerke
6548104b96
HUGO: Fix Uninitialized scalar variables
2013-04-17 08:13:19 +02:00
Strangerke
ea5b0b3312
CGE: Fix uninitialized variables
2013-04-17 07:58:25 +02:00
Matthew Hoops
5c5b19a77b
PEGASUS: Add Windows demo support
2013-04-16 21:53:51 -04:00
Matthew Hoops
918920b47a
PEGASUS: Add DVD raise/lower sounds for the inventory/biochip panels
...
Thanks to Keith Kaisershot (blitter)
2013-04-16 21:53:43 -04:00
Matthew Hoops
c99f3213de
PEGASUS: Let the DVD demo use the full Prehistoric AI video set
2013-04-16 21:53:39 -04:00
Matthew Hoops
8fb73dd2c3
PEGASUS: Clean up DVD demo Theora playback
2013-04-16 21:53:34 -04:00
Matthew Hoops
06cd644a9e
PEGASUS: Add new Prehistoric sounds for the DVD demo
2013-04-16 21:53:29 -04:00
Matthew Hoops
bd6a8f37d5
PEGASUS: Add support for PICT cursors
2013-04-16 21:53:25 -04:00
Matthew Hoops
2ea09d1191
PEGASUS: Add detection for the new DVD Demo data file
2013-04-16 21:53:18 -04:00
Matthew Hoops
5727b097b2
PEGASUS: Add the new demo theora videos
2013-04-16 21:53:13 -04:00
Willem Jan Palenstijn
f280789afe
SCI: Don't suppress loop delta in SCI1 midi
...
This fixes bug #3293354 .
2013-04-16 23:10:09 +02:00
Willem Jan Palenstijn
457f5da095
SCI: Don't suppress end-of-track delta in SCI0 midi
...
This fixes the main part of bug #3487090 .
This seems to be a conversion error from SCI1's channel mixing to SCI0's
channel filtering code.
2013-04-16 23:04:33 +02:00
Matthew Hoops
8a50d87445
SCI: Fix potential memory leak with Mac cursor's hotspot
2013-04-16 11:14:04 -04:00
Matthew Hoops
6c1b019056
SCI: Fix mac cursor memory leak
2013-04-16 11:09:30 -04:00
Matthew Hoops
a69b3231a9
PEGASUS: Remove unused variable
2013-04-16 11:01:02 -04:00
Strangerke
7d0af11deb
TSAGE: Fix some obvious errors detected by Coverity in R2R
2013-04-16 08:07:57 +02:00
Strangerke
4340c103da
HOPKINS: Fix broken condition detected by Coverity
2013-04-16 07:44:53 +02:00
Matthew Hoops
749cdd6f44
PEGASUS: Add sanity check on the NItm resource being present
2013-04-15 18:32:00 -04:00
Matthew Hoops
582e464360
PEGASUS: Add missing break
2013-04-15 18:30:31 -04:00
Matthew Hoops
369883bbd9
MOHAWK: Fix string offsets memory leak
2013-04-15 18:22:50 -04:00
Matthew Hoops
6a3f735392
MOHAWK: Fix cursor group memory leak
2013-04-15 18:19:09 -04:00
Willem Jan Palenstijn
0250fd8ee1
SCI: Fix hunk entry leak
2013-04-15 21:46:09 +02:00
Willem Jan Palenstijn
2c9fe1d2c6
SCI: Fix memory leak
2013-04-15 21:40:11 +02:00
Willem Jan Palenstijn
f5a6ad6ab9
SCI: Fix memory leak
2013-04-15 21:38:21 +02:00
Willem Jan Palenstijn
8d184cddf7
SCI: Add missing break
2013-04-15 21:35:18 +02:00
Willem Jan Palenstijn
d17029dca2
SCI: Add missing break
2013-04-15 21:14:32 +02:00
Willem Jan Palenstijn
e34bfce2c2
SCI: Remove useless checks
2013-04-15 21:05:44 +02:00
Willem Jan Palenstijn
fbc1aac6a9
SCI: Fix uninitialized variables
2013-04-15 21:02:27 +02:00
Willem Jan Palenstijn
3f8d2fae8a
SCI: Remove unused variable
2013-04-15 20:58:22 +02:00
Willem Jan Palenstijn
250967a63f
WINTERMUTE: Fix warnings and improve const-correctness
2013-04-15 20:44:41 +02:00
Willem Jan Palenstijn
d4982381d2
WINTERMUTE: Fix side effect of assert
2013-04-15 20:36:03 +02:00
Willem Jan Palenstijn
e7b38a7c2a
PARALLACTION: Cleanup
2013-04-15 20:35:43 +02:00
Sven Hesse
642708de4c
GOB: Fix a misplaced continue / fallthrough
2013-04-15 19:07:55 +02:00
Sven Hesse
fc50db1545
GOB: Change strcpy/strcat to strlcpy/strlcat for safety
2013-04-15 19:00:26 +02:00
Einar Johan Trøan Sømåen
3ea0e7c68c
WINTERMUTE: Fix leak on incomplete image load.
2013-04-15 18:57:46 +02:00
Einar Johan Trøan Sømåen
92dd483e9e
WINTERMUTE: Fix comparison in renderTicket.
2013-04-15 18:57:41 +02:00
Sven Hesse
61b1a594b8
GOB: Change strcpy to strlcpy for safety
2013-04-15 18:49:00 +02:00
Sven Hesse
bbe4372f5b
GOB: Add another sanity check
2013-04-15 18:42:46 +02:00
Sven Hesse
2a1308b4e1
GOB: Add a sanity check
2013-04-15 18:36:44 +02:00