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
D G Turner
2050ae13b6
NEVERHOOD: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-05 22:37:54 +00: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
962e2fd550
NEVERHOOD: Change more message values to enums
2013-12-25 17:10:42 +02:00
Filippos Karapetis
8d7b10f7c3
NEVERHOOD: Add names to some message IDs
2013-12-23 21:03:35 +02:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
johndoe123
add321c930
NEVERHOOD: Try to fix the Smacker issues inside of SmackerPlayer only (instead the numerous classes using it)
...
SmackerPlayer now creates a surface in the constructor and deletes it in the destructor. There will be only this surface during the lifetime of the player, so there shouldn't be any issues any more when the player is reused for different Smacker files. This is imo nicer than to remove/add the surface.
I kept the several openSmacker since it wraps some code which is nice.
2013-06-11 11:33:05 +02:00
Filippos Karapetis
8fee784965
NEVERHOOD: Cleanup, merge some duplicate code
2013-06-11 11:47:50 +03:00
Filippos Karapetis
a01b8a5174
NEVERHOOD: Fix crash when viewing videos in the video viewer
...
The crash was caused by stale pointers, exactly the same as in commit
2e4f64066d
2013-06-10 03:42:44 +03:00
johndoe123
a98d9aa58a
NEVERHOOD: Clean up DiskplayerScene
...
- Enable return to launcher
- Remove obsolete comments
- Remove braces in single-line statements
- Remove unused non-transparent drawing code in BaseSurface::copyFrom
- Clean up mouse cursor insertion code in Scene class
2013-05-08 20:47:39 +02:00
johndoe123
9963ce41ea
NEVERHOOD: Merge CollisionMan into Scene class
2013-05-08 20:47:39 +02:00
johndoe123
4b7ad48ca8
NEVERHOOD: Rename some CollisionMan methods/fields
...
- Remove fallback detector (I think it's not needed)
- Rename Scene insertMouse methods
2013-05-08 20:47:39 +02:00
johndoe123
1b9807b312
NEVERHOOD: Remove more old comments
...
- Add the remaining idle stuff to Klayman
2013-05-08 20:47:38 +02:00
johndoe123
1589e4fe7d
NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of setting stuff "manually"
2013-05-08 20:47:34 +02:00
johndoe123
f24a6769c2
NEVERHOOD: Make use of NDrawRect::set
2013-05-08 20:47:33 +02:00
johndoe123
9ba7a7f1a1
NEVERHOOD: Rename stuff in Sprite:
...
- processDelta() to updateBounds()
- getRect() to getCollisionBounds()
- _drawRect to _drawOffset
- _rect to _collisionBounds
- _deltaRect to _collisionBoundsOffset
2013-05-08 20:47:33 +02:00
johndoe123
47994441cd
NEVERHOOD: Move setting of debug variables to the GameModule
2013-05-08 20:47:33 +02:00
johndoe123
a6e9475a3f
NEVERHOOD: Remove Scene::_surfaceFlag which also is obsolete now
2013-05-08 20:47:32 +02:00
johndoe123
963b760076
NEVERHOOD: Remove TODOs concerning the original engine's debug code
...
- Add Scene1202 palette effect
- Add AsScene1405Tile sound panning
- Clean up some old comments
2013-05-08 20:47:31 +02:00
johndoe123
2c4f0b70fe
NEVERHOOD: Add Entity::setSoundPan and use it in the DiskplayerScene
2013-05-08 20:47:31 +02:00
johndoe123
2e7d100a6f
NEVERHOOD: Replace most of the literal digits in get/setSubVar with constants
2013-05-08 20:47:06 +02:00
johndoe123
1539023834
NEVERHOOD: Use constants for the numbers in get/setGlobalVar
...
Now the code is much more readable
- Still TODO is to do the same with get/setSubVar
2013-05-08 20:44:40 +02:00
johndoe123
97ee348c2a
NEVERHOOD: Rename stuff in DiskplayerScene
...
- Add SmackerPlayer::isDone()
- Fix puzzle key variable handling
- Update globalvars.txt
2013-05-08 20:44:40 +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
acdc0256bb
NEVERHOOD: Change sound stuff in DiskplayerScene
2013-05-08 20:43:45 +02:00
johndoe123
dac95f3f73
NEVERHOOD: More renaming (mostly in Klayman and AnimatedSprite)
2013-05-08 20:40:03 +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
2f670690bc
NEVERHOOD: Add Scene::setPalette for simpled palette creation and use it
2013-05-08 20:39:40 +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
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
bfd71cff6e
NEVERHOOD: New modules Module1200, Module1400, Module1700 and Module1800
...
- Implement CollisionMan::removeSprite
2013-05-08 20:39:34 +02:00