aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/entity.h
AgeCommit message (Collapse)Author
2018-08-26LASTEXPRESS: fix gcc buildEvgeny Grechnikov
2018-08-26LASTEXPRESS: multiple fixes in NPC logicEvgeny Grechnikov
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.
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-10LASTEXPRESS: Rename Object propertiesLittleboy
2013-11-24LASTEXPRESS: Janitorial - Fix spacing errorsStrangerke
2013-10-08LASTEXPRESS: Fix potential buffer overruns. Numerous CID 1003873-1003885Eugene Sandulenko
2012-08-27LASTEXPRESS: Remove unnecessary castsLittleboy
2012-08-27LASTEXPRESS: Add const modifiersLittleboy
2012-08-27LASTEXPRESS: Reduce header interdependencyLittleboy
2012-07-27LASTEXPRESS: Untemplatize setup functionsLittleboy
2012-07-27LASTEXPRESS: Fix some formatting issuesLittleboy
2012-07-27LASTEXPRESS: Remove templated resetCurrentParameters() functionLittleboy
2012-07-27LASTEXPRESS: More include re-organizationLittleboy
2012-07-27LASTEXPRESS: Move includes to header for setup function templatesJulien
2012-07-27LASTEXPRESS: Replace setup macros by functionsJulien
2012-07-27LASTEXPRESS: Cleanup unused arguments from BEGIN_SETUP macroJulien
2012-07-27LASTEXPRESS: Merge the remaining macros in entity_intern.h into entity.hJulien
2012-07-27LASTEXPRESS: Remove TIME_CHECK_CALLBACK_1 macroJulien
2012-07-27LASTEXPRESS: Move RESET_ENTITY_STATE macro to entity.hJulien
2012-07-27LASTEXPRESS: Remove several TIME_CHECK* macrosJulien
2012-07-27LASTEXPRESS: Move Entity function declaration macros to entity.hJulien
2012-07-27LASTEXPRESS: Replace UPDATE_PARAM_PROC and UPDATE_PARAM_PROC_TIME macrosJulien
2012-07-27LASTEXPRESS: Replace UPDATE_PARAM_CHECK macroJulien
2012-07-27LASTEXPRESS: Replace UPDATE_PARAM macroJulien
2012-07-27LASTEXPRESS: Replace TIME_CHECK_PLAYSOUND_UPDATEPOSITION macroJulien
2012-07-27LASTEXPRESS: Replace TIME_CHECK_CALLBACK_ACTION macroJulien
2012-07-27LASTEXPRESS: Remove use of function wrappers in shared entity functionsJulien
2012-07-27LASTEXPRESS: Move some macros to entity.hJulien
2012-07-19LASTEXPRESS: Fix variable shadowing and update commentsLittleboy
2012-07-16LASTEXPRESS: Replace TIME_CHECK_SAVEPOINT and TIME_CHECK_OBJECT macrosLittleboy
2012-07-16LASTEXPRESS: Merge the two savegameBloodJacket functions into the base ↵Littleboy
Entity class
2012-07-16LASTEXPRESS: Replace SYNC_STRING macro by functionLittleboy
2012-07-16LASTEXPRESS: Replace COMPARTMENT_TO and COMPARTMENT_FROM_TO macrosLittleboy
2012-07-14LASTEXPRESS: Replace CALLBACK_ACTION macro by member functionLittleboy
2011-06-28LASTEXPRESS: Cleanup commentsLittleboy
2011-06-28LASTEXPRESS: Move Sound class to the sound folderLittleboy
2011-06-24LASTEXPRESS: Refactor Sound classLittleboy
- Move entry-related functions to separate class - Move enumeration to shared header and rename FlagType to SoundFlag
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-11-16LASTEXPRESS: Fix SequenceFrame leak in Entities codeJulien Templier
- Add EntityCallData destructor to dispose of frames & Sequences - Properly dispose of frames in Entities::resetSequences() svn-id: r54270
2010-11-11LASTEXPRESS: Use SAFE_DELETE for class variablesJulien Templier
svn-id: r54201
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-26LASTEXPRESS: Fix GCC warningsJulien Templier
svn-id: r53850
2010-10-26LASTEXPRESS: More savegame workJulien Templier
- Implement SaveLoad::writeEntry - Implement missing saveLoadWithSerializer functions for all serialized classes & structs - Add stub for SaveLoad::computePadding svn-id: r53845
2010-10-22LASTEXPRESS: Add missing casts, fix warnings and correct typosJulien Templier
svn-id: r53694
2010-10-19LASTEXPRESS: Merge parameter creation into resetCurrentParameters()Julien Templier
svn-id: r53599
2010-10-19LASTEXPRESS: Rewrite resetCurrentParameters to use a temporary varJulien Templier
Per LordHoto suggestion, to see if it fixes compilation on motoezx & PS2 svn-id: r53598
2010-10-18LASTEXPRESS: Merge in the engine.Eugene Sandulenko
svn-id: r53579