Commit Graph

23 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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