Commit Graph

16 Commits

Author SHA1 Message Date
fa68e128e2 Draw: Window always on top 2024-10-09 01:55:32 +02:00
fd354add56 Draw: Process DrawImage changes. 2024-10-07 02:47:03 +02:00
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
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
7aeafd4f32 Ne methods Draw_ShowCursor and Input_GetPointerDown 2021-04-27 01:14:36 +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