Sandu Liviu Catalin
8125400f7f
Return null entity instances instead of null for the functions that need to return an entity instance.
...
Finally fix the player unspectating bug and introduce a new event for when a player spectates none.
Update the global functions that check for player existance to use the new implementation.
2017-08-06 18:14:58 +03:00
Sandu Liviu Catalin
40c16ca5fc
Make the AutoDelete helper available to modules.
2017-05-25 22:14:51 +03:00
Sandu Liviu Catalin
3ce06d8cbc
Minor adjustments to the code and several bug-fixes.
2017-05-05 20:39:25 +03:00
Sandu Liviu Catalin
41e04e5167
Initial implementation of the new event system.
...
Initial implementation of the new signals and slots class.
Fixed command parsing which compared a pointer to a character.
Buffer overflow fix in routines which used the limits from the entity tasks.
Switched from Sqrat::Object to Sqrat::LightObj in most places to avoid the overhead of the VM pointer.
Various other adjustments and improvements.
The plugin is currently in a broken state and crashes at shutdown. The bug is unknown at this point.
2017-02-21 21:24:59 +02:00
Sandu Liviu Catalin
cb9581786e
Adjust the Vector3 and Vector4 type functions to use the new method of receiving formatted strings.
2016-11-16 16:20:11 +02:00
Sandu Liviu Catalin
32ce07bdad
Adjust the Vector2 and Vector2i type functions to use the new method of receiving formatted strings.
2016-11-16 16:19:54 +02:00
Sandu Liviu Catalin
759318d48e
Adjust the Sphere type functions to use the new method of receiving formatted strings.
2016-11-16 16:19:38 +02:00
Sandu Liviu Catalin
6522889492
Adjust the GetColor function to use the new method of receiving formatted strings.
2016-11-16 16:19:29 +02:00
Sandu Liviu Catalin
e7b4462a68
Adjust the Quaternion type functions to use the new method of receiving formatted strings.
2016-11-16 16:19:13 +02:00
Sandu Liviu Catalin
3e35f7c916
Adjust the Color3 and COlor4 type functions to use the new method of receiving formatted strings.
2016-11-16 16:19:02 +02:00
Sandu Liviu Catalin
3ede9645e3
Adjust the Circle type functions to use the new method of receiving formatted strings.
2016-11-16 16:18:45 +02:00
Sandu Liviu Catalin
b9a23d9137
Adjust the AABB type functions to use the new method of receiving formatted strings.
2016-11-16 15:12:19 +02:00
Sandu Liviu Catalin
f8e57bf060
Minor code style and consistency adjustments.
2016-11-15 21:55:03 +02:00
Sandu Liviu Catalin
f18d4c948a
Implement the pure typename meta-methods in Sphere type using the standard method.
2016-11-15 21:24:39 +02:00
Sandu Liviu Catalin
f3a485177b
Implement the pure typename meta-methods in Vector4 type using the standard method.
2016-11-15 21:21:31 +02:00
Sandu Liviu Catalin
6860019457
Implement the pure typename meta-methods in Vector3 type using the standard method.
2016-11-15 21:21:19 +02:00
Sandu Liviu Catalin
5afe1f8127
Implement the pure typename meta-methods in Vector2i type using the standard method.
2016-11-15 21:21:07 +02:00
Sandu Liviu Catalin
b2d003424e
Implement the pure typename meta-methods in Vector2 type using the standard method.
2016-11-15 21:20:55 +02:00
Sandu Liviu Catalin
0f2967aa05
Implement the pure typename meta-methods in Quaternion type using the standard method.
2016-11-15 21:20:42 +02:00
Sandu Liviu Catalin
b04b7c6d84
Implement the pure typename meta-methods in Color4 type using the standard method.
2016-11-15 21:20:25 +02:00
Sandu Liviu Catalin
dcc323202f
Implement the pure typename meta-methods in Color3 type using the standard method.
2016-11-15 21:20:10 +02:00
Sandu Liviu Catalin
8d5efe524e
Implement the pure typename meta-methods in Circle type using the standard method.
2016-11-15 21:21:15 +02:00
Sandu Liviu Catalin
2cce140e1b
Implement the pure typename meta-methods in AABB type using the standard method.
2016-11-15 21:20:57 +02:00
Sandu Liviu Catalin
33f98990df
Initial implementation of the AABB bounding box type.
2016-11-13 08:32:04 +02:00
Sandu Liviu Catalin
07caa7eb52
Don't use overloads in the foreach algorithm for simplicity and performance reasons.
2016-10-31 18:34:27 +02:00
Sandu Liviu Catalin
0df1582ac6
Implement foreach entity algorithm that accepts a payload to send to the callback.
2016-10-25 16:07:10 +03:00
Sandu Liviu Catalin
1bf80d76c6
Prevent a compilation error in the algorithms header from a missing brace in ForwardElemFunc initializer list.
2016-09-11 20:09:35 +03:00
Sandu Liviu Catalin
e23e5d0a05
Return null entity instance instead of null object in FindByID algorithm.
2016-09-02 10:02:46 +03:00
Sandu Liviu Catalin
d95f3253d4
Move the auto assign helper class to the shared utility header.
2016-08-25 11:54:29 +03:00
Sandu Liviu Catalin
fae1e51c7b
Prevent ambiguity errors during compilation caused by the new dispatch system under x64 builds.
2016-08-25 01:01:03 +03:00
Sandu Liviu Catalin
a0316092e3
Update the Vector4 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:18:19 +03:00
Sandu Liviu Catalin
fd9979453b
Update the Vector2i type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:18:08 +03:00
Sandu Liviu Catalin
ee7880d7f4
Update the Vector2 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:18:00 +03:00
Sandu Liviu Catalin
1a409b4919
Update the Sphere type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:37 +03:00
Sandu Liviu Catalin
1b95fba086
Update the Quaternion type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:29 +03:00
Sandu Liviu Catalin
b05b6409b8
Update the Color4 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:18 +03:00
Sandu Liviu Catalin
778b6ea59d
Update the Color3 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:09 +03:00
Sandu Liviu Catalin
64ed87f4b4
Update the Circle type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:01 +03:00
Sandu Liviu Catalin
67e8fa650f
Update the AABB type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:16:53 +03:00
Sandu Liviu Catalin
f88f8b9942
Remove leftover commented code from Vector3 registration code.
2016-08-24 23:16:37 +03:00
Sandu Liviu Catalin
86fcceb6ce
Update the Routine type to use the new dynamic dispatching system for metamethods.
2016-08-24 22:29:00 +03:00
Sandu Liviu Catalin
fbb7dc9f75
Implemented various helper functions for the quaternion class.
2016-08-23 23:02:19 +03:00
Sandu Liviu Catalin
f3db1101ab
Added a few helper constants in the shared header to prepare for Quaternion implementation.
2016-08-23 23:01:57 +03:00
Sandu Liviu Catalin
e99e6259f7
Add a helper class to make sure a certain value is assigned to a variable regardless of the thrown exceptions.
2016-08-19 19:45:43 +03:00
Sandu Liviu Catalin
d08e57f69a
Implement null instance in algorithms.
2016-08-19 04:07:43 +03:00
Sandu Liviu Catalin
4d3561d048
Implement algorithms for name filtering.
2016-08-19 03:49:50 +03:00
Sandu Liviu Catalin
59b0d20f08
Initial implementation of simple name filtering.
2016-08-19 03:27:56 +03:00
Sandu Liviu Catalin
0861559e0b
Adjust the distance method in Vector3 type.
2016-08-17 13:51:14 +03:00
Sandu Liviu Catalin
5c26ba62df
Add helper methods to the Vector3 type to rotate on each individual axis.
2016-08-04 03:42:48 +03:00
Sandu Liviu Catalin
ef2bc41fbc
Add method to the Vector3 type to obtain a rotated version of the point.
2016-08-04 03:41:46 +03:00