Commit graph

9 commits

Author SHA1 Message Date
Alistair Riddoch
a16af683d3 Update automake variable names 2011-02-17 12:51:25 +00:00
Alistair Riddoch
b77fc1565d Add new class to track entity context in terrain mods 2010-09-17 21:40:16 +01:00
Al Riddoch
ac31365d93 2006-12-04 Al Riddoch <alriddoch@zepler.org>
* modules/EntityRef.cpp, modules/EntityRef.h: Add a new class to handle
	  a weak reference to an Entity.

	* tests/EntityReftest.cpp: Test the weak reference class.
2006-12-04 00:50:38 +00:00
Al Riddoch
29a290e6ea 2003-06-20 Al Riddoch <alriddoch@zepler.org>
* server/WorldRouter.cpp: Fix variable name bug in non-debug build.

	* Update Makefile.ams so that distcheck works.
2003-06-24 09:53:38 +00:00
Al Riddoch
2ccfaadef3 2001-04-14 Al Riddoch <alriddoch@zepler.org>
* Substantial re-work of object model. Moved many attributes out
	  of BaseEntity class. Changed WoldRouter so it now handles
	  objects in terms of Entity, rather than BaseEntity.

	* Code cleanups, including removing reduntant includes, and
	  getting rid of C style comments.

	* Fixed the way attributes are handled in Set operations and
	  when merging from an Atlas::Message::Object. This fixed
	  problem with setting gender of characters.

	* rulesets/Pedestrian.*, rulesets/Movement.*: Re-named
	  Movement variables to make them clearer. Added in
	  separate handling for collisions from moving to
	  target position. Modified collision handling so
	  objects can slide next to each other.

	* rulesets/Thing.cpp, rulesets/Character.cpp: Cleaned up and
	  rationalised movement code. Much shorter, faster and
	  more compact than before.

	* Made better use of iterators throughout, eliminating unnecessary
	  lookups, and copying of data.

	* Moved all virtual functions out of header files, making
	  less work for the linker.

	* Made more use of const references to avoid the need to copy
	  data before being able to inspect it.

Al Riddoch <alriddoch@zepler.org>
2001-04-16 16:26:44 +00:00
Al Riddoch
34c38aaead * Modified build system so a static binary can be built.
* server/WorldRouter.cpp: Modified some behavoir on critical errors.
	  Server no longer aborts on criticial errors.

Al
2001-01-23 15:59:32 +00:00
Al Riddoch
f273b17336 Thanks to karsten for sorting out my auto* issues, we can now detect where
atlas is correctly.

Implemented most of the mind<->body interaction required for Character(),
and most of the operation handling for Thing(). Entities should now be
able to do stuff in the world.

Left to do, I need to work out how to implement the set operation,
and then work out a mechanism for returning multiple operation from
a function.

Al
2000-08-30 17:49:11 +00:00
Al Riddoch
0d372a6da0 Got MovementInfo to compile, and cleaned up the code a bit more. Removed
botched attempt to add support for optimised non-string object ids.
Modified the idle routine so it now delivers all the waiting operations
rather than only one per cycle.

Al
2000-08-27 18:00:38 +00:00
Al Riddoch
7129bb8b8c Initial check of work in progress converting cyphesis python code over to
C++. Don't do anything to this code until I have finished moving the rest
of the code into place.

Al
2000-08-13 20:36:18 +00:00