Sebastian Krzyszkowiak
|
91180024a1
|
add CopyCharacter util function
|
2018-11-27 04:43:58 +01:00 |
|
Sebastian Krzyszkowiak
|
9ecd29a7c3
|
include allegro_color and platform specific headers already in libsuperderpy.h, clean up
|
2018-11-26 01:40:19 +01:00 |
|
Sebastian Krzyszkowiak
|
de46cff0a4
|
character: add an ability to tint subcharacters by their parent's color
|
2018-11-25 05:00:42 +01:00 |
|
Sebastian Krzyszkowiak
|
63f7ae39b9
|
character: support custom frame duration
|
2018-11-25 04:49:26 +01:00 |
|
Sebastian Krzyszkowiak
|
a74aa55409
|
character: allow creating characters with NULL name
Useful for shared characters that are going to be swapped between
their archetypes.
|
2018-11-25 04:17:00 +01:00 |
|
Sebastian Krzyszkowiak
|
a7d2ed55c0
|
character: don't log destroying shared characters
Usually leads to too much noise for no value.
|
2018-11-25 04:09:41 +01:00 |
|
Sebastian Krzyszkowiak
|
d20b81d104
|
update clang-tidy diagnostics
|
2018-10-10 21:37:54 +02:00 |
|
Sebastian Krzyszkowiak
|
b3a9186c6a
|
character: don't include frame offset in character's transform
Fixes handling of subcharacters.
|
2018-08-05 04:27:26 +02:00 |
|
Sebastian Krzyszkowiak
|
0c5fee3cbb
|
character: apply spritesheet offset after scaling and rotating
I'm not 100% sure yet, but I think this makes more sense.
|
2018-08-04 03:21:55 +02:00 |
|
Sebastian Krzyszkowiak
|
341aa1d823
|
character: add ability to specify per-frame color tint
|
2018-08-03 05:26:28 +02:00 |
|
Sebastian Krzyszkowiak
|
093a808dc2
|
character: reuse already loaded bitmaps
|
2018-08-03 05:02:44 +02:00 |
|
Sebastian Krzyszkowiak
|
b60bcfda54
|
character: support sub-characters (characters positioned relatively to parent character)
|
2018-08-02 23:32:03 +02:00 |
|
Sebastian Krzyszkowiak
|
c337e3435f
|
character: add ability to specify spritesheet wide pixel offset
|
2018-07-29 00:41:14 +02:00 |
|
Sebastian Krzyszkowiak
|
49628de381
|
LoadSpritesheets: call progress function after each spritesheet
|
2018-07-05 19:38:31 +02:00 |
|
Sebastian Krzyszkowiak
|
ab8dc0f143
|
character: fix predecessor memory leak
|
2018-07-05 16:57:03 +02:00 |
|
Sebastian Krzyszkowiak
|
ce965a2643
|
character: add ability to set character destructor to free custom data
|
2018-07-05 16:43:13 +02:00 |
|
Sebastian Krzyszkowiak
|
dcf1375e6f
|
LoadSpritesheets: decrease the verboseness of logs in non-debug mode
|
2018-07-05 01:03:45 +02:00 |
|
Sebastian Krzyszkowiak
|
a29c7b4d2c
|
fix clang-tidy issues
|
2018-07-04 19:08:39 +02:00 |
|
Sebastian Krzyszkowiak
|
4d5fdcffbb
|
character: add more logging on spritesheet loading
|
2018-07-04 06:55:48 +02:00 |
|
Sebastian Krzyszkowiak
|
88ea60dd7b
|
add missing symbol exports for ShowCharacter and HideCharacter
Fixes MinGW
|
2018-07-04 06:55:12 +02:00 |
|
Sebastian Krzyszkowiak
|
81488f9390
|
character: rework IsOnCharacter to work properly regardless of pivot, rotation and scale
|
2018-06-04 19:10:29 +02:00 |
|
Sebastian Krzyszkowiak
|
897aa8b52f
|
character: honor x/y values from frames when calculating animation size
|
2018-06-03 03:39:11 +02:00 |
|
Sebastian Krzyszkowiak
|
b0d2c59596
|
add SwitchSpritesheet
|
2018-04-26 14:34:00 +02:00 |
|
Sebastian Krzyszkowiak
|
34a36c2038
|
DrawCenteredScaled
|
2018-04-24 05:01:59 +02:00 |
|
Sebastian Krzyszkowiak
|
08d2e544b7
|
character: read width/height values from ini file
|
2018-04-18 23:13:31 +02:00 |
|
Sebastian Krzyszkowiak
|
60b960ab2c
|
character: use Spritesheet structs instead of strings with names in callbacks
|
2018-04-15 23:00:53 +02:00 |
|
Sebastian Krzyszkowiak
|
c77c91e570
|
character: add GetSpritesheet for getting struct by name
|
2018-04-15 23:00:17 +02:00 |
|
Sebastian Krzyszkowiak
|
c9efd7afe2
|
character: don't animate hidden characters
|
2018-04-15 22:59:42 +02:00 |
|
Sebastian Krzyszkowiak
|
c3adf398b1
|
character: support non-repeating animations (stopping at the last frame)
|
2018-04-13 03:00:54 +02:00 |
|
Sebastian Krzyszkowiak
|
4240b47380
|
DestroyCharacter: print to console when the destroyed character is shared
|
2018-04-10 14:05:03 +02:00 |
|
Sebastian Krzyszkowiak
|
d017956442
|
IsOnCharacter: support flipped characters
|
2018-04-10 05:18:29 +02:00 |
|
Sebastian Krzyszkowiak
|
88b4399cae
|
character: fix character placement and flipping when drawing
|
2018-04-08 01:35:31 +02:00 |
|
Sebastian Krzyszkowiak
|
7f420f62ad
|
Fixes for spritesheet handling
|
2018-04-08 01:34:06 +02:00 |
|
Sebastian Krzyszkowiak
|
df536baa32
|
character: save transform to character struct for easier handling by auxiliary helpers
|
2018-03-21 02:15:34 +01:00 |
|
Sebastian Krzyszkowiak
|
d88162cab4
|
spritesheets: support for predecessors and reversed animations
|
2018-03-21 02:05:22 +01:00 |
|
Sebastian Krzyszkowiak
|
b31d093e8c
|
New spritesheets
|
2018-03-20 21:39:37 +01:00 |
|
Sebastian Krzyszkowiak
|
c85381644c
|
rumina hacks 3
|
2018-03-15 00:46:52 +01:00 |
|
Sebastian Krzyszkowiak
|
aa1f7f3ab9
|
General Characters refactor
|
2018-03-15 00:42:24 +01:00 |
|
Sebastian Krzyszkowiak
|
f0417b09f6
|
rumina hacks 2
|
2018-03-15 00:42:24 +01:00 |
|
Sebastian Krzyszkowiak
|
ae70770f77
|
rumina hacks
|
2018-03-15 00:42:24 +01:00 |
|
Sebastian Krzyszkowiak
|
749bb1ef50
|
character: add ability to set the size of the confines
Useful when the size of the canvas being drawn to is different
than the size of the viewport (default confine).
|
2018-02-03 03:17:36 +01:00 |
|
Sebastian Krzyszkowiak
|
c34c13739d
|
add SetCharacterPivotPoint function
|
2017-09-15 23:44:44 +02:00 |
|
Sebastian Krzyszkowiak
|
bf4aa069a4
|
don't use empty initializers (it's a GNU extension)
|
2017-09-10 22:07:02 +02:00 |
|
Sebastian Krzyszkowiak
|
2b1248ce14
|
clang-tidy support; clang-tidy and clang-format fixes
|
2017-09-10 21:35:14 +02:00 |
|
Sebastian Krzyszkowiak
|
417d34ef1a
|
fix stuff reported by static analyzer
|
2017-08-16 01:47:07 +02:00 |
|
Sebastian Krzyszkowiak
|
e9bd4eefa5
|
update license to GPLv3+
|
2017-07-22 18:22:28 +02:00 |
|
Sebastian Krzyszkowiak
|
e873e96194
|
fix compiler warning
|
2017-03-07 01:00:27 +01:00 |
|
Sebastian Krzyszkowiak
|
31f173f2a8
|
character: add support for repeating animation with successor
plus update README
|
2017-03-04 19:54:48 +01:00 |
|
Sebastian Krzyszkowiak
|
ca2f26e9ff
|
add DrawScaledCharacter(F)
|
2016-12-06 02:54:31 +01:00 |
|
Sebastian Krzyszkowiak
|
f7362d3d74
|
added DrawWrappedText, some clean up
|
2016-09-08 00:32:57 +02:00 |
|