Commit Graph

29 Commits

Author SHA1 Message Date
Vladimir Serbinenko
f4da2d054a NEVERHOOD: Add drawDoubleSurface2Alpha 2022-12-31 20:47:10 +01:00
Vladimir Serbinenko
03a59a2953 NEVERHOOD: Support blitting with alphaColor != 0 2022-12-31 20:47:10 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
9dab832214 NEVERHOOD: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Ori Avtalion
21753098e1 NEVERHOOD: Reduce audio header dependencies 2016-05-21 13:44:27 +03:00
Johannes Schickel
6563171e7b NEVERHOOD: Make GPL headers consisten in themselves. 2014-02-18 02:39:36 +01:00
Filippos Karapetis
871b4a83e2 NEVERHOOD: Fix uninitialized members of the Screen class - CID 1022299 2013-09-27 01:38:15 +03:00
Johannes Schickel
2c629803a2 NEVERHOOD: Take advantage of Surface::getPixels. 2013-08-03 04:02:51 +02:00
Johannes Schickel
82b96d33ad NEVERHOOD: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
johndoe123
32c21754e2 NEVERHOOD: Fix member var initializations 2013-05-08 21:02:00 +02:00
johndoe123
583f9abaf9 NEVERHOOD: Fix some logic bugs and minor changes
- Fix video speed in the very last scene (Scene1317)
- Fix back door not opening in Scene1401
- Fix projector not moving in Scene1402
- Fix projector not appearing in Scene1403
- Fix wrong Klaymen walking in Scene2205
- Fix wrong scene change in Module2300
- Fix symbols not appearing in Scene3011
- Define out some remaining logic debug code
- Remove some obsolete comments
- Reduce debug output
- Use a List instead of an Array when building the microtiles rectangles
2013-05-08 20:47:43 +02:00
johndoe123
c96d2475b1 NEVERHOOD: Add Screen::saveParams and Screen::restoreParams, called when etnering/leaving the menu 2013-05-08 20:47:42 +02:00
johndoe123
1904e944c5 NEVERHOOD: Add initCubeSymbolsPuzzle
- Add microtiles to the screen update to eliminate overdraw
  (microtiles code taken from the Toltecs engine)
- Fix sprite dimensions in AsScene1402PuzzleBox which caused a crash
- Fix screen shaking in Scene1402
  (the puzzle box and bridge parts now shake along :)
- Use addSoundItem/addMusicItem in the SoundMan instead of
  directly using push_back on the resp. arrays
- Remove old code and comments
2013-05-08 20:47:37 +02:00
johndoe123
5ba8f2e9c8 NEVERHOOD: Add making of video to the main menu
- Clear render queue at each scene initiailization
- Fix mouse cursor visibility (again :)
- Fix SmackerScene screen clearing
2013-05-08 20:47:33 +02:00
johndoe123
2e32b32808 NEVERHOOD: Start with the MenuModule 2013-05-08 20:47:32 +02:00
johndoe123
c09c0b8998 NEVERHOOD: Implement an experimental "render queue" to only draw and update what's actually changed; it works surprisingly well so far and only needs a few more changes here and there 2013-05-08 20:47:31 +02:00
johndoe123
a724e603da NEVERHOOD: Use CursorMan
- Only update entities according to the current frame rate but run the actual game loop at a faster rate so the mouse cursor movement doesn't get choppy
2013-05-08 20:47:07 +02:00
johndoe123
fd13b546a7 NEVERHOOD: Rename stuff in the Scene class and clean up a little
- Try to stay close to the actual frame rate
- Also use the Smacker frame rate when a video is playing to
  keep videos in sync with the audio
2013-05-08 20:44:40 +02:00
johndoe123
15cfb9f787 NEVERHOOD: Implement clipping against multiple clipRects, used only in several scenes for the Klayman sprite.
Currently only implemented in KmScene2201 for testing.
2013-05-08 20:43:48 +02:00
johndoe123
d1d1596fd1 NEVERHOOD: Add support for shadow sprites, used only for the shadow of the car/vehicle thing 2013-05-08 20:43:41 +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
2647778935 NEVERHOOD: Fix crash/corruption in clipped sprite drawing 2013-05-08 20:38:47 +02:00
johndoe123
ffe024844b NEVERHOOD: More work on Scene1002 2013-05-08 20:38:47 +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
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
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