Commit graph

54 commits

Author SHA1 Message Date
Le Philousophe
e15aa92118 GRIM: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Paweł Kołodziejski
06902574b4
GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
d3471ef3aa GRIM: Fix some missing hotspots with mouse enabled
Originally reported in https://github.com/tobiaspfaff/grim_mouse/issues/9.
2021-11-02 21:32:29 +01:00
Paweł Kołodziejski
6e619ca714 GRIM: Merge branch 'remastered' 2020-10-07 18:26:49 +02:00
Bastien Bouclet
23339184ce GRIM: Clean up float data loading 2018-04-14 11:49:35 +02:00
Vincent Pelletier
84f83fe6ea ALL: Rename get_float to READ_LE_FLOAT
For consistency with other functions/macros from common/endian.h .
2017-05-12 13:57:16 +00:00
Dries Harnie
fb3bd8139a JANITORIAL: Fix Coverity warnings
Fixes coverity warnings 1267220, 1256936, 1229470, 1224097, 1219766,
1054364, 1009896.
2015-05-12 08:49:19 +02:00
Einar Johan Trøan Sømåen
5d3a0b1306 Check for the existense of numtris before trying to parse it, this allows climbing onto the ledge via the tie rope 2015-01-28 19:40:15 +01:00
Joel Teichroeb
31a959d376 Optionally load tris 2015-01-28 07:43:56 -08:00
Joel Teichroeb
9cfdb63406 Initial remastered work 2015-01-27 13:31:26 -08:00
Christian Krause
39b0172f72 EMI: Relax height check for bridges between sectors
- fixes a path finding issue (#992)
2015-01-13 22:12:13 +01:00
Joseph Jezak
78772c999b MATH: Rename getVector3d and add comments for the Vector3d class. 2014-07-01 11:27:02 -04:00
Joni Vähämäki
4cfa9eb5a1 GRIM/EMI: Remove bridge length check. 2014-06-15 13:32:14 +03:00
Tobias Pfaff
3ec234757f GRIM/EMI: Fix bridge height check. See #842 2014-06-15 13:31:54 +03:00
Joel Teichroeb
0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Joel Teichroeb
c0cb2f1f9c GRIM: Use a consitent style for constructor initializers 2013-10-26 13:57:55 -07:00
Joel Teichroeb
58e13afa1e GRIM: Initialize all Sector members 2013-10-24 18:59:26 -07:00
Einar Johan Trøan Sømåen
bc53007082 EMI: Save sortplanes 2013-07-14 21:04:42 +02:00
Einar Johan Trøan Sømåen
fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00
Joel Teichroeb
3d74d6ffee EMI: Actually free _sortplanes and move the Sector constructior 2013-07-09 09:56:57 -07:00
Joel Teichroeb
f2e10868e4 EMI: Actually create the _sortplanes arry like I should have in the last commit 2013-07-09 09:49:26 -07:00
Joel Teichroeb
fed34ac178 EMI: Load sortplane information 2013-07-09 09:46:14 -07:00
Joel Teichroeb
4e6378be14 GRIM: Do not need to check if a pointer is NULL before deleting it as nothing will happen if it is NULL 2013-07-07 21:11:34 -07:00
Dries Harnie
71c2e44983 EMI: Read binary data in little-endian format 2013-06-04 21:21:26 +02:00
Paweł Kołodziejski
175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Giulio Camuffo
b1f32af406 GRIM: Fix a problem with sectors in set ks caused by previous commit. 2012-12-13 11:08:23 +01:00
Giulio Camuffo
72329bc0af GRIM: Account for floating point errors when checking if a point is in a sector.
Fixes #610.
2012-12-12 23:28:14 +01:00
Dries Harnie
3a58c45703 EMI: Factor out Sector::distanceToPoint 2012-08-12 12:19:53 +02:00
Joel Teichroeb
0dcfaf8fb1 GRIM: Do not include unneeded headers 2012-04-04 16:11:05 -07:00
Giulio Camuffo
8d57a8b6d4 GRIM: Fix wrong ')' placement. Fix #557 2012-03-08 14:52:14 +01:00
Dries Harnie
af9f716ddb EMI: Use proper normal for sector bookkeeping 2012-02-18 23:04:05 +01:00
Dries Harnie
c3237e129e EMI: use X-Z in Vector3d::intersectLine2d 2012-02-18 22:41:02 +01:00
Dries Harnie
ef8239f8cf EMI: More cleanups 2012-02-18 22:39:36 +01:00
Dries Harnie
9b73e7c143 EMI: Use correct normal in Sector::isPointInSector 2012-02-18 22:33:06 +01:00
Joel Teichroeb
09fd2b8137 EMI: Use the same looping verticies that grim uses 2012-02-18 13:11:22 -08:00
Giulio Camuffo
cdd1831d23 EMI: Fix loading sector names. Thanks to Botje. 2012-02-09 16:36:15 +01:00
Dries Harnie
e94f2f8c24 EMI: don't renormalize in Sector::getProjection* 2012-01-31 23:35:42 +01:00
Dries Harnie
f8ffa66682 GRIM: use proper sector normal instead of (0,0,1) 2012-01-31 20:01:03 +01:00
Dries Harnie
2262ff4e45 GRIM: set a normal for sectors 2012-01-31 20:01:03 +01:00
Joel Teichroeb
a9c664379e GRIM: Make saving and restoring use more appropriate types and rename functions to be more logical 2012-01-28 10:03:27 +01:00
Paweł Kołodziejski
e350c7f777 renames 2012-01-06 23:29:45 +01:00
Andrea Corna
23bc633f3a GRIM: Make Set and Sector load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00
Giulio Camuffo
7b1f87f928 GRIM: Boost of the debug system, using debug channels. 2011-10-10 18:17:22 +02:00
Giulio Camuffo
85dc64840a GRIM: Improve test of wether a point is in a sector. 2011-09-29 22:05:33 +02:00
Giulio Camuffo
73684f1fbc GRIM: Rename Scene to Set, and scene.{h,cpp} to set.{h, cpp}. 2011-09-19 16:53:08 +02:00
Giulio Camuffo
3299ee448a GRIM: Adapt to the function names changes in math. 2011-09-18 19:15:06 +02:00
Giulio Camuffo
a900a5ab10 MATH: Further work on the Matrix class.
The vectors are now matrices.
2011-09-14 23:06:14 +02:00