1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
Commit Graph

88 Commits

Author SHA1 Message Date
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
Sandu Liviu Catalin
4a2b9d5400 Add methods to the Vector3 type to calculate interpolation. 2016-08-04 03:40:01 +03:00
Sandu Liviu Catalin
26c0bc4872 Add methods to the Vector3 type to calculate the angle and check if between two points. 2016-08-04 03:38:54 +03:00
Sandu Liviu Catalin
cb819d417b Add methods to the Vector3 type to calculate the dot and cross product. 2016-08-04 03:37:26 +03:00
Sandu Liviu Catalin
18d0fedb91 Add methods to the Vector3 type to calculate the distance to another point. 2016-08-04 03:35:27 +03:00
Sandu Liviu Catalin
2d726420e0 Add methods/properties to the Vector3 type to retrieve the length and normalize it. 2016-08-04 03:34:16 +03:00
Sandu Liviu Catalin
6e7c14eafb Implement Quaternion to Euler conversion as a member method to Vector3 type. 2016-08-04 03:30:19 +03:00
Sandu Liviu Catalin
624606e482 Add a few more helper members to the Vector3 type. 2016-08-04 03:21:43 +03:00
Sandu Liviu Catalin
9fcbf54893 Add IDENTITY helper to the quaternion. 2016-08-04 03:09:43 +03:00
Sandu Liviu Catalin
9c4198770d Add hepter variables and typedefs to the shared basic header. 2016-08-04 03:08:59 +03:00
Sandu Liviu Catalin
d4f39e636e Fix the inequality operator in basic types. 2016-07-29 18:00:10 +03:00
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