113d74e868
Enhance the routine implementation further by allowing it to be used as the environment itself and include a few extra helpers to avoid extra checks and lookups.
2019-07-26 19:59:34 +03:00
806bb2ba9d
Fix script loading.
...
Forgot to go back to the beginning of the file after reading the header. Bug was introduced in recent changes.
2019-06-16 03:02:04 +03:00
acea3db378
Move line retrieval into the script wrapper.
...
Might be used elsewhere.
2019-06-16 02:20:18 +03:00
d6a3937107
Include code line in debug.
...
Includes the line of code that causes a syntax error. Few other minor fixes.
2019-06-16 02:12:51 +03:00
b3ab60a6c7
Format validation.
...
Include format validation in log messages by using GCC's format attribute.
2019-06-02 17:12:17 +03:00
600c21d45f
Discard instances of constant StackStrF parameters. This should always be non-const if possible.
2019-02-17 17:23:59 +02:00
f300e7ff4a
Massive code reduction in the binding utility by using variadic templates.
...
Extensive code refactoring surrounding the StackStrF helper to facilitate the new changes.
Various other miscellaneous changes and code refactoring to facilitate the new changes.
2018-07-30 00:58:27 +03:00
2764028c43
Remove some leftover implicit cast operators.
2018-07-18 23:35:47 +03:00
0918b975a5
Implement stoppable iteration algorithms. Should close #29
2017-08-07 00:22:50 +03:00
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
40c16ca5fc
Make the AutoDelete helper available to modules.
2017-05-25 22:14:51 +03:00
3ce06d8cbc
Minor adjustments to the code and several bug-fixes.
2017-05-05 20:39:25 +03:00
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
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
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
759318d48e
Adjust the Sphere type functions to use the new method of receiving formatted strings.
2016-11-16 16:19:38 +02:00
6522889492
Adjust the GetColor function to use the new method of receiving formatted strings.
2016-11-16 16:19:29 +02:00
e7b4462a68
Adjust the Quaternion type functions to use the new method of receiving formatted strings.
2016-11-16 16:19:13 +02:00
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
3ede9645e3
Adjust the Circle type functions to use the new method of receiving formatted strings.
2016-11-16 16:18:45 +02:00
b9a23d9137
Adjust the AABB type functions to use the new method of receiving formatted strings.
2016-11-16 15:12:19 +02:00
f8e57bf060
Minor code style and consistency adjustments.
2016-11-15 21:55:03 +02:00
f18d4c948a
Implement the pure typename meta-methods in Sphere type using the standard method.
2016-11-15 21:24:39 +02:00
f3a485177b
Implement the pure typename meta-methods in Vector4 type using the standard method.
2016-11-15 21:21:31 +02:00
6860019457
Implement the pure typename meta-methods in Vector3 type using the standard method.
2016-11-15 21:21:19 +02:00
5afe1f8127
Implement the pure typename meta-methods in Vector2i type using the standard method.
2016-11-15 21:21:07 +02:00
b2d003424e
Implement the pure typename meta-methods in Vector2 type using the standard method.
2016-11-15 21:20:55 +02:00
0f2967aa05
Implement the pure typename meta-methods in Quaternion type using the standard method.
2016-11-15 21:20:42 +02:00
b04b7c6d84
Implement the pure typename meta-methods in Color4 type using the standard method.
2016-11-15 21:20:25 +02:00
dcc323202f
Implement the pure typename meta-methods in Color3 type using the standard method.
2016-11-15 21:20:10 +02:00
8d5efe524e
Implement the pure typename meta-methods in Circle type using the standard method.
2016-11-15 21:21:15 +02:00
2cce140e1b
Implement the pure typename meta-methods in AABB type using the standard method.
2016-11-15 21:20:57 +02:00
33f98990df
Initial implementation of the AABB bounding box type.
2016-11-13 08:32:04 +02:00
07caa7eb52
Don't use overloads in the foreach algorithm for simplicity and performance reasons.
2016-10-31 18:34:27 +02:00
0df1582ac6
Implement foreach entity algorithm that accepts a payload to send to the callback.
2016-10-25 16:07:10 +03:00
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
e23e5d0a05
Return null entity instance instead of null object in FindByID algorithm.
2016-09-02 10:02:46 +03:00
d95f3253d4
Move the auto assign helper class to the shared utility header.
2016-08-25 11:54:29 +03:00
fae1e51c7b
Prevent ambiguity errors during compilation caused by the new dispatch system under x64 builds.
2016-08-25 01:01:03 +03:00
a0316092e3
Update the Vector4 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:18:19 +03:00
fd9979453b
Update the Vector2i type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:18:08 +03:00
ee7880d7f4
Update the Vector2 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:18:00 +03:00
1a409b4919
Update the Sphere type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:37 +03:00
1b95fba086
Update the Quaternion type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:29 +03:00
b05b6409b8
Update the Color4 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:18 +03:00
778b6ea59d
Update the Color3 type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:09 +03:00
64ed87f4b4
Update the Circle type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:17:01 +03:00
67e8fa650f
Update the AABB type to use the new dynamic dispatching system for metamethods.
2016-08-24 23:16:53 +03:00
f88f8b9942
Remove leftover commented code from Vector3 registration code.
2016-08-24 23:16:37 +03:00
86fcceb6ce
Update the Routine type to use the new dynamic dispatching system for metamethods.
2016-08-24 22:29:00 +03:00