Age | Commit message (Collapse) | Author |
|
Walking now works correctly, with no valgrind issues, lockups or assertions.
svn-id: r55281
|
|
svn-id: r55280
|
|
* Renamed and retyped "int _fieldC" to "bool _stillWalkingTowardsNode" to aid readability and clarity of code. Thanks to fuzzie for naming.
* Added assertion to prevent use of invalid memory as reported by Valgrind when walk point p is constructed from an empty list.
* Added code to stop walk if buildPath fails, though this causes an assertion instead currently.
svn-id: r55279
|
|
This command forces the mouse state to Enabled and Visible.
This is intended to help playtesting in Big Red Adventure, which has an issue currently with the mouse pointer getting stuck in the hidden state in some cases.
svn-id: r55234
|
|
The automatic destruction of engine member "_char" of type Character at end of the destructor causes an invalid read in the destruction of the AnimationPtr which is a SharedPtr. To stop this happening, the SharedPtr is reset() prior to the destruction of Gfx, so it's dependencies on Gfx are still present. This will affect Nippon Safes as well as Big Red Adventure, but is unlikely to cause any issues and it is likely this exists in NS as well.
Thanks to fuzzie for this code.
svn-id: r55233
|
|
svn-id: r55232
|
|
This corrects the Valgrind invalid reads associated with the IS_PATH_CLEAR() check reading beyond the data buffer and probably improves the pathfinding behaviour.
Thanks to fuzzie for suggesting this patch.
svn-id: r55231
|
|
svn-id: r55229
|
|
svn-id: r55226
|
|
svn-id: r55225
|
|
Code.
svn-id: r55221
|
|
Red Adventure.
svn-id: r55220
|
|
svn-id: r55148
|
|
* Do not restart character theme is already playing.
* Play the correct tune in the night club.
* Do not play muisc in the location meant to be silent.
svn-id: r55147
|
|
svn-id: r55146
|
|
svn-id: r55091
|
|
show. This fixes bug #3135782.
svn-id: r54882
|
|
TYPE markers. This fixes bug #3131769.
svn-id: r54879
|
|
svn-id: r54815
|
|
svn-id: r54385
|
|
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files
svn-id: r54264
|
|
svn-id: r54031
|
|
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
|
|
svn-id: r53738
|
|
r50042. Patch #3089932 by fuzzie.
svn-id: r53702
|
|
fuzzie.
svn-id: r53701
|
|
svn-id: r53484
|
|
svn-id: r53161
|
|
This is a partial commit of patch #3085298 "overflows in agi and parallaction".
svn-id: r53146
|
|
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
|
|
svn-id: r52610
|
|
* Remove _isAttached member var and isAttached method
* Engines now always call the onFrame method; whether it does
something is decided by the debugger class resp. its subclasses
* Make detach() protected instead of private, so that subclasses
can invoke it
* Remove _detach_now member var (call detach() instead).
* Rename _frame_countdown to _frameCountdown and properly
document it.
* Add more doxygen comments
* Cleanup
svn-id: r50963
|
|
Patch #3021744 by fuzzie with some comments.
svn-id: r50363
|
|
select MDT_PREFER_MT32 or MDT_PREFER_GM
svn-id: r50288
|
|
svn-id: r50128
|
|
Got rid of the legacy "location.part" string handling in BRA.
svn-id: r50042
|
|
svn-id: r50041
|
|
svn-id: r50040
|
|
svn-id: r50039
|
|
- see bug #2619824).
svn-id: r50038
|
|
it can safely be suspended again. Patch 3004652 by fuzzie.
svn-id: r50037
|
|
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
|
|
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.
svn-id: r49653
|
|
The only thing it does is parsing a possible command list, which is enough to support the script bug in "scende2". See ticket #3005384.
svn-id: r49628
|
|
need otherwise.
svn-id: r49623
|
|
balloon scene).
svn-id: r49621
|
|
svn-id: r49620
|
|
the borders of the screen.
See the detailed explanation in walk.cpp.
svn-id: r49619
|
|
svn-id: r49618
|
|
When a zone/animation is skipped by the parser because already
loaded, the index is now increased. This does not affect NS, since
indexes are only used for scene sorting there, but is relevant for
BRA, where indexes need to be coherent across location changes.
Patch #3004008 by fuzzie.
svn-id: r49428
|