Commit graph

16 commits

Author SHA1 Message Date
3ab1f6eee3 get rid of the doomId concept, use the pid instead
The internal unique id should not be needed, the pid is unique enough :)

Also this can allow starting dooms externally without having to pass an id
parameter that's not already in use. The externally started doom sends its
pid with the DoomReady message and the controller can add a new entry if it
needs to. Of course the controller will not be able to kill() these
externally started dooms.
2023-02-18 22:28:15 +01:00
26c7f69b42 build tiny messaging infrastructure, refactor, hack till it sort of works
When usleep()'ing in doomsim it misses most of the quit messages. I think
it's because the controller spams RunDoom all the time and the quit
messages get discarded while doomsim is sleeping.
2023-02-18 22:08:12 +01:00
7d8978f6b8 caturday work: leak fixes, can now tell dooms to quit, nng util functions 2023-02-18 12:30:53 +01:00
3d9da20335 posix_spawn() doomsims
The doomsim startup routine or the controller startup publish are broken.
The doomsims never transition from DP_DS_Ready state.
2023-02-18 12:30:53 +01:00
17ba021843 add comment to ExampleAppLog and mini refactoring 2023-02-18 12:30:53 +01:00
c583573b0b fix build under msys2 2023-02-18 12:30:40 +01:00
09d2bd715b add first ui input elements and in-game logging 2023-02-12 22:21:06 +01:00
4a3dce5ef5 custom imgui window title! 2023-02-12 16:12:01 +01:00
1674946bed First steps with Dear ImGui. It's awesome! 2023-02-12 15:48:15 +01:00
fcd47b7aa5 mini refactoring and cleanup 2023-02-12 13:40:41 +01:00
53775fbdf2 build and use imgui from externals, make the imgui demo work 2023-02-12 04:47:48 +01:00
de463a6747 ctrl: write some broken sdl and imgui code 2023-02-12 03:32:02 +01:00
aa6438783a doomsim updates: state machine, nng_recvmsg/nng_sendmsg, first actual logic 2023-02-11 23:52:20 +01:00
ec041cf83b refactoring all the things
- Move from spdlog to log.c by rxi
- Create dp_common c library
- Create empty doomsim executable
2023-02-08 06:39:23 +01:00
dc754c2885 buggy pub sub code 2023-02-04 01:56:30 +01:00
ef97762930 create cmake project structure and c++ test app 2023-02-03 23:33:37 +01:00