Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Also fix some awry clickable objects in RC51
|
|
|
|
|
|
|
|
This as before is only for the enhanced version
|
|
If the player kills the rat at the bridge that breaks and goes to
the left screen and then comes back the rat will not respawn when
the player is playing the uncut version on easy.
In every other case there will be a 10% chance that the rat will
respawn.
|
|
When the player is playing on easy and it is the uncut version
then the sewer bridge won't break when McCoy runs on it or if
McCoy and the rat are both on it.
A bridge breaking death animation will still be shown if the rat kills
the player on the bridge.
|
|
In some cornenr case when photo selection is ajdusted the final
rectangle might end up invalid and assert will occur.
This fixes this issue by correctly setting rect dimensions.
|
|
|
|
|
|
Shows mouse click pos (x,y,z) and detected clickable region/actor/item/object id underneath
|
|
This reverts commit 33fb9809c3a1353d927a3c7dfa41e673d79a089e.
The engine/startrek/console.h and engine/startrek/console.cpp
files were missing from that commit, which break compilation.
|
|
We need to properly inject it to all inner screen update loops
|
|
|
|
Rooms DEMON0 and DEMON5 have been partially adapted to the new logic.
This isn't yet fully functional, for the following reasons:
- We only read the main text block. There are also some others which
are not handled yet. The unhandled blocks have been kept in text.cpp
- We load text in dictionaries, splitting the strings in look and talk.
However, there's a third category (look with a talker), which isn't
handled yet
- Text is loaded per-room, but there are enhancements where text and
samples are loaded from other rooms. These need to be refactored
|
|
Reported by ccorbacho in trac/#10921
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It doesn't serve a purpose anymore. The parameter was used to keep
waiting for key input if it was a 'non text editing' event, like
pressing the shift modifier key. The only place it was used was for text
input when interacting with the computer in ShipSleepCabin.
|
|
|
|
This reverts commit e412bf5ee44c7c1fb2be634e9db6aaa2322818e3.
|
|
- Add a delay after screen updates
- Do not update the screen when drawing the background - this is unnecessary
- Fix memory leak when drawing the background
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Disable duplicate if block
- Fix potentially uninitialized variables
- Change _activeMenu to be a regular pointer, instead of a SharedPtr - it was not
initialized correctly
- Fix struct packing in structs with pointers to complex objects
- Fix sound initialization
- Fix memory leaks (handles to files which were never deleted)
|
|
- Fix invalid check with empty()
- Change float suffixes to uppercase
- Fix potentially uninitialized variables
|
|
- Change float suffix to uppercase
- Initialize potentially uninitialized variables
- Fix default cases in switch statements
|
|
- Remove unused parameters
- Initialize potentially uninitialized variables
- Use Common::String instead of a fixed buffer
- Remove redundant parentheses
- Change float suffix to be uppercase
- Fix spacing
- Fix integer left shifts with boolean variables
- Fix potential division by zero
- Fix missing breaks
|
|
- Add a float suffix in convertScreenHToSpaceX/Y
|
|
Fix assignments to float variables, by adding a float suffix
|
|
- Added a CHECKME for a code which is never used at the moment
- Add default cases to switch statements
- Remove unused variables
- Fix integer variable assignments from booleans
|
|
- Fix warnings about conversion between float and double
- Initialize potentially uninitialized variables
|
|
- Add missing default switch cases
- Specify packing for structs with pointers to complex objects
- Change literal suffixes to uppercase
- Replace uses of malloc() with new []
|
|
- Change APPLECHAR to APPLEBYTE, when its output is used as a byte
- Replace uses of strncpy with Common::strlcpy
- Merge redundant switch and if statements
- Remove redundant semicolons
|