345 Commits

Author SHA1 Message Date
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
Stephen Gowen
19687d9957 wip, forgot about SkeletonBounds and SkeletonClipping 2017-11-25 15:09:37 -05:00
Stephen Gowen
5411125c93 wip, these timeline classes are all pretty much the same, so this is going pretty quickly. 2017-11-25 14:04:49 -05:00
Stephen Gowen
24a3811049 NDK compiler was fussing about the location of the #include <spine/Extension.h> line; needs to be first. 2017-11-25 12:53:49 -05:00
Stephen Gowen
6b585ae151 blah 2017-11-25 12:44:57 -05:00
Stephen Gowen
dfa1c2eceb Getting some boiler plate out of the way. 2017-11-25 12:29:10 -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
b02c2aaaa4 wip 2017-11-24 17:34:14 -05:00
Stephen Gowen
91225fe9e3 Getting there! 2017-11-23 19:21:04 -05:00
Stephen Gowen
5bba269f13 Changing RTTI to SPINE_RTTI and RTTI.h/cpp to SpineRTTI.h/cpp 2017-11-19 19:01:30 -05:00
Stephen Gowen
c4b7df2c2c The power of commenting stuff out! 2017-11-16 14:02:39 -05:00
Stephen Gowen
949eb15944 wip 2017-11-15 19:07:09 -05:00
Stephen Gowen
0b6c8411b7 wip 2017-11-14 20:15:56 -05:00
Stephen Gowen
bfbb48c1c2 Adding Pool class to be used inside the Triangulator 2017-11-13 17:55:36 -05:00
Stephen Gowen
cd8d950117 Fixing some mistakes in HashMap 2017-11-13 17:02:15 -05:00
Stephen Gowen
9c1f7ff9bf Fixing a flaw I found in Vector copy constructor
_buffer wasn’t being initialized if the incoming vector had a zero size
2017-11-13 16:07:42 -05:00
Stephen Gowen
d80a00ead6 wip 2017-11-12 17:27:09 -05:00
Stephen Gowen
175365a039 wip 2017-11-12 11:21:25 -05:00
Stephen Gowen
2a00853fe2 Forgot some cpp flags
-fno-exceptions -fno-rtti
2017-11-09 12:19:03 -05:00
Stephen Gowen
7983a6e743 Adding CMakeLists.txt and fixing some compiler warnings 2017-11-09 12:01:17 -05:00
Stephen Gowen
e91a12cff1 wip 2017-11-09 11:04:29 -05:00
Stephen Gowen
c20f4a5c79 Forgot to add #include <stdlib.h> 2017-11-08 17:20:30 -05:00
Stephen Gowen
818d580531 Whoops, apparently I do not know how to use swap 2017-11-07 17:01:54 -05:00
Stephen Gowen
a3172ec584 Use swap instead of move (std::move was introduced in C++11) 2017-11-07 16:08:16 -05:00
Stephen Gowen
7c2b6b8271 wip 2017-11-06 16:54:39 -05:00