Commit Graph

148 Commits

Author SHA1 Message Date
584b0cffc5 Reformat code 2023-09-24 21:15:57 +02:00
456b873de0 Update Example.Game CMakeLists.txt for better relocatability. 2023-09-24 21:14:52 +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
865ce5bcc5 CLion config 2023-09-23 23:47:36 +02:00
3c5f3989a6 Fix build 2023-09-22 15:46:31 +02:00
5d9ee0dd07 Remove old Makefiles 2023-04-09 04:24:39 +02:00
b3f9c31943 Configure CMake for building WASM using Emscripten 2022-08-04 02:14:22 +02:00
1cc2b62448 CLion configuration 2022-07-31 17:15:20 +02:00
52934e286b CMake build configuration 2022-07-31 16:32:16 +02:00
633adb50ae Rename Makefile to Makefile.old 2022-07-31 13:46:16 +02:00
c77e90ab76 Adjust build for Linux 2022-04-04 18:17:32 +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
7e94c5053d Fix vscode settings 2022-04-03 17:20:04 +02:00
80ae97041c WIP 2022-01-03 18:44:40 +01:00
0280017bef Fix Makefile.emscripten.mk 2021-10-05 01:27:20 +02: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
36c95e5273 GameEnt: Change casing of entities methods 2021-10-02 20:03:06 +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
0e51f87efc VSCode config 2021-10-02 15:08:10 +02:00
61545e0455 index.html: Hide mouse 2021-05-02 05:04:36 +02:00
a9abfaa1a2 Apply formating to index.html 2021-05-02 05:03:51 +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
820f11e769 Fix Makefiles 2021-04-24 15:51:55 +02:00
e968ba084f Fix VSC settings. 2021-04-18 21:56:54 +02:00
61368825a4 Add suport for macosx 2021-04-17 20:18:00 +02:00
d848bc1a8b Fix VSCode config 2021-04-17 20:17:27 +02:00
8349b60b34 Separate example game to Example.GameLib. 2020-04-20 03:11:23 +02:00
08068a825b Fix Makefile 2020-04-19 22:12:02 +02:00
c62ab4019f Add support for MacOSX 2020-03-06 03:27:15 +01:00
17c892a234 GameEnts: Convert enumerator to defines. 2020-03-06 03:26:41 +01:00
22d9d9feb9 Fix support for Emscripten 2020-03-06 19:04:12 +01:00
5e9bbf0069 Fix sample game main.c 2020-03-06 19:03:18 +01:00
7183f9c40e Fix sample method "player_postproc" definition. 2019-01-28 16:24:53 +01:00
022397ffcb Add elastic animations to player on test game. 2018-12-02 17:50:43 +01:00
41a904a712 Input: Add WASD controls. 2018-12-02 17:49:44 +01:00
ea28c378a4 Entity_GetScale 2018-12-02 17:48:25 +01:00
ae2c092add Fix WIN32 console initialization. 2018-12-01 18:35:01 +01:00
01e02ffa9b Update VSCode configuration. 2018-12-01 11:46:15 +01:00
ab200e42bb Code formating on Draw.c 2018-04-22 23:12:45 +02:00