Commit Graph
15 Commits
Author SHA1 Message Date
Orgad Shaneh 29e9cdc40f GRIM: Fix string comparison in lua
Reported by GCC 12:

lobject.cpp: In function 'int32 Grim::luaO_equalObj(TObject*, TObject*)':
lobject.cpp:51:35: warning: comparison between two arrays [-Warray-compare]
   51 |                 return svalue(t1) == svalue(t2);

Upstream fix: https://github.com/lua/lua/commit/84790bb953a091eed06d260ef58e71987dda3dab
2022-06-05 22:10:19 +02:00
aquadran bbe9b3cf64 Revert "GRIM: Fix string comparison in lua"
This reverts commit d783be1570.
2022-05-26 20:47:36 +02:00
Orgad Shaneh d783be1570 GRIM: Fix string comparison in lua
Reported by GCC 12:

lobject.cpp: In function 'int32 Grim::luaO_equalObj(TObject*, TObject*)':
lobject.cpp:51:35: warning: comparison between two arrays [-Warray-compare]
   51 |                 return svalue(t1) == svalue(t2);

Upstream fix: https://github.com/lua/lua/commit/84790bb953a091eed06d260ef58e71987dda3dab
2022-05-26 15:05:43 +03:00
Paweł Kołodziejski 690f9d2a5c GRIM,LUA: Janitorial 2022-01-06 18:26:30 +01:00
Paweł Kołodziejski 5dad979952 Revert "GRIM: Use exceptions instead of jumps"
This reverts commit 7b42887895.
2017-11-30 19:56:43 +01:00
Joel Teichroeb 7b42887895 GRIM: Use exceptions instead of jumps 2017-11-30 08:31:25 +01:00
Joel Teichroeb 0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski 356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Pawel Kolodziejski 0f5de71f70 sync with scummvm 2011-05-08 15:38:26 +02:00
Giulio Camuffo ce716e4580 GRIM: Store USERDATAs with a new struct { int32 id; int32 tag }.
This way we don't have to deal with casts between integers and void*
anymore.
2011-05-03 16:51:30 +02:00
Giulio Camuffo 7fdec03c44 GRIM: removed luaO_resetObject. 2011-05-02 11:44:57 +02:00
Giulio Camuffo 59dcece9ae Working savegame support.
Implemented also the movement of Manny's head when looking at usable items.
This commit also introduces a new Object class with a ObjectPtr used for
caching the resources loaded by ResourceLoader. This fixes also the lipsync
regression.
2011-03-21 05:41:30 +08:00
Pawel Kolodziejski 8b8e7e07d2 added namespace Grim 2009-05-25 06:49:57 +00:00
Pawel Kolodziejski a34d883844 update path includes for recent directory changes 2009-05-24 19:13:58 +00:00
Pawel Kolodziejski f58c073a0a move/rename engine into engines/grim 2009-05-24 18:55:19 +00:00