Sandu Liviu Catalin
18f5f90a47
Implement case insensitive search in algorithms.
2016-07-26 23:08:27 +03:00
Sandu Liviu Catalin
48485981f0
Improve Circle method names to be more consistent with the rest of the basic types.
2016-07-25 00:32:35 +03:00
Sandu Liviu Catalin
d30e1210ac
Improve the Vector4 registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-25 00:28:37 +03:00
Sandu Liviu Catalin
2857e0e4be
Improve the Vector3 registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-25 00:10:46 +03:00
Sandu Liviu Catalin
76bef3d87c
Improve Color4 method names to be more consistent with the rest of the basic types.
2016-07-25 00:10:26 +03:00
Sandu Liviu Catalin
c8d2e9249a
Improve Color3 method names to be more consistent with the rest of the basic types.
2016-07-25 00:10:17 +03:00
Sandu Liviu Catalin
484923790a
Update Circle to comply with the changes made to Vector2.
2016-07-25 00:09:31 +03:00
Sandu Liviu Catalin
aa65c79926
Improve the Vector2i registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-25 00:09:05 +03:00
Sandu Liviu Catalin
a695690ec7
Improve the Vector2 registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-25 00:08:53 +03:00
Sandu Liviu Catalin
c8685919de
Improve the Sphere registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-25 00:08:37 +03:00
Sandu Liviu Catalin
13ddc704d6
Improve the Quaternion registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-25 00:08:28 +03:00
Sandu Liviu Catalin
274ce72a4b
Improve the AABB registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-24 23:18:27 +03:00
Sandu Liviu Catalin
3cea68bdca
Improve the Color4 registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-24 23:18:12 +03:00
Sandu Liviu Catalin
03312b7340
Improve the Color3 registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-24 23:17:56 +03:00
Sandu Liviu Catalin
5502c7f8c7
Improve the Circle registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-24 23:17:47 +03:00
Sandu Liviu Catalin
38e5761b94
Improve the AABB registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-24 21:58:34 +03:00
Sandu Liviu Catalin
ad1955dbdd
Add static functions to access and modify string delimiter for bas types since static properties are read only.
2016-07-24 21:29:37 +03:00
Sandu Liviu Catalin
67e2ba9107
Implement both the uppercase and lowercase versions of properties for base types.
2016-07-17 15:39:59 +03:00
Sandu Liviu Catalin
c5d3235aec
Add algorithms to count entities with certain aspects.
2016-07-17 13:33:42 +03:00
Sandu Liviu Catalin
26f5c495f5
Explicitly make sure that collectors in entity search algorithms are sent by reference instead of by copy. Should close #16
...
Invert the negate parameter to comply with how the algorithms work and what the negare argument is supposed to do.
Few other minor additions or adjustments.
2016-07-14 23:34:52 +03:00
Sandu Liviu Catalin
6975572bfe
Fix incorrect placement of functions used to find players by name.
2016-07-10 23:29:45 +03:00
Sandu Liviu Catalin
a06efdafc5
Improve the Clamp functions to accept any type of value for all parameters.
...
Implement common functions to work with date and time types and avoid duplicate code.
Remove unnecessary functions used to retrieve the valie in long integer instances.
Various other fixes and name adjustments.
2016-07-09 21:21:07 +03:00
Sandu Liviu Catalin
e0fd5fa214
Implement pointer stealing for the auto-deleter utility.
2016-07-03 03:20:23 +03:00
Sandu Liviu Catalin
875ea33022
Fix negation inf entity searching algorithms.
2016-06-21 17:56:58 +03:00
Sandu Liviu Catalin
cb82a98bf6
Fix incorrect size check in entity search algorithms.
2016-06-21 17:44:21 +03:00
Sandu Liviu Catalin
40e024e72d
Further improvements of the entity searching algorithms.
2016-06-21 17:25:43 +03:00
Sandu Liviu Catalin
66e604cec7
Add back some of the entity search functions.
2016-06-21 16:15:25 +03:00
Sandu Liviu Catalin
284e1be3f7
Improved the entity searching algorithms by removing duplicate code.
2016-06-21 16:04:21 +03:00
Sandu Liviu Catalin
29af51c518
Improve entity searching algorithms.
2016-06-21 15:17:08 +03:00
Sandu Liviu Catalin
1d12ddd60d
Improve searching for active entities. Also fix a possible crash because the entity instance pushed on the stack was appending to itself instead of the array.
2016-06-21 09:02:44 +03:00
Sandu Liviu Catalin
29abf2e9c0
Add a helper class that implements RAII to delete an instance of not explicitly released.
2016-06-20 18:01:42 +03:00
Sandu Liviu Catalin
b59710ddeb
Prepare the script container for the revised script loading system.
2016-06-18 20:29:28 +03:00
Sandu Liviu Catalin
fe70560234
Add a helper function to obtain the last system error as a string and throw it.
2016-06-18 20:27:23 +03:00
Sandu Liviu Catalin
2242ac9394
Make constructor public in script container.
...
Throw exception if trying to create script container with invalid VM.
2016-06-17 03:26:29 +03:00
Sandu Liviu Catalin
2b6fdcd855
Implement utility to hold script contents for debugging purposes.
2016-06-17 03:15:02 +03:00
Sandu Liviu Catalin
4327eaf72c
Add helper functions to pack colors into integers.
...
This removes the need to create an instance of the Color3 or Color4 classes just to obtain a packed color integer.
2016-06-14 02:18:37 +03:00
Sandu Liviu Catalin
a1af9af0d7
Fix wrong includes left over by the merge of numeric libraries.
2016-06-05 04:15:23 +03:00
Sandu Liviu Catalin
d42040c9c0
Merge the Random and Math libraries into the Numeric library and organize code a bit.
2016-06-05 00:00:59 +03:00
Sandu Liviu Catalin
0c92601362
Update the module API and merge shared code between modules and host plugin.
2016-06-03 21:26:19 +03:00
Sandu Liviu Catalin
7ee5fe2f0c
Remove the {fmt} library from the project. Too many compilation issues with it.
2016-05-25 22:47:55 +03:00
Sandu Liviu Catalin
45c5f1129e
Get rid of type aliasing warning.
2016-05-24 05:39:54 +03:00
Sandu Liviu Catalin
82c3fa4439
Update the {fmt} library to fix the colision with C string.h header.
2016-05-23 22:42:49 +03:00
Sandu Liviu Catalin
f2361a27c3
Untested update to the new plugin API.
...
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00
Sandu Liviu Catalin
acdf9300b6
Update the type conversion utility to include more types and be more flexible.
2016-04-20 09:23:18 +03:00
Sandu Liviu Catalin
b818a162ee
Initial implementation of the standard math library.
...
Implemented utilities to convert between fundamental types.
Implemented helper functions to retrieve numeric values from the stack at all costs.
Implemented various delegates on the long integer types to mimic the standard types.
Moved most of the stack utilities in a separate source.
Various other fixes and improvements.
2016-04-14 03:08:06 +03:00
Sandu Liviu Catalin
159e2f5929
Fix a posible buffer overflow from the previous commit.
2016-04-03 21:27:57 +03:00
Sandu Liviu Catalin
ef27cf3c5f
Update the SToB function to convert the string to lowercase first and then perform the comparison.
2016-04-03 21:26:58 +03:00
Sandu Liviu Catalin
ab3edcfe4d
Remove functions that check character class from the shared code.
...
Expose the remaining floating point comparison functions.
2016-04-03 21:09:08 +03:00
Sandu Liviu Catalin
dfacd2c86c
Reverse the order of the VM and stack top in stack guard.
2016-04-02 12:32:39 +03:00
Sandu Liviu Catalin
eed7b70374
Helper classes to used CType functions as predicate in algorithms.
2016-03-29 05:39:17 +03:00