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
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