Commit graph

508 commits

Author SHA1 Message Date
Gwenhael Le Moine
c72a393498
pixel contrast in mono 2024-06-13 16:54:59 +02:00
Gwenhael Le Moine
14fd31d13c
variables declaration style 2024-06-13 16:43:08 +02:00
Gwenhael Le Moine
60d08c61d5
one less variable 2024-06-13 16:34:43 +02:00
Gwenhael Le Moine
554aa45b84
naming 2024-06-13 16:29:45 +02:00
Gwenhael Le Moine
d9423cbfe3
use less global variables 2024-06-12 15:23:08 +02:00
Gwenhael Le Moine
835a88eba7
[ui_sdl] remove mouse motion event handling 2024-06-12 14:23:55 +02:00
Gwenhael Le Moine
7700923cae
[ui_sdl] use COLORS 2024-06-12 14:04:32 +02:00
Gwenhael Le Moine
1d7d9969cd
remove useless zero-ing 2024-06-12 13:49:29 +02:00
Gwenhael Le Moine
1eb4ac580f
factorize using opt_gx and sdl surfaces on/off 2024-06-12 13:40:53 +02:00
Gwenhael Le Moine
3f32b34947
functions naming and cleaning 2024-06-12 13:21:41 +02:00
Gwenhael Le Moine
4810c2fc5f
[ui_sdl] tweaks 2024-06-12 12:56:52 +02:00
Gwenhael Le Moine
d3e4b33953
factorize annunciators among all UIs 2024-06-12 12:49:59 +02:00
Gwenhael Le Moine
8c4d5c5a9d
simplify sdl buttons 2024-06-12 12:40:33 +02:00
Gwenhael Le Moine
5be8dc8280
factorize buttons among all UIs 2024-06-12 12:37:14 +02:00
Gwenhael Le Moine
2077502bbe
[sdl] keypad isn't useful 2024-06-12 11:11:50 +02:00
Gwenhael Le Moine
37eca78404
[colors] factorize colors among all 3 UIs 2024-06-12 10:53:03 +02:00
Gwenhael Le Moine
3825c5e563
[ui_sdl] understand --mono and --gray + misc tweaks 2024-06-12 10:12:00 +02:00
Gwenhael Le Moine
dc6fc8765a
no need to force inline 2024-06-12 09:14:54 +02:00
Gwenhael Le Moine
9a85ee3121
inline what can be into step_instruction() 2024-06-11 16:19:59 +02:00
Gwenhael Le Moine
ad19c1b558
cleaning global variables use in emu_emulate.c 2024-06-11 15:53:58 +02:00
Gwenhael Le Moine
8454ec1ce5
[step_instruction] clean up use of variables 2024-06-11 13:58:00 +02:00
Gwenhael Le Moine
584f93fae8
cleaning 2024-06-11 13:35:43 +02:00
Gwenhael Le Moine
6e854e9ccd
merge logical sub-functions _step_instruction_*() into step_instruction() 2024-06-11 13:11:03 +02:00
Gwenhael Le Moine
d26eeebbc7
use bool and step_instruction doesn't need to return anything 2024-06-11 12:33:35 +02:00
Gwenhael Le Moine
0839613c67
remove commented code 2024-06-11 12:26:01 +02:00
Gwenhael Le Moine
0e26e0b9b4
bump patchlevel 2024-06-11 12:14:51 +02:00
Gwenhael Le Moine
875a94ff14
[emulate] eliminate jumpaddr global variable 2024-06-11 12:14:23 +02:00
Gwenhael Le Moine
964f34a92a
[ui_text] increasing order 2024-06-11 09:45:03 +02:00
Gwenhael Le Moine
79e14e1990
define number of fields 2024-06-05 15:05:50 +02:00
Gwenhael Le Moine
1bed76e9ce
moveing code 2024-06-05 14:36:19 +02:00
Gwenhael Le Moine
1a18c8a201
define in its place 2024-06-05 14:20:39 +02:00
Gwenhael Le Moine
d2dcfa167e
simplify saturn.keybuf 2024-06-05 14:08:10 +02:00
Gwenhael Le Moine
aeb3822b86
small optimization in main loop 2024-06-05 14:07:47 +02:00
Gwenhael Le Moine
83296ffbe9
[ui_sdl] named fields in structs 2024-05-23 16:50:58 +02:00
Gwenhael Le Moine
1729df310a
[ui_sdl] named fields in some structs + ... 2024-05-23 16:34:58 +02:00
Gwenhael Le Moine
7ea781c428
same treatment to ui_sdl 2024-05-23 16:20:57 +02:00
Gwenhael Le Moine
465761bc87
[ui_x11.c] less functions 2024-05-23 15:33:29 +02:00
Gwenhael Le Moine
8a4da4d1f6
got tired of CamelCase 2024-05-23 15:12:19 +02:00
Gwenhael Le Moine
bb32b545e1
inline save_* single-use functions 2024-05-23 14:20:46 +02:00
Gwenhael Le Moine
be5412a622
depuplication 2024-05-23 14:11:14 +02:00
Gwenhael Le Moine
2c284f86c8
remove indirection functions 2024-05-23 14:07:38 +02:00
Gwenhael Le Moine
a2fb56e1a7
more static functiosn in ui_x11.c + small stuff 2024-05-23 13:50:42 +02:00
Gwenhael Le Moine
70b53fae1b
more and less warnings 2024-05-21 08:22:37 +02:00
Gwenhael Le Moine
84899412ad
enable more warnings by default, make it compile cleanly with them 2024-05-20 19:03:39 +02:00
Gwenhael Le Moine
f395d805ff
[serial] detriplicate (!) ttybuf initialization 2024-05-20 18:26:58 +02:00
Gwenhael Le Moine
3090b38a46
named struct fields initialization 2024-05-17 20:32:21 +02:00
Gwenhael Le Moine
11df5e2370
naming and bool 2024-05-17 20:32:12 +02:00
Gwenhael Le Moine
777e4100fb
mostly trying to optimize and clarify ui_x11 2024-05-17 16:44:07 +02:00
Gwenhael Le Moine
ca38afdfa8
[ui_x11.c] formatting 2024-05-16 16:41:25 +02:00
Gwenhael Le Moine
976ec1f1cb
[ui_x11.c] draw keypad in one loop 2024-05-16 16:34:50 +02:00