41598 Commits

Author SHA1 Message Date
Yotam Barnoy
d305587495 PSP: added dummy function to allow BS2.5 to build
svn-id: r53635
2010-10-20 05:59:11 +00:00
Travis Howell
480a26833f DOC: Update Backyard Baseball series.
svn-id: r53633
2010-10-20 04:01:28 +00:00
Torbjörn Andersson
28a98c7416 SAGA: Silence warning
svn-id: r53632
2010-10-20 03:54:33 +00:00
Matthew Hoops
21a29d3b45 SCUMM: Have o6_getRandomNumber() use the absolute value of the argument
The Backyard Baseball series calls the function with negative numbers, but expects a positive result. The games are now actually playable.

Thanks to Kirben for assistance in tracking this bug down.

svn-id: r53630
2010-10-20 03:01:03 +00:00
Jordi Vilalta Prat
59c054938a LASTEXPRESS: Fix some space formatting.
svn-id: r53629
2010-10-19 22:34:26 +00:00
Andrew Kurushin
e4029f6f0e SAGA: SAGA: replace SpriteList "::realloc" with Common::Array
svn-id: r53628
2010-10-19 22:29:53 +00:00
Andrew Kurushin
bfb0986cd4 SAGA: replace Actors "::realloc" with Common::Array
svn-id: r53627
2010-10-19 21:40:24 +00:00
Eugene Sandulenko
6629efc676 SWORD25: Enforced code formatting rules in rest of the engine
svn-id: r53626
2010-10-19 21:03:33 +00:00
Eugene Sandulenko
ae78107e2a SWORD25: Enforce code naming conventions in gfx/*
svn-id: r53625
2010-10-19 20:54:30 +00:00
Julien Templier
3feab382bc LASTEXPRESS: Fix corpse disappearing when hiding the body in the bed
The setItemLocation action had a typo that prevented it from setting the item location.
The "corpse moved" event was not set and it broke the scene progression.

Also clean up the pickCorpse code and add better comments.

svn-id: r53624
2010-10-19 20:53:43 +00:00
Eugene Sandulenko
f3becaddf1 SWORD25: Enforce code naming conventions in gfx/image/imageloader*
svn-id: r53623
2010-10-19 20:52:47 +00:00
Eugene Sandulenko
bbd95da899 SWORD25: Fix engine exit when running without theoradec
svn-id: r53622
2010-10-19 20:52:06 +00:00
Eugene Sandulenko
d94435eebd SWORD25: Enforce code naming conventions in gfx/graphicengine*
svn-id: r53621
2010-10-19 20:51:21 +00:00
Eugene Sandulenko
0d1d481894 SWORD25: Properly implement GraphicEngine::fill()
Now all transitions and dimming out screen at exit dialog is supported.

svn-id: r53620
2010-10-19 20:50:29 +00:00
Torbjörn Andersson
490d4aef0e LASTEXPRESS: Changed some spaces to tabs
svn-id: r53618
2010-10-19 19:54:15 +00:00
Florian Kagerer
f6a43d980a SCUMM/FM-TOWNS JAPANESE: minor fix in last commit
svn-id: r53617
2010-10-19 17:03:36 +00:00
Florian Kagerer
1d87f434a2 SCUMM/FM-TOWNS JAPANESE: implement flipped text
(used in the MI1 circus scene after Guybrush gets shot out of the cannon)

svn-id: r53616
2010-10-19 16:58:27 +00:00
Yotam Barnoy
193a0c6ca1 PSP: disabling the ability to build Broken Sword 2.5. Revert once fixed.
Lua is very problematic for the PSP build because it wants a) libpng built with the plugins which is not great, but not that bad. b) It calls several PSP functions directly, and it turns out PSP functions can only be called from the main executable -- they're in flash and must be fixed up using custom PSP utils. Until this mechanism is changed so that for example lua calls functions in the main executable, the PSP cannot be built.

The following functions need to be removed/moved to the main executable:
All socket functions (should be disabled anyway)
Clock()
Rename()
Additionally, png functions should ideally also be called only from the main executable.

svn-id: r53615
2010-10-19 16:17:45 +00:00
Andrew Kurushin
0e7abce271 SAGA: fix submit 53486 "Added sanity checks for realloc() calls - bug report #3087852". zero count realloc may return NULL as valid value
svn-id: r53614
2010-10-19 15:31:07 +00:00
Martin Kiewitz
f8c7243938 SCI: fixing possible deadlock inside clearPlaylist
thx to ajax16384

svn-id: r53613
2010-10-19 14:53:39 +00:00
Paul Gilbert
6a1e874447 SWORD25: Fix for Valgrind identified memory leak
svn-id: r53611
2010-10-19 10:03:38 +00:00
Max Horn
4caa1d40a8 SWORD25: Simplify log listener code (and get rid of another global constructor)
svn-id: r53610
2010-10-19 09:44:48 +00:00
Max Horn
8f5eee67db SWORD25: Destroy singletons upon engine exit (untested, may lead to crash upon exit)
svn-id: r53609
2010-10-19 09:44:29 +00:00
Max Horn
d6b7ebab16 SWORD25: Some code cleanup
svn-id: r53608
2010-10-19 09:44:13 +00:00
Max Horn
ddf0a3d80c SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD struct
svn-id: r53607
2010-10-19 09:43:53 +00:00
Max Horn
88bca8e13d SWORD25: Optimize ReverseArray, move it to only place it is used
svn-id: r53606
2010-10-19 09:43:31 +00:00
Max Horn
f020ec9077 LASTEXPRESS: Fix warning about empty loop body
svn-id: r53605
2010-10-19 09:43:08 +00:00
Max Horn
ebf9911649 SWORD25: Work around for bug in Mac OS X 10.2 SDK
svn-id: r53604
2010-10-19 09:42:48 +00:00
Paul Gilbert
3b29bda9a1 SWORD25: Added operator= to Polygon class
This fixes a corruption where vertice arrays were being copied directly and destroyed prematurely

svn-id: r53603
2010-10-19 09:23:20 +00:00
Paul Gilbert
355032d4f9 SWORD25: Fix cppcheck warnings in BS_Log::LogPrefix
The LogPrefix method isn't currently used, but I'm fixing it just in case it's ever used again

svn-id: r53602
2010-10-19 08:12:04 +00:00
Yotam Barnoy
00bf6ab791 PSP: add missing return statements to image viewer
svn-id: r53601
2010-10-19 07:37:50 +00:00
Torbjörn Andersson
c1a3689a5d SWORD25: Fix cppcheck warning
svn-id: r53600
2010-10-19 04:59:45 +00:00
Julien Templier
fdaa1b9c61 LASTEXPRESS: Merge parameter creation into resetCurrentParameters()
svn-id: r53599
2010-10-19 01:42:00 +00:00
Julien Templier
01669d8de0 LASTEXPRESS: Rewrite resetCurrentParameters to use a temporary var
Per LordHoto suggestion, to see if it fixes compilation on motoezx & PS2

svn-id: r53598
2010-10-19 00:45:53 +00:00
Florian Kagerer
f05110f3f6 SCUMM/FM-TOWNS JAPANESE: fix font spacing issues
(improves MI1 intro)

svn-id: r53597
2010-10-18 23:54:35 +00:00
Johannes Schickel
f82ee445d3 LASTEXPRESS: Add md5sums of German TLE.
svn-id: r53596
2010-10-18 23:40:36 +00:00
Julien Templier
9cbae5252f LASTEXPRESS: Check for a valid sequence in SequenceFrame::getName
This allows the demo to fail gracefully to the debugger instead of crashing

svn-id: r53595
2010-10-18 23:06:52 +00:00
Johannes Schickel
70566beb78 SWORD25: Since ssize_t might not be available on all platforms use size_t for the pointer cast now.
svn-id: r53594
2010-10-18 22:30:44 +00:00
Johannes Schickel
a821d65efe SWORD25: Fix compilation on 64bit arches by casting a pointer to ssize_t instead of int.
This should be no permanent solution. I added a small fixme comment near the
cast so it won't be forgotten.

svn-id: r53593
2010-10-18 22:17:41 +00:00
Johannes Schickel
521751e8d7 SWORD25: Use const_cast to cast away constness.
This fixes a few warnings/errors in the LUA code. I added some FIXMEs at the
places where the casts happen, since usually this casting indicates bad
design.

svn-id: r53592
2010-10-18 22:17:18 +00:00
Julien Templier
5c2bcadd21 CREDITS: Add lastexpress engine
svn-id: r53590
2010-10-18 21:35:15 +00:00
Florian Kagerer
5ff68b49d7 FM-TOWNS AUDIO: improve thread safety
svn-id: r53589
2010-10-18 21:16:58 +00:00
Julien Templier
0c72b1800d LASTEXPRESS: Fix GCC warnings
svn-id: r53588
2010-10-18 21:03:28 +00:00
Julien Templier
6a67bfd85d LASTEXPRESS: Implement 3 more AI logic functions
svn-id: r53587
2010-10-18 20:39:54 +00:00
Eugene Sandulenko
f7645fea45 Revert "COMMON: Implement Common::vprintf(). Patch by littleboy"
svn-id: r53586
2010-10-18 20:20:14 +00:00
Eugene Sandulenko
7f7a6cdafd Revert "GUI: Use vprintf in Console class. Patch by littleboy"
svn-id: r53585
2010-10-18 20:19:58 +00:00
Eugene Sandulenko
56b1f8ddee Revert "CONFIGURE: Added va_copy detection for Last Express engine"
svn-id: r53584
2010-10-18 20:19:44 +00:00
Eugene Sandulenko
a33d473535 CONFIGURE: Added va_copy detection for Last Express engine
svn-id: r53583
2010-10-18 20:02:27 +00:00
Max Horn
ceae152531 SCUMM: Silence MSVC 2010 code analysis warning
svn-id: r53582
2010-10-18 19:29:56 +00:00
Eugene Sandulenko
dd7a2f75c0 SCUMM: INSANE: fix a long standing bug discovered by static code analysis
svn-id: r53581
2010-10-18 19:19:28 +00:00