sluicebox
5a7555dfcc
COMMON: Add BitArray::size()
2024-08-25 14:57:06 +03:00
sluicebox
f31eb92d7a
COMMON: Add DiskImage enhancements
...
- open(FSNode)
- releaseStream()
- ".do" file extension recognized
- Parsing errors handled instead of calling error()
- Skip sector logging when it does nothing
2024-08-25 14:57:06 +03:00
sluicebox
78552492b1
ADL: Move DiskImage into COMMON
2024-08-25 14:57:06 +03:00
Hubert Maier
09ec0083cb
JANITORIAL: ICB: Fix allign and devide typos in code
2024-08-25 14:43:29 +03:00
Paul Gilbert
cde46fed2e
M4: RIDDLE: More room 407 parser
2024-08-24 16:49:09 -07:00
Eugene Sandulenko
4522cfff11
QDENGINE: Remove spurious semicolons
2024-08-25 01:26:05 +02:00
Eugene Sandulenko
530c365b97
QDENGINE: Fix same value assignment warning. PVS-Studio V1048
2024-08-25 00:25:55 +02:00
Eugene Sandulenko
b4779a62b7
QDENGINE: Fix new[]/delete mismatch. PVS-Studio V611
2024-08-25 00:25:55 +02:00
Eugene Sandulenko
d085d74d40
QDENGINE: Remove pointless virtual method specifier. PVS-Studio V1053
2024-08-25 00:25:55 +02:00
Eugene Sandulenko
c43263b3a9
QDENGINE: Fix newp[]/delete mismatch. PVS-Studio V611
2024-08-25 00:25:55 +02:00
Eugene Sandulenko
d4c438d5b6
QDENGINE: Fix memory leak. PVS-Studio V575
2024-08-25 00:25:55 +02:00
Eugene Sandulenko
671f9c56ea
QDENGINE: Fix pointless assignment. PVS-Studio V1048
2024-08-25 00:25:55 +02:00
Eugene Sandulenko
496e90df96
QDENGINE: Fix potential null dereference. PVS-Studio V595
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
f39acd266f
QDENGINE: Plug memory leak. PVS-Studio V773
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
f8748d4a32
QDENGINE: Explicitely cast float type. PVS-Studio V636
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
eb5a6f443e
QDENGINE: Removed useless check. PVS-Studio V560
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
3753090b64
QDENGINE: Remove leftover unreachable code. PVS-Studio V779
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
2ac645a7ec
QDENGINE: Fix incorrect logic in the original. PVS-Studio V581
...
It requires more testing, but looks like a copy/paste error
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
022d842e93
QDENGINE: Remove condition that is always false. PVS-Studio V547
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
a283421400
QDENGINE: Fix potential nullptr dereference. PVS-Studio V595
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
577151814b
QDENGINE: Remove duplicate flag in the drop list
...
It was introduced by refactoring where two flags dropping was moved from
qdGameObject::load_script_body() without checking that QD_OBJ_STATE_CHANGE_FLAG
was already present in the list.
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
9034c35ed2
QDENGINE: Resolve virtual clas disambiguity. PVS-Studio V1053
...
The base class declred this method as virtual.
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
b1d2e0f3f2
QDENGINE: Remove useless check. PVS-Studio V547
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
5337062cc9
QDENGINE: JANITORIAL: Added numbers to ConditionType enum members
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
34b9bfbc27
QDENGINE: Fix possible array overrun. PVS-Studio V557
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
c33edbfec9
QDENGINE: Initialize all class variables. PVS-Studio V730
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
319716a1e6
QDENGINE: Remove unneded check. PVS-Studio V668
2024-08-25 00:25:54 +02:00
Eugene Sandulenko
a4cd71123d
QDENGINE: Avoid rounding errors by propagating proper types. PVS-Studio V636
2024-08-25 00:25:53 +02:00
Eugene Sandulenko
e486eb4801
QDENGINE: Initialize all class variables. PVS-Studio V730
2024-08-25 00:25:53 +02:00
Eugene Sandulenko
4f9b25a7f8
QDENGINE: Initialize all class variables. PVS-Studio V730
2024-08-25 00:25:53 +02:00
Eugene Sandulenko
3e8013503e
QDENGINE: Initialize all class variables. PVS-Studio V730
2024-08-25 00:25:53 +02:00
sluicebox
b5c4802ea8
COMMON: Remove MemoryReadStream::seek() assertion
2024-08-24 14:38:09 -07:00
sluicebox
1faf8628d0
AGI: Fix init error handling
...
Initialization errors were ignored, causing the launcher to behave as
if the engine ended normally.
2024-08-24 13:41:28 -07:00
Eugene Sandulenko
b51394bac9
QDENGINE: Restored the code which was errorneously deleted
...
The original here clearly has a bug. The code was:
st = last_walk_state_;
if(!st || st -> state_type() != qdGameObjectState::STATE_WALK)
st = get_default_state();
else
st = get_default_state();
if(!st) st = get_state(0);
Note indentation of 'else', which clearly shoud be a preprocessor's #else.
2024-08-24 22:19:19 +02:00
elasota
542742e2aa
MTROPOLIS: Refactor VThread to use statically-located stacks
2024-08-24 15:11:48 -04:00
Paul Gilbert
0e75b17131
M4: RIDDLE: More room 407 parser and support methods
2024-08-24 10:30:22 -07:00
Eugene Sandulenko
a6c72e8ea0
QDENGINE: Add missing newline in parallax_offset in XML output
2024-08-24 13:30:18 +02:00
Eugene Sandulenko
58273a44cb
QDENGINE: Fix random number generator
...
This fixed progression in scene19 in nupogodi3, basically, fixing
CONDITION_TIMER which was not able to fire because of (100 - 100 - 1) != 0
2024-08-24 13:22:51 +02:00
Eugene Sandulenko
559fdfc103
QDENGINE: JANITORIAL: Fix indentation
2024-08-24 13:22:51 +02:00
Paul Gilbert
3822241e05
M4: RIDDLE: In progress room 407 parser
2024-08-23 22:10:09 -07:00
D G Turner
74af7cacb5
QDENGINE: Fix Various GCC Compiler Warnings
2024-08-23 23:44:28 +01:00
Donovan Watteau
4092006494
COMMON: Fix inttypes.h behavior on macOS 10.4
...
The macOS 10.4 SDK uses the non-standard (BSD) '%q' value, instead of
the more standard '%ll' value, triggering -Wformat warnings. This was
fixed in the 10.5 SDK, so borrow its fixes when targeting 10.4.
Also, __STDC_CONSTANT_MACROS is be necessary for OSX < 10.7.
2024-08-24 00:42:47 +02:00
D G Turner
4329e9b2a3
M4: Fix Unused Variable GCC Compiler Warning
2024-08-23 23:08:51 +01:00
sluicebox
feaad5cc2c
AGI: Set Apple II game variables
2024-08-23 12:23:00 -07:00
Eugene Sandulenko
97eddadbe8
QDENGINE: Added more human-readable data to XML
2024-08-23 18:37:38 +02:00
Eugene Sandulenko
999bb81ca0
QDENGINE: Remove spurious semicolons
2024-08-23 17:42:00 +02:00
Eugene Sandulenko
7d49c96998
QDENGINE: Remove unused variable
2024-08-23 17:41:43 +02:00
AndywinXp
9d5b70d1d4
SWORD1: Add internal support for language switching
...
For now this is controllable only by setting e.g.:
subtitles_language_override=it
in the relevant [sword1] entry within scummvm.ini.
2024-08-23 17:31:48 +02:00
neuromancer
4bcf8fb58d
FREESCAPE: better calculation of player height
2024-08-23 17:19:50 +02:00
neuromancer
839bb0f144
FREESCAPE: improved rendering of co-linear planar surfaces
2024-08-23 17:19:50 +02:00