libretroadmin
24287b1cce
Cleanups/simplifications
2023-08-17 21:58:41 +02:00
libretroadmin
797c7ff381
Some more explicit typecasts to bools
2023-08-16 00:33:59 +02:00
libretroadmin
bdc398d79f
- Safer code - use strlcpy where possible instead of manual character
...
assignments for strings longer than 2 chars
- Use strlcpy concatenation instead of strlcat
- Make sure that what remains of iteration of the '_len' variable
for manual char assignment
is done in a safer way so mistakes are less possible
2023-06-20 16:33:55 +02:00
libretroadmin
0bf3d21538
Reduce some char arrays which are too big
2023-06-19 17:31:50 +02:00
LibretroAdmin
91119d038f
(gfx_display/gfx_animation) Use flags instead of bools ( #14488 )
...
* (gfx_display/gfx_animation) Use flags instead of bools
* (task_save) Use flags instead of bools
2022-10-07 00:10:32 +02:00
reallibretroadmin
0033224c25
Fix some implicit conversion signedness warnings
2022-10-02 03:22:34 +02:00
LibretroAdmin
d969facdb4
C89_BUILD buildfix
2022-08-23 19:23:53 +02:00
LibretroAdmin
c22c69e792
(gfx_animation.c) Simplify build_line_ticker_string
2022-08-23 18:26:49 +02:00
LibretroAdmin
e769436876
(word wrap functions in stdstring.c) Avoid implicit strlens, caller
...
should pass the 'length' to the function instead
2022-08-23 17:06:01 +02:00
LibretroAdmin
e87db6f0a2
utf8cpy already does NULL termination
2022-08-23 07:52:03 +02:00
LibretroAdmin
ba8cc5f381
Cut down on some of the strlcats
2022-08-07 00:28:13 +02:00
libretroadmin
30d38d108a
Cleanups :
...
* Don't NULL terminate string if we pass to strlcpy and/or a file_path
function that uses strlcpy under the hood
* General cleanups in gfx_animation.c
2022-07-23 00:35:57 +02:00
libretroadmin
a547abbbaf
(gfx_animation.c) Cleanups - use float constant values -
...
and get rid of some tertiary operators where unnecessary
2022-07-07 16:56:54 +02:00
libretroadmin
19b2ad56b0
(gfx_animation.c) Cleanups; prevent useless tertiary operators where
...
possible
2022-07-07 10:03:33 +02:00
libretroadmin
6df4ab4982
gfx_animation - use direct multiplication instead of pow when exponent
...
is an integer. Also try to use float values instead of implicit double
values
2022-07-07 09:15:35 +02:00
libretroadmin
b6c9740ba3
Get rid of gfx_timer_t typedef - replace with float
2022-07-06 14:41:15 +02:00
twinaphex
fabdede667
Move anim_get_ptr to gfx_animation.c
2021-09-20 20:17:53 +02:00
toshixm
4fab84ca9e
improve message wrapping with CJK languages
2021-06-03 21:09:35 +09:00
twinaphex
be255ff269
(gfx_animation.c) Simplify some functions
2021-04-22 19:30:20 +02:00
twinaphex
0211e7749e
Simplify gfx_animation_ticker_generic
2021-04-22 18:48:14 +02:00
jdgleaver
95226b77a1
Fix non-smooth text ticker + reduce line ticker code duplication
2021-02-01 16:35:56 +00:00
twinaphex
2299e3b1ab
Silence implicit conversion warnings
2021-01-16 20:33:35 +01:00
twinaphex
991f67a758
gfx_animation - simplify code
2021-01-16 20:15:56 +01:00
twinaphex
0946d06e82
(gfx_animation) Simplify code
2021-01-16 20:13:06 +01:00
twinaphex
5f8c270d4c
Make update_time_callback a part of the animation struct
2020-10-15 08:35:37 +02:00
twinaphex
e8a7195a46
Rename gfx_timer_start to gfx_animation_timer_start
2020-10-14 07:26:24 +02:00
twinaphex
379bd80cda
Get rid of gfx_animation_ctl
2020-10-14 04:40:20 +02:00
twinaphex
fd17661e02
Cleanups
2020-10-14 04:15:42 +02:00
twinaphex
b6039b1638
Cleanups
2020-10-14 04:05:32 +02:00
twinaphex
7c48e77bcd
Get rid of getter functions
2020-10-14 02:33:15 +02:00
twinaphex
ac03578617
Remove some getter functions
2020-10-14 02:24:18 +02:00
twinaphex
992e780407
Get rid of gx_timer_kill
2020-10-14 02:09:39 +02:00
twinaphex
6e09eada2d
Cleanups
2020-10-14 01:02:22 +02:00
twinaphex
8802712ae7
Cleanups
2020-10-14 00:46:38 +02:00
twinaphex
68e56a2345
Add warning to update_time_callback
2020-10-10 17:36:29 +02:00
twinaphex
515e119861
Get rid of gfx_animation_get_delta_time
2020-09-24 06:14:04 +02:00
driver1998
fb00bf8602
gdi: Fix crashing
2020-09-07 10:55:25 +08:00
twinaphex
3b555ab508
(gfx_animation) use string_split_noalloc
2020-08-26 04:12:29 +02:00
twinaphex
eb95757fb2
update_time_callback - Get rid of default callback - just point to NULL
...
instead
2020-08-14 06:39:12 +02:00
twinaphex
c250b94dcf
Move p_anim state to rarch_state
2020-08-14 06:29:13 +02:00
twinaphex
31e50f1221
(gfx_animation) Get rid of some static variables, move struct
...
definitions to header
2020-08-14 05:53:57 +02:00
Bernhard Schelling
48fabb7f88
Simplify gfx_animation by switching from dynarray to RBUF
2020-08-13 05:23:32 +09:00
jdgleaver
ada08e1c6f
'comparison of integer expressions of different signedness' warning fix
2020-08-05 09:55:06 +01:00
twinaphex
bcd743d3c5
Cleanup
2020-08-04 03:32:56 +02:00
twinaphex
ca328662d0
Get rid of forward declaration
2020-08-04 01:37:18 +02:00
twinaphex
021625fd4a
Revert "Move static functions to top of files"
...
This reverts commit 02b542e2a5
.
2020-06-26 18:40:26 +02:00
twinaphex
02b542e2a5
Move static functions to top of files
2020-06-26 18:15:38 +02:00
jdgleaver
9bbc9dd30e
(Widgets) Fix serious heap-use-after-free errors
2020-06-10 12:32:50 +01:00
twinaphex
52050739a1
Cleanups
2020-06-08 23:13:29 +02:00
twinaphex
9707f1f622
Get rid of gfx_ctx_animation_tag
2020-06-08 04:09:12 +02:00