Commit Graph

38 Commits

Author SHA1 Message Date
Captain4LK 9dd7bfb7b9 Update build scripts and makefile to follow better practices. 2020-08-04 09:41:18 +02:00
Captain4LK 3b57a5be21 Add heavy documentation to resize example
The examples are ment to help new users to get into SoftLK, so some usually considered useless documentation has been added.
2020-07-30 21:15:55 +02:00
Captain4LK da8c8aff09 Add linkes to licenses in data/README.md 2020-07-30 10:41:19 +02:00
Captain4LK e1a09accc6 Add credit to all used assets
* Change gui in efelder to get rid of that pesky cc-by-sa license
* Now only CC0 assets are beeing used!
2020-07-29 16:12:12 +02:00
Captain4LK f97f808e56 Add missing license notes in header files.
How could I miss that?
2020-07-28 20:16:06 +02:00
Captain4LK 20b94a32f9 Rework font system
* Fonts not loaded automatically anymore, load with SLK_draw_[DRAWTYPE]_load_font(path)
* Changed included font, because of unknown license/origin
* Included some more fonts
2020-07-28 20:09:59 +02:00
Captain4LK 22f25c50f3 Moved all SDL2 specific stuff to a backend
* Opens the possiblity to create different backends
* less technical debt
* cleaner code
2020-07-27 16:54:52 +02:00
Captain4LK 8f0991fb27 Merge branch 'master' of https://codeberg.org/Captain4LK/SoftLK-lib 2020-07-26 11:16:28 +02:00
Captain4LK a82358325f Add README and build instructions to every example 2020-07-26 11:15:53 +02:00
Captain4LK badc1b001d Change README.md to no longer reference glad in compilation progress 2020-07-25 20:42:22 +02:00
Captain4LK ebfdc420a5 Remove glad dependency
* Hope nothing broke (tested every example, but you can never be sure)
2020-07-25 20:37:29 +02:00
Captain4LK b1cc55daba Update efelder
Big progress:

* UI mostly finished now
* can now simulate rectangles (eg capacitors) and circles
* a short explanation has been added inside the program itself
* added README
2020-07-25 20:23:28 +02:00
Captain4LK 810d7f2c5d Clean up README.md 2020-07-19 20:34:43 +02:00
Captain4LK 542c1e4f9d Some maintenance
* moved all SoftLK source files to src/
* moved all external libraries to external/
* updated README
2020-07-19 14:45:36 +02:00
Captain4LK 6a76767bb1 Added sprite sheets
* some progress in efelder
* rgb and pal sprite sheets for easier tileset management
2020-07-16 16:16:44 +02:00
Captain4LK 012737d608 Remove SLK_config.h, update SLKIMAGE files, add SLK_core_set_visible
Scrapped idea of optional features,
Things like that will be managed as seperate, complete projects with SoftLKlib as a git submodule.
Those subprojects should come with a set of tools.
2020-06-24 16:51:36 +02:00
Captain4LK 7d9bd5bb45 Add makefile
Yes, I know it is possible to make universall rules for all files, but I like to do it the oldschool way
2020-05-31 15:02:40 +02:00
Captain4LK 6c536f5d65 Add remaining keycodes
Now all keys should be usable.
Added SLK_conf.h for later features
2020-05-25 17:29:01 +02:00
Captain4LK 4d74feccec Remove SLK_variables.h
Replaced SLK_variables.h by multiple header, should result in cleaner code
2020-05-17 17:13:35 +02:00
Captain4LK c3841a747f Fix screenshots 2020-05-10 21:24:17 +02:00
Captain4LK 3d95b505bd Added dynamic windows sizes (resizable windows)
More layer manipulation
Added resize example showing how to use new laywer features
Updated README.m
Bugfixes
2020-05-10 21:21:10 +02:00
Captain4LK 0302a75d00 Improve SLK_core(.c) and SLK_layer(.c)
Improved code style
Added comments
Renamed SLK_running to SLK_core_running
Renamed SLK_quit to SLK_core_quit
Renamed SLK_update_viewport to SLK_render_update_viewport
Renamed SLK_update_mouse to SLK_mouse_update
2020-04-30 17:40:45 +02:00
Captain4LK 3d46410832 Improve SLK_input(.c)
Improved coding style
Added comments
2020-04-29 21:45:54 +02:00
Captain4LK 5f2ae526e3 Improve SLK_draw_rgb(.c)
Improved code style
Added comments
2020-04-28 21:43:13 +02:00
Captain4LK 3e8e019bc1 Improve SLK_sprite_rgb(.c)
Improved code style
Added comments
Fixed license
2020-04-28 16:18:44 +02:00
Captain4LK a88aa696b3 Improve SLK_draw_pal(.c) and SLK_sprite_pal(.c)
Improved code quality
Added comments
2020-04-26 21:47:02 +02:00
Captain4LK 90f39d92bc Improved SLK_color(.c), SLK_render(.c) and renamed to SoftLK
Improved code quality
Added comments
2020-04-26 14:18:36 +02:00
Captain4LK 506f2e8a58 Changed License
Now licensed under 3-clause BSD license
2020-04-26 11:26:27 +02:00
Captain4LK 8e029221cb Improved SLK_palette(.c)
Added SLK_palette_get_color
Added SLK_palette_set_color
Improved coding style
Added comments
2020-04-25 21:48:39 +02:00
Captain4LK 3f887a26e3 Improved SLK_timer(.c)
Added SLK_timer_get_fps
Improved coding style
Added comments
2020-04-25 21:16:56 +02:00
Captain4LK 577147ffe0 More features
Added SLK_layer_set_tint
Added SLK_core_set_title
Added SLK_core_set_fullscreen
Added SLK_core_set_icon
2020-04-25 17:52:18 +02:00
captain4lk 375ca2e372 Updated readme 2020-04-22 20:46:34 +02:00
captain4lk 6ecbdb56d5 Merge branch 'master' of https://notabug.org/Captain4LK/SLK-engine
Forgot to pull
2020-04-22 20:14:32 +02:00
captain4lk 2fbac852f0 Expanded drawing capabilities
added circle drawing and filling
added rectangle drawing and filling
added get draw target
added line drawing
2020-04-22 20:12:42 +02:00
Captain4LK 5acb284729 Update 'examples/efelder/LICENSE.md' 2020-04-19 20:19:27 +00:00
captain4lk 79a01b9db6 Added layers 2020-04-19 22:15:50 +02:00
captain4lk c65988dd8b Initial commit 2020-04-11 17:03:26 +02:00
C4LK aff7704b78 Initial commit 2020-02-14 18:53:59 +01:00