5636 Commits

Author SHA1 Message Date
Joni Vähämäki
292d567013 EMI: Go through all costumes in IsActorChoring. 2014-08-20 01:37:29 +03:00
Joni Vähämäki
70b65cb45f EMI: Return playing chores of all costumes from GetActorChores. 2014-08-20 01:37:28 +03:00
Joni Vähämäki
8ebdf5eb8e EMI: Make Lua_V2::findCostume only return true if a costume is found. 2014-08-20 01:37:28 +03:00
Joni Vähämäki
1bf63977a6 EMI: Remove special treatment of wear chores which is no longer necessary. 2014-08-20 01:37:19 +03:00
Joni Vähämäki
73d62214d3 EMI: Do not reset the costume when a new wear chore is started. Fixes #878 2014-08-20 01:36:33 +03:00
Joni Vähämäki
0bd258be1d EMI: Return the first costume that has a model component in Actor::getCurrentCostume. 2014-08-20 01:36:32 +03:00
Joni Vähämäki
6b1eb0ec4e EMI: Free costumes once all chores have finished. 2014-08-20 01:36:31 +03:00
Joseph Jezak
32a41525ee EMI: Implement Lua functions for getting camera rotation. 2014-08-19 18:35:32 -04:00
Joseph Jezak
ff9f26981c EMI: Refactor to use a matrix for the camera. 2014-08-19 18:35:26 -04:00
Joel Teichroeb
e77f599f1c Merge pull request #1026 from Akz-/emi-sortorder-fix
EMI: Sort order fixes
2014-08-19 15:22:13 -07:00
Joni Vähämäki
94699b842d GRIM/EMI: Fix word wrapping in the case when there are no spaces in the text.
This always caused a buffer overflow before.
2014-08-19 16:00:31 +03:00
Joni Vähämäki
851d78362d EMI: Reset color when drawing shadow planes. 2014-08-19 15:46:00 +03:00
Joni Vähämäki
3648da8934 EMI: Increase MAX_SHADOWS from 5 to 8. 2014-08-19 15:44:36 +03:00
Paweł Kołodziejski
0bd0bf6ca4 Merge pull request #1041 from Akz-/grim-sprite-fix
GRIM: Enable alpha test when drawing sprites.
2014-08-18 22:02:28 +02:00
Paweł Kołodziejski
5343fe5ae0 Merge pull request #1049 from Akz-/grim-colorkey-fix
GRIM: Fix the color key value in TinyGL.
2014-08-18 21:10:06 +02:00
Joni Vähämäki
f15ae46912 GRIM: Fix the color key value in TinyGL. 2014-08-18 21:58:34 +03:00
Bastien Bouclet
94dd10cb11 Merge pull request #1043 from eriktorbjorn/myst3-subtitles
MYST3: Fix for issue #1040, "MYST3: Subtitles show box at end of every line".
2014-08-18 18:25:10 +02:00
Torbjörn Andersson
8fa99a265c MYST3: Don't add terminating '\0' to subtitle string. Fixes #1040.
It's not needed when using Common::String, since they keep track
of the length in a separate field, and it caused glitches when
ResidualVM was compiled without TTF support. See issue #1040,
"MYST3: Subtitles show box at end of every line", for an example.
2014-08-18 17:47:38 +02:00
Joni Vähämäki
915e12321c GRIM: Enable alpha test when drawing sprites. 2014-08-18 13:09:42 +03:00
Pawel Kolodziejski
1a07a23294 ALL: synced with ScummVM 2014-08-18 05:21:52 +02:00
Joel Teichroeb
e76e3f3b3d Merge pull request #1035 from JoseJX/FixClamping
EMI: Remove clamping from prepareTextures.
2014-08-17 12:32:38 -07:00
Joni Vähämäki
c893447ba0 EMI: Decrease the iterator position when a material is erased from the material list. 2014-08-17 19:58:11 +03:00
Joseph Jezak
c0a598e7ad EMI: Remove clamping from prepareTextures. 2014-08-16 19:41:27 -04:00
Joni Vähämäki
e2af14a6dd EMI: Set sector sort order to 0 if the current sector does not specify a sort order. 2014-08-16 23:37:20 +03:00
Paweł Kołodziejski
df14a526f2 Merge pull request #1033 from subr3v/master-changlog
TINYGL: Updated changelog.
2014-08-16 18:26:03 +02:00
Stefano Musumeci
f615ba388b TINYGL: Updated changelog. 2014-08-16 18:25:23 +02:00
Paweł Kołodziejski
30c5e793f2 Merge pull request #1010 from subr3v/myst3-subtitles-fix
TINYGL: Fixed support to RGB textures.
2014-08-16 17:35:11 +02:00
Stefano Musumeci
3beb5ff233 TINYGL: Reordered expression to make it more readable. 2014-08-16 17:31:54 +02:00
Paweł Kołodziejski
5e6694b926 Merge pull request #1002 from subr3v/tinygl-dirty-rects
TINYGL: Dirty rects system.
2014-08-16 17:09:32 +02:00
Stefano Musumeci
23385b3a4a TINYGL: Fixed compiler warnings. 2014-08-16 16:04:20 +02:00
Stefano Musumeci
5bd0a864f5 TINYGL: Fixed line breaks. 2014-08-16 16:04:16 +02:00
Stefano Musumeci
974f47fa42 TINYGL: Added a way to disable or enable dirty rectangles at runtime. 2014-08-16 16:04:10 +02:00
Stefano Musumeci
e1aea3a1f3 TINYGL: Added safety checks to Linear Allocator. 2014-08-16 16:04:05 +02:00
Stefano Musumeci
957fa20c30 GRIM: Replaced magic value with constant. 2014-08-16 16:04:00 +02:00
Stefano Musumeci
41737fcc21 TINYGL: Added/Updated license header in tinyGL files. 2014-08-16 16:03:54 +02:00
Stefano Musumeci
2cf70d6d76 Merge branch 'master' into tinygl-dirty-rects-fixed
Conflicts:
	graphics/tinygl/ztriangle.cpp
