30439310f6
Draw: Add method Draw_DrawCircle.
...
* Add auxiliar methods `Draw_SetPixel` and `Draw_AddPixel`.
* Refactor `Draw_DrawBoxFilled` and `Draw_DrawBox`, to use previous methods.
* Implement `Draw_DrawCircle` using naïve implementation, with `sqrt`.
2024-10-07 02:47:03 +02:00
ec923e9ccb
Draw: Add const parameters and variables.
2024-10-07 02:47:03 +02:00
86231817f4
Draw_CreateImage: Set correct center.
2024-10-07 02:47:03 +02:00
ef2ab33824
Draw: Add Draw_DrawBox and Draw_DrawBoxFilled.
2024-10-07 02:47:03 +02:00
6114e885d0
Draw: Add type ColorRgba and use uint8_t instead of unsigned char.
2024-10-07 02:47:03 +02:00
617e0e54f1
Code formatting
2024-10-06 14:36:43 +02:00
9e8f123abb
Fix warnings
2023-10-02 04:39:32 +02:00
584b0cffc5
Reformat code
2023-09-24 21:15:57 +02:00
e6e1845743
Use OpenGLES on Linux by default.
...
* Add error checking on shader compilation.
* Use 2 versions of fragmentShader for GLSL 1.0 and GLSL 2.0 or later.
2023-09-24 20:58:23 +02:00
b55b9b3138
Fixes for Emscripten+SDL2
2022-04-04 04:29:06 +02:00
48583e0b08
Port to SDL2
2022-04-04 02:36:36 +02:00
80ae97041c
WIP
2022-01-03 18:44:40 +01:00
d9d5e3a351
Entity: Keep alpha after ilumination
2021-10-03 20:44:54 +02:00
bdfef59084
GameLib: Sort entitites horizontally
2021-10-03 20:44:23 +02:00
e63924eb70
Util: Rect structure
2021-10-03 14:18:17 +02:00
354521ec51
Utils: CosineInterpolation
2021-10-03 13:58:20 +02:00
9a1a23c73d
Entity: Add E variable
2021-10-02 20:24:44 +02:00
c611da0fd1
GameLib_SetPosOffset
2021-10-02 20:01:34 +02:00
a78a835210
Audio.c: Reorder includes
2021-10-02 15:08:25 +02:00
5d185aa480
New method Input_GetKeyDir, to get direction with only the keys.
2021-05-02 05:01:43 +02:00
7aeafd4f32
Ne methods Draw_ShowCursor and Input_GetPointerDown
2021-04-27 01:14:36 +02:00
7482cb6868
Rand_GetBetween
2021-04-26 23:54:56 +02:00
80a15daa86
Entity: Fix value0 reseting on Process
2021-04-26 17:10:39 +02:00
6f7a850404
Rename Time.* to TimeUtils.*
2021-04-26 03:42:06 +02:00
4e62dbd35e
Code formating
2021-04-25 08:34:12 +02:00
8349b60b34
Separate example game to Example.GameLib.
2020-04-20 03:11:23 +02:00