339 Commits

Author SHA1 Message Date
badlogic
6c29e8c2e9 [cpp] Fixed up Skin and internal hashmap like structure. 2018-04-18 14:25:56 +02:00
badlogic
bceee601ad [cpp] Fixed memory allocations at runtime. 2018-04-17 12:30:35 +02:00
badlogic
bd9c33e046 [cpp] Fixed atlas page texture filter parsing. 2018-03-28 14:18:39 +02:00
badlogic
9651e0bc53 [c][cpp] Port fix to AnimationState, see #1092 2018-03-28 14:09:14 +02:00
badlogic
b40eb593c9 [cpp] Cleaned up parsing of dark slot colors. See #1090 2018-03-27 11:54:53 +02:00
badlogic
bd665df1d3 [cpp] Cleaned up API. 2018-03-05 16:58:12 +01:00
badlogic
e4a029e1a7 [cpp] Added VertexEffect. 2018-03-05 16:08:17 +01:00
badlogic
9ceec41432 [cpp] Removed toString, fixed up remaining memory leaks in clipping and animation state code. 2018-03-05 14:32:09 +01:00
badlogic
9cdf4c69ed [cpp] Formatting & cleanup 2018-02-28 15:49:30 +01:00
badlogic
99d3e15a18 [cpp] Fixed all the things by calloc'ing instead of allocing... 2018-02-26 16:34:43 +01:00
badlogic
62ef2ba370 [cpp] Fixed up Triangulator and AnimationState. 2018-02-23 16:24:35 +01:00
badlogic
d631b252be [cpp] Fixed up Bone and MathUtil. 2018-02-23 16:15:25 +01:00
badlogic
7a18b81226 [cpp] Added toString method for SpineObjects, fixed up math, fixed up IKConstraint. 2018-02-23 15:45:45 +01:00
badlogic
425b2936d1 [cpp] Fixed SkeletonJson deform timeline parsing. Fxied leak in EventQueue. 2018-02-22 17:13:45 +01:00
badlogic
6e8f0eaa27 [cpp] More SkeletonBinary fixes. 2018-02-22 17:02:59 +01:00
badlogic
53fe61db06 [cpp] More fixes to SkeletonBinary 2018-02-22 16:13:16 +01:00
badlogic
a8fd3e14be [cpp] Fixed up binary reader, added debug extension for memory profiling, fixed up RTTI usage, fixed update cache sorting. 2018-02-22 15:31:28 +01:00
badlogic
2d41846b1f [cpp] Refactored hash map, it's really a linked list for simplicity 2018-02-22 13:27:37 +01:00
badlogic
ed7dc4ea93 [cpp] Added preliminary SFML backend, fixed up a few APIs. 2018-02-21 17:52:56 +01:00
badlogic
6d243eca48 [cpp] Removed Vector.begin/end, fixed up vector assignments. 2018-02-21 16:08:41 +01:00
badlogic
3cf3312180 [cpp] Fixed up Pool to not be dumb, added more stats to test harness. 2018-02-21 15:38:26 +01:00
badlogic
4234b17ffa [cpp] Removed // Empty 2018-02-21 15:29:57 +01:00
badlogic
5af3d93403 [cpp] Added Color, fixed up incorrect use of ensureCapacity/setSize of Vector. Fixed bugs in SkeletonBinary. 2018-02-21 15:23:35 +01:00
badlogic
1c21542148 [cpp] Replaced usages of math.h with MathUtil. 2018-02-20 15:32:31 +01:00
badlogic
bef01b8e89 [cpp] Refactored String and Vector. 2018-02-20 15:10:40 +01:00
badlogic
a8af3fa07e [cpp] First Clang-Tidy run. 2018-02-16 17:36:07 +01:00
badlogic
895407b69d [cpp] Replaced all usages of std::string (except in RTTI) with custom String. Fixed a bunch of unnecessary copies/pass by values. 2018-02-16 16:51:55 +01:00
badlogic
4a9446ed83 [cpp] Fixing up SkeletonBinary. 2018-02-16 11:42:25 +01:00
badlogic
11d0a47360 [cpp] Fixed up memory issues & crashes. HashMap is a linked list atm, need a better replacement. 2018-02-15 18:45:24 +01:00
badlogic
e7e240d109 [cpp] Crashes and leaks everywhere :D 2018-02-14 16:49:55 +01:00
badlogic
3254747e94 [c++] Removed old test harness, added new one, added leak detector, fixed new operator overloads, Vector doesn't copy on insert etc. See #1073 2018-02-13 17:31:29 +01:00
badlogic
6f6db39f64 [cpp] Added spine.h 2018-02-06 14:13:40 +01:00
badlogic
7180f17af2 [cpp] All Spine objects derrive from SpineObject so we can override new/delete, which in turn calls SpineExtension allocation methods (not implemented yet). Refactored SpineExtension, removing use of macros, introducing use of templated static methods for more comfort. Rewired all allocation code throughout the runtime. See #1046. 2018-02-01 17:40:55 +01:00
Stephen Gowen
162cbeec72 Porting over recent change from AnimationState.c to AnimationState.cpp 2018-01-16 09:50:31 -05:00
Stephen Gowen
c39f4547f7 Bringing over recent changes to spine-c 2017-12-14 11:29:33 -05:00
Stephen Gowen
d403db2754 Forgot to move the namespace braces. 2017-12-13 12:08:23 -05:00
Stephen Gowen
64fd7c2886 Moving Braces to Same Line 2017-12-12 10:51:11 -05:00
Stephen Gowen
c7ae6d23b1 Fixing a bug in Pool class. 2017-12-09 15:09:36 -05:00
Stephen Gowen
89ad68c27a Failed to build on Ubuntu until I added these cstring includes.
Xcode and Visual Studio are building fine though!
2017-12-08 16:20:21 -05:00
Stephen Gowen
dfd5409922 Improving Time Elapsed logic 2017-12-08 14:51:24 -05:00
Stephen Gowen
e24b061c61 Yay, now the C++ Runtime passes all the same tests as the C Runtime! 2017-12-08 14:15:30 -05:00
Stephen Gowen
c1995586aa README tweaks 2017-12-07 14:22:33 -05:00
Stephen Gowen
a0ad9d8c57 Okay, got copying and relative paths set up 2017-12-07 14:06:13 -05:00
Stephen Gowen
ec7ed94525 Got Unit Tests working, but I don't have the fixtures quite configured correctly. 2017-12-07 13:54:41 -05:00
Stephen Gowen
1e6d8b793a Wip unit tests 2017-12-07 03:23:40 -05:00
Stephen Gowen
a6f0c88994 Wip unit tests, trying to simply port the C ones to CPP, can it be that simple? 2017-12-06 20:11:10 -05:00
Stephen Gowen
7b32f02e2c Done. 2017-12-06 19:00:42 -05:00
Stephen Gowen
e20382a304 Now I understand the origin of this deform2 and awkward memset function, haha 2017-12-06 17:30:48 -05:00
Stephen Gowen
52e04508f6 Almost Done! 2017-12-05 17:44:30 -05:00
Stephen Gowen
517c48a2d5 So close! 2017-12-04 17:37:31 -05:00