120 Commits

Author SHA1 Message Date
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
Stephen Gowen
be2dfc7ff4 wip 2017-12-03 21:32:44 -05:00
Stephen Gowen
0b28d385db NEW macro calls CALLOC macro 2017-12-03 19:49:05 -05:00
Stephen Gowen
1f415cec9f Forgot some setError calls and cleanup 2017-12-03 16:40:04 -05:00
Stephen Gowen
2b2b34db00 Okay, SkeletonBinary is done. 2017-12-03 16:16:02 -05:00
Stephen Gowen
8f28ae1c2d Almost done with SkeletonBinary 2017-12-03 13:15:57 -05:00
Stephen Gowen
b78b0171ec Placing TextureLoader class into its own file. 2017-12-02 19:06:28 -05:00
Stephen Gowen
f7486ef9f8 Chugging through porting SkeletonBinary
After that, will port over SkeletonJson and Json
2017-12-02 18:16:58 -05:00
Stephen Gowen
9e0ac4d407 Addressing some warnings. 2017-12-02 14:48:35 -05:00
Stephen Gowen
3fc2f08ff6 Okay, AnimationState is done, on to SkeletonJson and SkeletonBinary 2017-12-02 14:46:48 -05:00
Stephen Gowen
af43d7cff1 Defining SpineExtension class that can be overridden to provide memory allocation and file reading 2017-11-30 20:32:58 -05:00
Stephen Gowen
0ca6803030 wip 2017-11-30 11:11:15 -05:00
Stephen Gowen
9bed800466 wip, just gotta implement the AnimationState class itself now. 2017-11-29 18:30:22 -05:00
Stephen Gowen
d5c47a709a wip 2017-11-28 19:30:27 -05:00
Stephen Gowen
1449af5864 Removing unused Vector constructor 2017-11-28 10:54:19 -05:00
Stephen Gowen
1361203f1c wip 2017-11-26 18:25:56 -05:00
Stephen Gowen
3e94e53a4c Adding spine-cpp-unit-tests dir 2017-11-26 12:06:41 -05:00
Stephen Gowen
676b67b606 Adding in the final files, just gotta implement them.
And then of course, once these final 4 classes are implemented, I’ll
have to write  the Unit Tests, which I’ll more or less just copy from
spine-c
2017-11-26 11:58:07 -05:00
Stephen Gowen
3038a90cc5 Timelines are done. 2017-11-26 11:46:06 -05:00
Stephen Gowen
8b53400425 wip 2017-11-25 17:47:43 -05:00