Commit graph

7591 commits

Author SHA1 Message Date
Erik Ogenvik
1208de18e9 Show knowledge in entity editor. 2018-12-18 17:31:59 +01:00
Erik Ogenvik
46eea069d2 Started on work to handle new AI API.
I.e. all goals and knowledge is now handled by the "_goals" and
"_knowledge" properties.
2018-12-18 12:36:25 +01:00
Erik Ogenvik
b6f4a974f3 Fixed issue when model reloads. 2018-12-18 12:36:08 +01:00
Erik Ogenvik
3a935e8c45 Let the system handle responses. 2018-12-17 13:50:31 +01:00
Erik Ogenvik
25d913447d Unwield items moved out of the slots. 2018-09-08 21:51:44 +02:00
Erik Ogenvik
10dd393845 Handle default usage. 2018-09-08 20:23:14 +02:00
Erik Ogenvik
06e8046de7 Handle hits. 2018-09-01 21:43:41 +02:00
Erik Ogenvik
e5a00ce966 Protect against the avatar being destroyed. 2018-09-01 21:43:29 +02:00
Erik Ogenvik
bf1dc55974 Avoid dynamic_cast where possible. 2018-09-01 20:21:45 +02:00
Erik Ogenvik
8d3cea6a79 Show an outline for selected entities.
And do this every frame.
2018-09-01 19:35:32 +02:00
Erik Ogenvik
d74cfd4f56 Interact directly with entities in movement mode. 2018-08-22 22:24:32 +02:00
Erik Ogenvik
be70de036d Use more general EntityRef rules.
Since outfit has been removed.
2018-08-16 22:36:02 +02:00
Erik Ogenvik
d44775ed3f Use "attachment" instead of "outfit". 2018-08-16 18:57:10 +02:00
Erik Ogenvik
997aace9da Send ops from the mind. 2018-08-11 23:39:48 +02:00
Erik Ogenvik
9c0746eaa1 Use new Relay protocol. 2018-08-10 22:58:17 +02:00
Erik Ogenvik
950cd7a904 Send ops from the mind. 2018-08-09 23:41:40 +02:00
Erik Ogenvik
525af33a47 Allow ESC to remove loading screen.
Also if something goes wrong.
2018-08-06 20:40:45 +02:00
Erik Ogenvik
2058575e94 Print login errors to log. 2018-08-06 20:27:10 +02:00
Erik Ogenvik
3557282d72 Use new "usage" protocol for tools.
Needs more work in the UI department though.
2018-08-06 20:27:07 +02:00
Erik Ogenvik
f487c3b262 Preselect if only one choice. 2018-08-01 19:23:25 +02:00
Erik Ogenvik
0d2a8e828c Scale bullet geometry when entity scales. 2018-08-01 19:23:05 +02:00
Erik Ogenvik
257d86d0a8 Send position when touching. 2018-07-04 21:45:29 +02:00
Erik Ogenvik
b241506356 Make "bbox" adapter not editable by default.
Since we want scaling to happen through the "scale" property instead in
almost all cases.
2018-06-29 11:13:36 +02:00
Erik Ogenvik
d464a2c3db Added widget for entity references. 2018-06-28 22:51:15 +02:00
Erik Ogenvik
4e2dc5c0e9 Added scale widget. 2018-06-28 21:59:56 +02:00
Erik Ogenvik
ce053c2093 Handle "scale" attribute. 2018-06-26 23:49:06 +02:00
Erik Ogenvik
776c2eb313 Added check for Ogre threading.
We require that Ogre is built with threading, since the terrain system
is dependent on it.
2018-06-25 15:20:02 +02:00
Erik Ogenvik
33152e505d Fixed incorrect method call. 2018-04-30 23:15:12 +02:00
Erik Ogenvik
2e44d08e59 Fixed console not showing unread messages. 2018-04-27 22:46:34 +02:00
Erik Ogenvik
f0f410941d Print server errors to the console. 2018-04-27 21:40:47 +02:00
Erik Ogenvik
e1dfeeff33 Prefix ShadowCaster with "/common/". 2018-04-21 21:08:30 +02:00
Erik Ogenvik
4de7fc9be9 Replacement for boost::filesystem::relative
Since that method requires boost 1.60, and we want to support at least
Ubuntu 16.4 LTS.
2018-04-19 11:44:46 +02:00
Erik Ogenvik
517355acd4 Fixed compiler issue. 2018-04-18 21:31:26 +02:00
Erik Ogenvik
33af512a44 Fixed path. 2018-04-18 21:07:00 +02:00
Erik Ogenvik
62ae90eff7 Take "scaler" attribute into account. 2018-04-18 20:55:47 +02:00
Erik Ogenvik
a51a2a5d7e Ignore the "mediarepo" directory.
Since that's checked out from Subversion. Also removed autotools files.
2018-04-15 13:02:27 +02:00
Erik Ogenvik
af3d155d45 Display skeleton bones in a nice way. 2018-04-15 12:59:51 +02:00
Erik Ogenvik
cc16ca582d Display various spheres correctly. 2018-04-15 12:58:50 +02:00
Erik Ogenvik
fee5981794 Teleport within the same domain always. 2018-04-02 01:16:25 +02:00
Erik Ogenvik
349989e0b2 Take collisions into account when placing things. 2018-04-02 01:09:09 +02:00
Erik Ogenvik
15438ad15d Removed max speed config option. 2018-04-01 23:00:05 +02:00
Erik Ogenvik
5904dc4b17 Don't link to SoftBody and Dynamics.
Since we only use the collisions.
2018-04-01 22:59:31 +02:00
Erik Ogenvik
392dc08de2 Improve camera occlusion checks.
This make the camera less likely to dip under the terrain.
In addition it should perform better.
2018-04-01 22:19:45 +02:00
Erik Ogenvik
c6641b7d0e Use Bullet for mouse picking.
Since it's so much faster than the previous approach. This also allows
us to use it for camera movement.
2018-04-01 20:32:21 +02:00
Erik Ogenvik
dab60e1e3e Update models when the definition changes on disk. 2018-03-27 23:09:42 +02:00
Erik Ogenvik
5786994b44 Don't let ModelDefinitions be Ogre::Resources.
There's no need. Simpler to just store it as a map.
2018-03-27 20:11:56 +02:00
Erik Ogenvik
a6aa66316f Fixed issues with lighting, add opt. moving lights. 2018-03-26 23:18:21 +02:00
Erik Ogenvik
f0a19effeb Don't submit negative values. 2018-03-26 12:03:05 +02:00
Erik Ogenvik
f3ba727c27 Also show archetypes in the creator. 2018-03-26 11:46:18 +02:00
Erik Ogenvik
861479123a Retain offset when moving entities. 2018-03-26 00:18:31 +02:00