23 Commits

Author SHA1 Message Date
badlogic
b7ae63f743 Fixed crashes on MSVC. 2018-05-24 14:31:26 +02:00
badlogic
bd665df1d3 [cpp] Cleaned up API. 2018-03-05 16:58:12 +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
7a18b81226 [cpp] Added toString method for SpineObjects, fixed up math, fixed up IKConstraint. 2018-02-23 15:45:45 +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
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
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
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
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
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
b78b0171ec Placing TextureLoader class into its own file. 2017-12-02 19:06:28 -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
11acfef705 fixing compile error 2017-11-24 20:50:16 -05:00
Stephen Gowen
107c18e237 Closer still.
So here is what I have left:

1. Implement the Timeline classes (from Animation)
2. Implement AnimationState
3. Implement SkeletonJson
4. Implement SkeletonBinary

Seems like a lot, but most of the file IO stuff is going to get more or
less ripped directly from the C runtime, so I’m actually pretty close I
think!
2017-11-24 18:13:14 -05:00
Stephen Gowen
91225fe9e3 Getting there! 2017-11-23 19:21:04 -05:00
Stephen Gowen
949eb15944 wip 2017-11-15 19:07:09 -05:00