Commit Graph
26 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Martin Gerhardy be71f5b990 LASTEXPRESS: fixed warnings with gcc 8.2
engines/lastexpress/entities/alexei.cpp: In member function ‘void LastExpress::Alexei::standingAtWindow(const LastExpress::SavePoint&)’:
engines/lastexpress/entities/alexei.cpp:772:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C++      engines/lastexpress/entities/chapters.o
engines/lastexpress/entities/august.cpp: In member function ‘void LastExpress::August::function21(const LastExpress::SavePoint&)’:
engines/lastexpress/entities/august.cpp:672:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
    switch(params->param5) {
    ^~~~~~
engines/lastexpress/entities/august.cpp:694:3: note: here
   case 9:
   ^~~~
2018-09-13 20:55:49 +01:00
Evgeny Grechnikov 6a1e5c1d93 LASTEXPRESS: more fixes in NPC logic 2018-09-02 21:07:00 +03:00
Evgeny Grechnikov f771fa40ad LASTEXPRESS: multiple fixes in NPC logic
Checked the logic against the original game
(to be precise, DOS English version from GOG, although I think
AI logic has no significant differences with other versions).
Fixed a *lot* of errors with varying visibility for the user.

Also, save+exit+load sometimes resulted in memory corruption like
((EntityParametersSSII*)(new EntityParametersIIII))->param8 = 0;
load operation did not restore the correct type of NPC logic context,
the default one was used (which also has the smallest sizeof).
Should be fixed now. Save+load is still unusable because it locks
everybody waiting for kActionEndSound (the sound state is not restored),
but, at least, it should not corrupt the memory. Hopefully.
2018-08-26 12:09:43 +02:00
Littleboy 5310d49e53 LASTEXPRESS: Rename Server* classes to Waiter* 2014-06-16 18:46:13 -04:00
Johannes Schickel 3d4f409572 LASTEXPRESS: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Littleboy 5e9404ccdf LASTEXPRESS: Rename Alexei logic functions 2013-12-10 01:54:54 -05:00
Julien 8545991739 LASTEXPRESS: Remove several TIME_CHECK* macros 2012-07-27 00:15:00 -04:00
Julien 8de4cb6547 LASTEXPRESS: Replace UPDATE_PARAM_PROC and UPDATE_PARAM_PROC_TIME macros 2012-07-27 00:14:58 -04:00
Julien e13290a028 LASTEXPRESS: Replace UPDATE_PARAM_CHECK macro 2012-07-27 00:14:57 -04:00
Julien 95503250f8 LASTEXPRESS: Replace UPDATE_PARAM macro 2012-07-27 00:14:56 -04:00
Littleboy 4cee0836c9 LASTEXPRESS: Replace CALLBACK_ACTION macro by member function 2012-07-14 14:34:42 -04:00
Littleboy 732a2c80dd LASTEXPRESS: Remove duplicated include statements 2012-07-14 13:23:54 -04:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Littleboy 90dc4f9a8c LASTEXPRESS: Move Sound class to the sound folder 2011-06-28 22:30:24 -04:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Julien Templier 6400659ead LASTEXPRESS: Correct typos in Alexei logic and sound code
svn-id: r55523
2011-01-25 04:25:06 +00:00
Julien Templier 82b0a9b003 LASTEXPRESS: Add macro for end of entities logic functions
svn-id: r55343
2011-01-20 04:57:06 +00:00
Julien Templier dba75791d9 LASTEXPRESS: Add some missing casts and const qualifiers
svn-id: r53880
2010-10-27 19:19:22 +00:00
Julien Templier fed894aeee LASTEXPRESS: Add missing casts, fix warnings and correct typos
svn-id: r53694
2010-10-22 01:30:18 +00:00
Julien Templier a54783c414 LASTEXPRESS: Merge several TIME_CHECK* macros together
svn-id: r53692
2010-10-21 23:46:00 +00:00
Julien Templier 002557fbd2 LASTEXPRESS: Rename CURRENT_PARAMS to CURRENT_PARAM
svn-id: r53691
2010-10-21 23:44:59 +00:00
Julien Templier af36047c71 LASTEXPRESS: Rename LOBYTE macro
svn-id: r53689
2010-10-21 23:43:57 +00:00
Jordi Vilalta Prat 59c054938a LASTEXPRESS: Fix some space formatting.
svn-id: r53629
2010-10-19 22:34:26 +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 86d650926f LASTEXPRESS: Merge in the engine.
svn-id: r53579
2010-10-18 19:17:38 +00:00