Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
f8881f661b
LASTEXPRESS: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Evgeny Grechnikov
54562554f9
LASTEXPRESS: better names in sound code
...
Refactoring, no changes in behaviour.
2018-10-18 00:38:01 +03:00
Evgeny Grechnikov
53cd6616c9
LASTEXPRESS: refactor sound flags
...
Merge SoundFlag and SoundStatus into a single enum;
SoundEntry::setupStatus just casts one to another.
Keep only definitions of bits in SoundFlag; drop compound flags
like kFlagSteam = kSoundTypeAmbient | kSoundFlagLooped | kVolume7,
use ORed simple flags in calls; change the signature
of SoundManager::playSoundWithSubtitles to use uint32
instead of SoundFlag to avoid excess casting.
Add meaningful names to flags; add some comments.
Get rid of endian-unsafe SoundStatusUnion.
Fixes an issue with big-endian hosts.
No changes in behaviour on little-endian hosts.
2018-10-14 20:08:32 +03:00
Littleboy
ae12264c5f
LASTEXPRESS: Fix potential out-of-bounds read. CID 1003992
2014-06-16 18:46:32 -04:00
Johannes Schickel
3d4f409572
LASTEXPRESS: Make GPL headers consistent in themselves.
2014-02-18 02:39:35 +01:00
Littleboy
2279464218
LASTEXPRESS: Rename InventoryItem properties
2013-12-10 01:54:57 -05:00
Eugene Sandulenko
8ccf02dcaf
LASTEXPRESS: Redo d71b48 and use variable instead of commenting it
2013-10-12 09:16:58 +03:00
Eugene Sandulenko
d71b48b120
LASTEXPRESS: Comment out unused variable
2013-10-08 00:11:18 +03:00
Littleboy
275aded0b0
LASTEXPRESS: Remove unnecessary casts
2012-08-27 21:49:40 -04:00
Littleboy
bc4e10dabc
LASTEXPRESS: Remove some unreachable code
2012-08-27 21:49:39 -04:00
Littleboy
7bf0bfb122
LASTEXPRESS: Implement menu egg blinking
2012-07-28 17:51:43 -04:00
Littleboy
6aeda2638b
LASTEXPRESS: More include re-organization
2012-07-27 00:54:24 -04:00
Littleboy
43d3b2f378
LASTEXPRESS: Remove strange casts
2012-07-16 23:51:23 -04:00
Littleboy
0635d99ec7
LASTEXPRESS: Cleanup
...
- Add missing initializer/destructors
- Add some const modifiers
- Remove some unneeded casts
- Use enumeration values in switch constructs
2012-07-14 14:26:00 -04:00
Littleboy
732a2c80dd
LASTEXPRESS: Remove duplicated include statements
2012-07-14 13:23:54 -04:00
Littleboy
b4ac4988cc
LASTEXPRESS: Cleanup comments
2011-06-28 22:54:51 -04:00
Littleboy
90dc4f9a8c
LASTEXPRESS: Move Sound class to the sound folder
2011-06-28 22:30:24 -04:00
Littleboy
6eace0ca75
LASTEXPRESS: Move sound queue related functions to a separate class
...
- Implement missing queue reset function
- Cleanup SoundManager::playLoopingSound()
2011-06-28 22:13:40 -04:00
Littleboy
5d020fffad
LASTEXPRESS: Refactor Sound class
...
- Move entry-related functions to separate class
- Move enumeration to shared header and rename FlagType to SoundFlag
2011-06-24 10:56:49 -04:00
Littleboy
f0cf72f431
LASTEXPRESS: Move Menu class to a separate folder
2011-06-23 06:58:21 -04:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Littleboy
b38d965fdf
LASTEXPRESS: Implement last part of inventory handling
2011-05-11 14:20:46 -04:00
Littleboy
33c3e19cea
LASTEXPRESS: Implement item selection and scene loading
2011-05-10 19:18:32 -04:00
Littleboy
2bc865f01a
LASTEXPRESS: Implement highlight of inventory items
2011-05-10 19:18:30 -04:00
Littleboy
8d4622d70d
LASTEXPRESS: Draw portrait non-highlighted in Inventory::show()
2011-05-10 19:18:29 -04:00
Littleboy
3088acf69a
LASTEXPRESS: Add button pressed state for inventory handling
2011-05-10 19:18:26 -04:00
Littleboy
1516ba7367
LASTEXPRESS: Implement skeleton code for selected item and inventory selection
2011-05-10 19:18:22 -04:00
Julien Templier
f751f5b0e1
LASTEXPRESS: Add support for item highlight in inventory and scene restore
...
- Properly show egg not highlighted by default
- Fix GCC warning in drawItem()
- Remove unused code
svn-id: r55855
2011-02-09 03:40:00 +00:00
Julien Templier
058d75b708
LASTEXPRESS: Implement proper Inventory::open() and Inventory::close()
...
svn-id: r55848
2011-02-09 00:24:06 +00:00
Julien Templier
6b477ee33e
LASTEXPRESS: Refactor inventory handling
...
- Rewrite menu icon part of Inventory::handleMouseEvent()
- Add proper support for icon brightness
- Add drawItem method in place of macro
svn-id: r55846
2011-02-09 00:23:35 +00:00
Max Horn
e27b05ef35
COMMON: Rename String::printf() to String::format()
...
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
2010-11-01 16:02:28 +00:00
Julien Templier
dc4a22ed7d
LASTEXPRESS: More savegame work
...
- Implement SaveLoad::writeEntry
- Implement missing saveLoadWithSerializer functions for all serialized classes & structs
- Add stub for SaveLoad::computePadding
svn-id: r53845
2010-10-26 06:55:34 +00:00
Eugene Sandulenko
86d650926f
LASTEXPRESS: Merge in the engine.
...
svn-id: r53579
2010-10-18 19:17:38 +00:00