2014-08-16 16:03:27 +02:00
Joni Vähämäki
d011f06b4f EMI: Only return a sector sort order if the nearest point on a sector is closer than 0.01 units. 2014-08-16 13:55:16 +03:00
Pawel Kolodziejski
b60a13b224 WIN32: convert quitstart doc to dos endlines 2014-08-15 17:55:40 +02:00
Paweł Kołodziejski
1eebd1139f Merge pull request #1024 from JoseJX/FixTinyGLFont
EMI: Fix font rendering with TinyGL.
2014-08-15 16:28:28 +02:00
Joseph Jezak
4a02e3af42 EMI: Fix font rendering with TinyGL. 2014-08-15 10:06:08 -04:00
Pawel Kolodziejski
c70b2b04c6 AMIGAOS4: update cross build 2014-08-15 13:53:16 +02:00
Pawel Kolodziejski
e539b27af8 MATH: improve type support for viewport argument 2014-08-15 12:25:48 +02:00
Joel Teichroeb
361eb89e57 Merge pull request #1025 from JoseJX/FixESCAtSave
EMI: Fix segfault when cancelling a save.
2014-08-14 19:04:59 -07:00
Joel Teichroeb
d9597d1d36 Merge pull request #1007 from Akz-/emi-sound-position
GRIM/EMI: Positional sound tweaks
2014-08-14 19:02:58 -07:00
Paweł Kołodziejski
689836a3fe Merge pull request #1027 from Akz-/tinygl-depth-fix
TINYGL: Do not write to the depth buffer if depth test is disabled.
2014-08-14 23:59:11 +02:00
Joni Vähämäki
5bdfbb29eb TINYGL: Do not write to the depth buffer if depth test is disabled. 2014-08-14 22:01:18 +03:00
Bastien Bouclet
db2b418569 MYST3: Fix the inventory item count not being saved 2014-08-14 20:56:03 +02:00
Joel Teichroeb
2bf1340a25 Merge pull request #1023 from chkr-private/intro-fixes
Intro fixes
2014-08-14 09:27:52 -07:00
Joni Vähämäki
0909de720b EMI: Do not reset sort order when the set changes.
The original game doesn't reset the sort order. This fixes, for example, the voodoo anklet being visible through walls after leaving the jail set.
2014-08-14 18:32:16 +03:00
Joni Vähämäki
a37890b8f5 EMI: Get the sort order from the closest sector even if the current position is not contained within any sector.
This fixes Guybrush occasionally being visible through the buildings and foliage on Lucre island when walking at the edge of the walkable sectors. This happened because for positions at the edge of the walkable sector the method Sector::isPointInSector may not always return true.
2014-08-14 18:06:59 +03:00