Commit graph

945 commits

Author SHA1 Message Date
Kazhnuz
17c4b0de8e feat: port the main menu to the new gui system 2022-01-05 23:26:09 +01:00
Kazhnuz
d85cd894fb feat: add a way to get screens from the gui 2022-01-05 23:25:19 +01:00
Kazhnuz
783ca58c78 fix: only redraw visible elements 2022-01-05 21:30:12 +01:00
Kazhnuz
ac63e377f9 feat: add a way to pack listbox at their end 2022-01-05 18:31:54 +01:00
Kazhnuz
ce1b1044e8 improvement: better textboxes 2022-01-05 18:26:05 +01:00
Kazhnuz
13803e7560 feat: add delay to screen changes 2022-01-04 17:11:45 +01:00
Kazhnuz
e902ad6d82 fix: add haveTransform function 2022-01-04 17:11:30 +01:00
Kazhnuz
2ccf4d2e4e fix: don't pass key press to moving elements 2022-01-04 17:11:08 +01:00
Kazhnuz
193b9cffbc feat: add a way to know if there is tweens 2022-01-04 17:10:39 +01:00
Kazhnuz
b20b9e5dd4 fix: remove two stray print() 2022-01-02 22:29:40 +01:00
Kazhnuz
5c5b551d8d feat: make the cursor part of texture 2022-01-02 22:28:38 +01:00
Kazhnuz
af23416c4e fix: redraw when adding a widget 2022-01-02 20:17:17 +01:00
Kazhnuz
d118a998ad feat: add a way to pass arbitrary in scene switch 2022-01-02 20:17:03 +01:00
Kazhnuz
47b86c1862 feat: add wrap function 2022-01-02 17:11:52 +01:00
Kazhnuz
a677902f6c feat: add more actions in menus 2022-01-02 17:11:42 +01:00
Kazhnuz
f7e1beae68 fix: make the box of boxedmenu part of its texture 2022-01-02 15:18:23 +01:00
Kazhnuz
e35d89f21e fix: remove an use of scissor for hp bars 2022-01-02 10:02:48 +01:00
Kazhnuz
784059f8f4 feat: add support for animated menu widgets 2022-01-02 10:02:16 +01:00
Kazhnuz
b779a55eb7 feat: ajouter un peu de marge au menu fancy 2021-12-31 15:40:30 +01:00
Kazhnuz
3c90fd1fe8 feat: add API to change focus on showing a screen 2021-12-31 15:39:50 +01:00
Kazhnuz
1a889163ae feat: new subscreen system 2021-12-31 14:27:35 +01:00
Kazhnuz
c7c9e37c99 fix: fail if a label is absent 2021-12-31 14:25:43 +01:00
Kazhnuz
7ca60da3fd chore: add a screen package 2021-12-08 11:26:27 +01:00
Kazhnuz
c4db0f7d14 fix: remove subscreen handling
It'll be better handled by a special exclusive screen system
2021-12-08 11:05:46 +01:00
Kazhnuz
87d4bd389d improvement: handle via gui the overworld hud 2021-12-05 17:52:27 +01:00
Kazhnuz
76e93332e7 meta: better settings 2021-12-05 17:51:18 +01:00
Kazhnuz
5291f9f890 feat: new assets 2021-12-05 17:51:03 +01:00
Kazhnuz
1ab9159120 fix: make sure overlay state reset when it must 2021-12-05 17:50:41 +01:00
Kazhnuz
8f2886be96 feat: port the victory screen to gui 2021-09-18 21:31:17 +02:00
Kazhnuz
205028718a feat: add a prompt system to the RadianceScene 2021-09-18 21:27:14 +02:00
Kazhnuz
4a7ad692cb feat: add a reward system for the cbs 2021-09-18 19:04:49 +02:00
Kazhnuz
f520dbb388 chore: remove unused old gameover 2021-09-16 22:31:46 +02:00
Kazhnuz
3c8a3ed312 improvement: make qtes guiElements 2021-09-16 22:29:36 +02:00
Kazhnuz
5b0bdc68ce improvement: port the selection to guisystem
It's a special guiElement, as it's not drawn by the GUISystem, but
the input handling code is usefull.
2021-09-16 22:28:57 +02:00
Kazhnuz
2932a7d85a improvement: port the cbs menus and gui
Make them handled by a single screen, removing a lot of dispersed
drawing code in the turns handler
2021-09-16 22:26:59 +02:00
Kazhnuz
14a7364c43 improvement: port to common game over 2021-09-16 22:06:59 +02:00
Kazhnuz
30389a2655 chore: initial cbs scene clean-up 2021-09-16 22:06:15 +02:00
Kazhnuz
bd2ec708a3 improvement: use the scene message queue 2021-09-16 21:51:32 +02:00
Kazhnuz
a6ff9b2ca2 improvement: make messages part of RadianceScene 2021-09-16 21:18:57 +02:00
Kazhnuz
35764021af improvement: port the main menu to gui 2021-09-16 21:00:39 +02:00
Kazhnuz
0343c017d3 improvement: port the option menu to gui 2021-09-16 20:59:57 +02:00
Kazhnuz
973596cf93 improvement: port titlescreen to gui 2021-09-16 20:42:34 +02:00
Kazhnuz
ef05a48522 fix: fix newFunc function 2021-09-16 20:40:43 +02:00
Kazhnuz
9acb3b303b feat: make the messagequeue a GuiElement 2021-09-12 10:00:41 +02:00
Kazhnuz
0fe46dea91 feat: add way to draw empty icons 2021-09-12 09:57:57 +02:00
Kazhnuz
486aa019d7 feat: add an element using the choice backgrounds 2021-09-12 09:57:47 +02:00
Kazhnuz
eb9ad6e208 feat: add a tile guiElement 2021-09-12 09:54:54 +02:00
Kazhnuz
023e0185ef feat: add func support to guiElements 2021-09-12 09:53:58 +02:00
Kazhnuz
6c55a070fe fix: better handling of indirect rendering 2021-09-03 11:44:17 +02:00
Kazhnuz
07400ce991 feat(textElem): add opacity handling 2021-09-03 11:13:06 +02:00