Commit Graph

21 Commits (4b4992185fa2c27d5d93898001c35c08c057c0ea)

Author SHA1 Message Date
Zed A. Shaw 4b4992185f Needed a default of no Modifiers to click_on since that's a very common operation. Also a constant to represent that. 7 months ago
Zed A. Shaw 5d0d8b16fc Removed hover on guecs::UI::mouse and now use a generic 16 bit modifier bitset. Also finally fixed Clickable so it just a simple callback with only the modifiers. 7 months ago
Zed A. Shaw 4c019048d0 Making Icons a thing again since it's convenient. 8 months ago
Zed A. Shaw 9e9b9620c9 Major refactoring but now centering text and sprites works. See Issue #16 for why only those and not anything else yet. 8 months ago
Zed A. Shaw 3752522597 Fixed Icon vs. Sprite and now Icon is just a subclass of Sprite. Closes #12. 8 months ago
Zed A. Shaw a22342cd7e Now Sprite can do either aspect_ratio scaling or stretching and Icon is just a subclass. 8 months ago
Zed A. Shaw 5a7c096b52 Fix up the backend so it has sane names like get_sprite and get_icon, then implemented a guecs::Icon for icons. Those don't scale and typically have other properties different from a Sprite. 8 months ago
Zed A. Shaw ad78c186c6 Implement a way to map entities to their names, which comes up often enough. 9 months ago
Zed A. Shaw e1d61dc2c1 You can now set a sprite as a background in Background which will simplify a lot of games that just place sprites over a single image. 10 months ago
Zed A. Shaw de0d957c66 Updated the SFML support stuff to use the Config that can be oriented at a BASE_DIR to find stuff relative to the config file. 10 months ago
Zed A. Shaw 4d71f552aa Refactoring the GUECS UI::render and the components so that it's just calling a .render on each one. This will then let me allow registering any components people want. 10 months ago
Zed A. Shaw a9e219ea96 Clicker now moves when you click him. 10 months ago
Zed A. Shaw cf3da32681 Fixed two bugs in Effect. 1. The shaders weren't being applied to everything, only shapes. 2. The Textual components were getting a not-shape shader but should be shapes. 11 months ago
Zed A. Shaw adc192c6dc Removed dbc and replaced with plain asserts everywhere. 11 months ago
Zed A. Shaw 767147c301 Forgot the include file for the theme. 11 months ago
Zed A. Shaw a18d60dcb0 Added direct theme support and will slowly move more things into this struct for configuring the look. 11 months ago
Zed A. Shaw 3bc05ad164 Move everything under the guecs/ directory in src/ so that it meshes better with other projects. 11 months ago
Zed A. Shaw f520f0bade Try to trim down what libs are actually needed. 11 months ago
Zed A. Shaw 06ca57e5da Had to rename sfml to sfmlbackend because on Windows the filesystem is case insensitive so include <SFML/*> was accidentally including _my_ <sfml/config.hpp> file. 11 months ago
Zed A. Shaw f3f2e90cd2 [BROKEN] This build is totally broken. DONOT USE. 11 months ago
Zed A. Shaw 838f54a4f4 Moved everything around to let meson build the libraries, but I suspect I have too much SFML support gear for it to be useable. 11 months ago