Commit graph

911 commits

Author SHA1 Message Date
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
Kazhnuz
959fd99ba4 feat(drawable): apply opacity. 2021-09-03 11:12:25 +02:00
Kazhnuz
4a84d2dc53 improvement: better wrapper handling in guiElement 2021-08-31 23:47:01 +02:00
Kazhnuz
4ccb055672 feat: add overlay darkening 2021-08-31 19:13:17 +02:00
Kazhnuz
e0ebc4969c feat: initial gui version of gameover 2021-08-31 19:12:56 +02:00
Kazhnuz
83a89dc69b feat: initial gui version of radiance's menus 2021-08-31 19:12:40 +02:00
Kazhnuz
759daf5ec0 improvement: port confirmdialog to Gui 2021-08-31 19:02:43 +02:00
Kazhnuz
839813768d fix: focus fix 2021-08-31 18:30:28 +02:00
Kazhnuz
28f41fcc49 feat: get skillname from character 2021-08-31 10:57:34 +02:00
Kazhnuz
3c94f9c1c6 feat: some parsing improvement 2021-08-31 10:57:24 +02:00
Kazhnuz
70f1fe21e9 feat: add keypressed customization 2021-08-31 10:56:56 +02:00
Kazhnuz
36b4d16939 improvement: let the screen handle opacity 2021-08-31 10:56:43 +02:00
Kazhnuz
da9dbb30b8 improvement: better element data parsing 2021-08-31 10:56:11 +02:00
Kazhnuz
75bd09f18b feat: improve focus handling 2021-08-31 10:01:24 +02:00
Kazhnuz
700eebd395 feat(game): add gui sfx to radiance's scene 2021-08-30 23:52:45 +02:00
Kazhnuz
73fc3160dd improvement(textmenu): better padding 2021-08-30 14:59:28 +02:00
Kazhnuz
2065e4ce9c fix: use right function in element:destroy() 2021-08-30 14:59:06 +02:00
Kazhnuz
c95ff30d6e improvement: better textmenus 2021-08-30 14:11:27 +02:00
Kazhnuz
8914dc2d09 feat: new element types 2021-08-30 14:11:08 +02:00
Kazhnuz
08674dbf7e fix: draw GUI over scene 2021-08-30 14:10:53 +02:00
Kazhnuz
d972fccb13 feat: add assets access to gui elements 2021-08-30 14:10:26 +02:00
Kazhnuz
6f6b4e6d74 chore: make canvas redraw part of canvas 2021-08-30 14:07:02 +02:00
Kazhnuz
339d927d51 fix(textwidget): better color management 2021-08-28 21:15:27 +02:00
Kazhnuz
88a68d2f98 fix: propagate cancel widget 2021-08-28 21:15:01 +02:00
Kazhnuz
9ed2b44be2 fix: redraw menu when selecting another widget 2021-08-28 21:14:48 +02:00
Kazhnuz
4daa0b16eb feat: add everything needed for fancymenus 2021-08-28 18:58:38 +02:00
Kazhnuz
ae13c1d5ae feat: ajout support du son au menu GUI 2021-08-28 18:08:02 +02:00
Kazhnuz
cf6cd3c7a3 fix: utilisation du padding comme il faut 2021-08-28 18:07:29 +02:00
Kazhnuz
fa8f59cf2c feat: use indirect rendering for menus 2021-08-28 15:48:27 +02:00
Kazhnuz
02edc4fc07 feat(rect): add getDimensions 2021-08-28 15:48:09 +02:00
Kazhnuz
0ce811fa97 chore(textwidget): fail if position is wrong 2021-08-28 14:30:26 +02:00
Kazhnuz
44781ba325 feat: add line sizing 2021-08-28 11:24:09 +02:00
Kazhnuz
afad9f7d08 feat(textmenu): add line sizing 2021-08-28 11:16:11 +02:00
Kazhnuz
12ef4728a8 feat: add birb's menu to the gui system 2021-08-27 00:44:01 +02:00
Kazhnuz
c37048a49a improvement: make menuback a gui element 2021-08-26 23:27:43 +02:00