Commit graph

418 commits

Author SHA1 Message Date
Al Riddoch
68852aef21 * Cleaned up problems with mode in move operations, and dealt
with stopping when velocity is set to zero.

Movement now seems to work in uclient properlly. I have not yet been able
to test destination based movement in uclient, as uclient does not yet
implement right-click movement. Rounding errors in uclient also lead
to it sending move operations with very small velocities, which result
in the character walking on the spot. There are still some things to
be ironed out with face attribute.

Al
2000-11-15 15:17:59 +00:00
Al Riddoch
c18f5cfdce * Fixed silly typo in movement code which meant that velocity was
not being used to calculate direction when only velocity is
	  specified.

Movement is now much improved in uclient. Mode still does not work
correctly, and sight of move operation is not correctly generated when
character stops moving. Still working on it.
2000-11-15 14:32:18 +00:00
Al Riddoch
166696fab6 * Fixed setting location of newly created objects
* Fixed setting weight as float on default Thing.

	* Added more support for mode and face in movement code.

	* Cleaned up the debugging output code.

	* Fixed looking, and added support for contains attribute

Al
2000-11-10 20:41:24 +00:00
Al Riddoch
3316e1e1cb * Added more refno capabilities
* Fixed some operation instantiation bugs

	* Added full support for creator entity. Admin client can now populate
	  the world with items and NPCs.

Al
2000-11-10 03:29:00 +00:00
Al Riddoch
943aafe3c1 * Fixed movement code so that id of object to be moved is correctly
present. uclient now sees movement. Woohoo!

Al
2000-11-07 23:30:49 +00:00
Al Riddoch
35a969b267 * More movement fixed. uclient movement now works within the server,
but uclient does not like the responses it gets.

	* Fixed a bug which caused a segfault when movement stops.

Al
2000-11-07 20:26:37 +00:00
Al Riddoch
f3f1e4fd39 * More movement fixes, including lots of clearer debugging output.
Still does not seem to correctly handle moves which don't
	  specify direction.

Al
2000-11-05 16:08:17 +00:00
Al Riddoch
872056a7ce * More movement fixes. I now get almost expected behavoir
* Switched over to new Atlas location spec now that this is supported
	  by uclient.

Al
2000-11-05 00:21:38 +00:00
Al Riddoch
a8e31c364a * Improved debugging output in movement code, and fixed some critical
bugs which meant that movement was not working correctly.

Al
2000-11-04 18:44:43 +00:00
Al Riddoch
550beb9cc8 * Modified legacy location code so it is now activated by a single
#define

Al
2000-11-03 14:44:05 +00:00
Al Riddoch
3ba5e76833 * Added temporary support for old Atlas style location object
in entity to move operations. This allows uclient to work for
	  now until it moves over to the latest Atlas spec.
2000-11-02 23:47:19 +00:00
Al Riddoch
c67a08d027 * Fixed movement code which now works.
* Fixed set operation, and added attributes map to Thing.

	* Started adding Python interface code.

        * Starting changelog from initial attempt to port cyphesis into C++.
2000-10-24 12:50:22 +00:00
Al Riddoch
a9c0ec2d5b Fixed movement, so it should now work. 2000-10-22 14:07:55 +00:00
Al Riddoch
bd9aecbcfa Modified all internal operation handling functions so they now return a list
of Operations instead of just one. Debugged movement, which now works, but
does not yet stop when it reaches the destination.

Al
2000-08-31 21:48:46 +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
d6a56f6764 The basic world model now works. Operation get routed effectively between
objects in the world, mind and external minds. You can now log in, create
a character, and witness other operations in the world through receiving
sight operations.

Al
2000-08-26 15:11:24 +00:00
Al Riddoch
8266592142 Lots more code added, and WorldRouter can now send operations around
Now adding character body and mind code so mind and body abstraction can
work and communication between client and server character entity can
work. The code is not currently in any particular state, but I have not
commited for a while, so I am doing it now for security.

Al
2000-08-25 17:51:43 +00:00