Commit graph

564 commits

Author SHA1 Message Date
yuni e8302833da implement stack-based conversation position 2024-04-13 17:59:52 +02:00
yuni d990726932 switched from yaml_rust to serde_yaml 2024-04-13 17:33:14 +02:00
yuni 57f0e94bc6 WIP stack-based conversation position 2024-04-13 16:03:15 +02:00
yuni ef9d9c8fcc cleanup 2024-04-13 16:03:07 +02:00
yuni 826638416f detect choice selection keys 2024-04-13 15:44:23 +02:00
yuni 2b0de07427 remove TIMEOUT "choices", handle it with labels instead 2024-04-13 15:40:19 +02:00
yuni 9698dcdfee render choices 2024-04-13 15:26:45 +02:00
yuni 9cd1cf19e2 WIP choice spawning 2024-04-13 12:24:56 +02:00
yuni 1fd0481ec4 implement chat speed setting 2024-04-13 01:34:18 +02:00
yuni c0672f0ad8 implement showing names of conversation partners 2024-04-13 01:25:57 +02:00
yuni eff6306a93 implement showing all first-level messages of a chat 2024-04-13 01:22:01 +02:00
yuni b41891ba3b implement showing the first message of a chat 2024-04-13 00:39:21 +02:00
yuni 45d3408f0c cleanup 2024-04-13 00:11:32 +02:00
yuni 2aaecdc113 start implementing ChatDB.advance_chat() 2024-04-13 00:05:42 +02:00
yuni ca709080eb spawn chat entity. limit number of chats to 1 2024-04-12 23:28:15 +02:00
yuni 14ef824b17 actual nice code 2024-04-12 23:18:07 +02:00
yuni ad8efd60d5 an attempt at nicer code... 2024-04-12 23:13:55 +02:00
yuni a572959df3 implement looking up chat id 2024-04-12 23:06:31 +02:00
yuni 253604e9aa cleanup 2024-04-12 21:45:36 +02:00
yuni 0117a6d4d2 load chat yaml files 2024-04-12 21:26:23 +02:00
yuni b9528b3637 split off startrans chats into separate yaml file 2024-04-12 21:25:59 +02:00
yuni 56385b257d rip out existing chat implementation
(this was SO satisfying)
2024-04-12 20:49:26 +02:00
yuni 5ca31fda65 add chat definitions in YAML format (integration still needed) 2024-04-12 20:37:19 +02:00
yuni b53545ce2c minor tweaks to conversations 2024-04-12 20:10:10 +02:00
yuni 86ce38eda1 experiment: mute reaction wheels, unless inside vehicle 2024-04-11 21:42:42 +02:00
yuni b2e6ba2b77 reset velocity when waking up after bus station cryo 2024-04-11 21:30:27 +02:00
yuni ef0ada9dac reset *some* settings on death 2024-04-11 21:20:54 +02:00
yuni 053f2827dd handle god mode properly when restarting/cheat-dying 2024-04-11 21:17:34 +02:00
yuni cb698cc3b2 Revert "reset settings on death/restart"
This reverts commit 3676fd444c.
2024-04-11 21:12:56 +02:00
yuni 3676fd444c reset settings on death/restart 2024-04-11 21:07:01 +02:00
yuni d0df5c5dbd implement rotation stabilizer (key Y) 2024-04-11 21:06:28 +02:00
yuni 9ea79ff80f death animation fallback 2024-04-11 20:58:16 +02:00
yuni 0c31055422 add key binding F7 to restart the game 2024-04-11 20:47:11 +02:00
yuni eb481edc8e implement DamageTypes, different visuals/sounds on death 2024-04-11 20:46:52 +02:00
yuni 2b74b50563 despawn AR overlay entities on death 2024-04-11 20:06:00 +02:00
yuni 0d312edeee fix bringing space crafts along with a bus ride 2024-04-11 02:14:36 +02:00
yuni dc1037e5a3 implement trips back to serenity station 2024-04-11 02:10:57 +02:00
yuni a3ea057994 implement trips to metis prime station and serenity station 2024-04-11 01:55:32 +02:00
yuni 9954c19d2a implement travel to Oscillation Station 2024-04-11 01:34:16 +02:00
yuni a6f6b8b582 implement bus stops (no riding yet) 2024-04-11 01:12:07 +02:00
yuni db3545e9a3 normalize mouse sensitivity across screen resolutions 2024-04-10 22:51:11 +02:00
yuni abaed74424 update second MeteorAceGT 2024-04-10 22:50:59 +02:00
yuni 5f56d63d32 Space Pizza™ chef: add chef hat AR overlay 2024-04-10 22:36:19 +02:00
yuni 86c2c5e410 typo² 2024-04-10 22:10:05 +02:00
yuni cd1f8c18cf move from mass-based to density-based definitions 2024-04-10 22:05:28 +02:00
yuni 860d7f8d4b clamp fov change with g force 2024-04-10 22:04:07 +02:00
yuni d064680d60 clippy: add AR face ^_^ 2024-04-10 21:03:30 +02:00
yuni 96b8ed22b2 clippy: balance, center 2024-04-10 18:26:49 +02:00
yuni e4c3eccb02 typo 2024-04-10 17:54:46 +02:00
yuni b3d63301cc clippy: chat 2024-04-10 17:54:43 +02:00
yuni c7b4216c57 clippy: shorter name 2024-04-10 17:52:38 +02:00
yuni b8cabe7ac1 add Clippy™ Convenience Drone 2024-04-10 17:48:07 +02:00
yuni cccef60090 better lightyear formatting 2024-04-08 04:42:04 +02:00
yuni ac9ee34e1f delta v actually displays the relative velocity now 2024-04-08 04:37:58 +02:00
yuni 48e54265f9 simplify 2024-04-08 04:28:19 +02:00
yuni 2ae05214f6 normalize planet sizes, make jupiter clickable 2024-04-08 04:17:45 +02:00
yuni 3ed8a9b8b0 smaller FoV when zooming 2024-04-08 04:16:01 +02:00
yuni ba09e1c378 Revert "add Saturn. it's tiny."
This reverts commit 5f57888b83.
2024-04-08 03:28:56 +02:00
yuni 5f57888b83 add Saturn. it's tiny. 2024-04-08 03:28:28 +02:00
yuni c9f7422af1 fix unit conversion with negative distances 2024-04-08 03:15:54 +02:00
yuni e95f019f3f tweak fov, mouse sensitivity 2024-04-08 03:15:45 +02:00
yuni 0b0fd5664d more readable g force display 2024-04-08 03:05:46 +02:00
yuni b72a596559 fix distance display, and autoconvert large numbers to other units 2024-04-08 03:05:39 +02:00
yuni 1c9bcd7208 adapt FoV to g force rather than speed 2024-04-08 02:36:47 +02:00
yuni 98dad7dee4 boost hud refresh rate 2024-04-08 02:26:23 +02:00
yuni 9881154489 correctly show unknown star distances 2024-04-08 02:26:14 +02:00
yuni 58bd34cfd0 smoother camera movement 2024-04-08 02:19:33 +02:00
yuni 0e5711f229 higher sensitivity during zoom 2024-04-08 02:17:36 +02:00
yuni ca89a6eaff disable "sleeping" of actors in physics engine 2024-04-08 02:15:58 +02:00
yuni 6a93193720 show g forces when using speed cheat 2024-04-08 01:54:05 +02:00
yuni 9218398c77 disable blackout for now, i dont like it, too confusing 2024-04-08 01:48:23 +02:00
yuni a44a7faa42 implement god mode 2024-04-08 01:44:36 +02:00
yuni db6f9a1548 optimization 2024-04-08 01:14:08 +02:00
yuni 55f0c6c607 correct sun distance display 2024-04-08 01:13:31 +02:00
yuni 9f15e78e07 show actual names of stars when targeting them 2024-04-08 01:08:32 +02:00
yuni 81187b4fe6 make stars clickable 2024-04-08 00:39:57 +02:00
yuni 36859f6bb6 start in BorderlessFullscreen instead of Fullscreen by default
this fixes a crash on some windows machines
2024-04-08 00:24:03 +02:00
yuni 17f44664e5 implement fullscreen toggle key F11 2024-04-08 00:23:55 +02:00
yuni c8cfc9ac15 better function name 2024-04-07 20:02:31 +02:00
yuni af00a49f8d cleanup 2024-04-07 18:37:14 +02:00
yuni f19f343f54 faster asteroid loading... maybe 2024-04-07 18:35:37 +02:00
yuni 8ef538bac3 cleanup 2024-04-07 17:59:40 +02:00
yuni d4708c2873 tweak gforces, vehicle speed, ignore gforce when cheating 2024-04-06 01:36:14 +02:00
yuni a869a7704e implement g-forces and passing out 2024-04-06 01:11:35 +02:00
yuni 7d655ca6c6 cleanup 2024-04-05 23:50:10 +02:00
yuni 1f1e388816 set real mass of thebe, reduce its angular momentum 2024-04-05 23:49:20 +02:00
yuni 91875436bc cleanup 2024-04-05 23:42:02 +02:00
yuni a0514de123 allow zooming only when AR is on 2024-04-05 23:38:27 +02:00
yuni 0f8ef18123 implement zooming on right click 2024-04-05 23:38:20 +02:00
yuni b91effd5b2 update comment 2024-04-05 23:11:10 +02:00
yuni e44ecaabcd fix overshoot calculation when matching velocity 2024-04-05 23:10:40 +02:00
yuni 704c249091 show distance to marked object 2024-04-05 22:51:54 +02:00
yuni dc077ca141 targeting now only works in AR 2024-04-05 22:43:14 +02:00
yuni 9c5a61767a enlarge selectagon to a minimum angular diameter 2024-04-05 22:30:43 +02:00
yuni 36eb5a000e add selectagon around target 2024-04-05 22:16:01 +02:00
yuni f682f1d6c0 allow reuse of angular diameter calculation code 2024-04-05 22:06:58 +02:00
yuni 5de4b0bac3 move targeting code into an event handler 2024-04-05 21:27:35 +02:00
yuni b700e0fe24 implement matching velocity with targeted object 2024-04-05 20:58:37 +02:00
yuni 2f65c652c8 better targeting handling 2024-04-05 20:38:50 +02:00
yuni 974de97ded play click SFX when targeting 2024-04-05 20:28:53 +02:00
yuni 9694ebfecd base the maximum targeting angle on the angular diameter of the object 2024-04-05 20:28:28 +02:00
yuni d8e106c497 exclude player from IsClickable query, add name to MeteorAceGT 2024-04-05 20:10:58 +02:00
yuni 845e938472 entering vehicles now also based on camera orientation 2024-04-05 20:05:58 +02:00
yuni f13fc7167d cleanup 2024-04-05 20:01:50 +02:00
yuni 96d1169eb9 remove unnecessary clone() 2024-04-05 19:59:53 +02:00
yuni df541e85a9 chat initiation now finds people you look at, not anyone nearby 2024-04-05 19:58:27 +02:00
yuni 4512b63681 generalize with generics 2024-04-05 19:34:01 +02:00
yuni d90c2f82a6 refactoring 2024-04-05 19:18:49 +02:00
yuni 1906366463 implement targeting based on player orientation 2024-04-05 19:03:50 +02:00
yuni a37ba60eaf WIP targeting world objects with mouse click 2024-04-05 18:14:26 +02:00
yuni 89984023e9 clear log on death 2024-04-05 05:13:09 +02:00
yuni 634482fb73 despawn chat on death 2024-04-05 05:10:03 +02:00
yuni 28212c6316 typo 2024-04-05 05:05:58 +02:00
yuni 6280d2bf11 fix Icarus conversation 2024-04-05 04:42:00 +02:00
yuni 2f2b1baec3 give monoliths a max rotation 2024-04-05 04:23:17 +02:00
yuni 0855aec475 fix SpacePizza™'s position 2024-04-05 04:16:40 +02:00
yuni 7130d1e684 add static clock to HUD 2024-04-05 04:08:26 +02:00
yuni e577a5084c vehicles protect from damage now, though not perfectly 2024-04-05 03:53:20 +02:00
yuni df9f47c427 fade in from maroon red color when dying/respawning 2024-04-05 03:49:29 +02:00
yuni 61c7cffcef implement damage on low oxygen and collisions 2024-04-05 03:31:52 +02:00
yuni ae2fcf2525 cleanup 2024-04-05 02:58:17 +02:00
yuni 23bceebc79 implement player respawn with "z" key 2024-04-05 02:58:12 +02:00
yuni cea7289460 decelerate satellite (not sure how to explain its thrust yet :X) 2024-04-05 01:57:54 +02:00
yuni 93cc607613 add velocity command 2024-04-05 01:55:40 +02:00
yuni e29a8abebf tweak icarus 2024-04-05 01:50:03 +02:00
yuni 6b6cdccee7 change WantsNo* to WantsMax*, cuz Icarus likes to rotate a bit 2024-04-05 01:42:50 +02:00
yuni 64423630da update chat regarding main ring 2024-04-05 01:22:49 +02:00
yuni 9195a5a26b add engine & no{velocity,rotation} to SpacePizza™ 2024-04-05 01:21:57 +02:00
yuni 5d52d3cdf4 add "wants novelocity" command to icarus 2024-04-05 01:19:46 +02:00
yuni 83de08034a add "wants norotation" command to satellite and icarus 2024-04-05 00:54:58 +02:00
yuni beb241e9d6 add huge communications satellite 2024-04-05 00:32:42 +02:00
yuni c38b1288fd tweak cheat keys 2024-04-05 00:23:14 +02:00
yuni 720b39e09a tweak ring appearance & player location 2024-04-05 00:23:01 +02:00
yuni 677ad09e84 tweak text 2024-04-04 20:01:54 +02:00
yuni b63d2e716b fixed message timings 2024-04-04 19:09:10 +02:00
yuni 2cf3ff5595 changed Icarus' position so you see it from the start 2024-04-04 19:08:54 +02:00
yuni 46c2b910a8 remove "Requesting permission to communicate" to speed up dialogs 2024-04-04 19:03:30 +02:00
yuni 3106218f5f make Icarus much more wholesome 2024-04-04 19:02:17 +02:00
yuni a7003f6f00 fix thebe position 2024-04-04 18:54:03 +02:00
yuni 016b948967 fix chat logic 2024-04-04 18:53:52 +02:00
yuni ea6243ec12 better debug messages 2024-04-04 18:53:32 +02:00
yuni b1c78e4ccb move send reply code to chat.rs 2024-04-04 18:53:20 +02:00
yuni 8f380a6773 split off chat logic from hud.rs into chat.rs 2024-04-04 13:40:56 +02:00
yuni ca7d2facd9 split off chat logic from actor.rs into new chat.rs 2024-04-04 13:34:13 +02:00
yuni 39e852817a fix vehicle exit... maybe? seems to have a random element... 2024-04-03 14:48:23 +02:00
yuni 5b1d6588f9 properly mute reaction wheel sounds 2024-04-03 14:27:44 +02:00
yuni d4ddead644 enter vehicles with E instead of Q, make E the "interact" key 2024-04-03 14:21:47 +02:00
yuni 85a404e49a change BGM to "Cinematic Cello" by Aleksey Chistilin 2024-04-03 14:21:28 +02:00
yuni 8884999074 adjust exit distance to vehicle size 2024-04-03 13:53:49 +02:00
yuni 0142d6d77b fix vehicle visibility when exiting 2024-04-03 12:27:43 +02:00