Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Add command: #RUMBLE <intensity> <milliseconds> | 02964b2ecc57a48192522ef369e33c4912d2f0d2 | mse | 2021-08-16 07:17:40 |
Reset position in non-mouse menu selection | c21eb6a9d238fa1909dbbbc49907ad09bfca52c8 | mse | 2021-08-16 03:30:49 |
Add haptic rumble for combat | 65ff172308b0ba26b8930e8e83eb41bd36c6b008 | mse | 2021-08-15 06:11:25 |
Reduce joystick sensitivity | 3804492a52d36c40cd51d42a971fe92f4fdd52ba | mse | 2021-08-14 22:37:19 |
Set audio buffer 1024 to reduce latency | b1733b33b3342b32f08e1bafb5baf63ed7db419e | mse | 2021-07-11 02:56:22 |
Update readme, deps, bump to v0.5.0 | 2f96bc1fe9af48874750f2ba507eda5d704313b0 | mse | 2021-07-05 12:14:52 |
New license | c9932a52aaa81e6b136510157bfc3ce3e10ab800 | mse | 2021-07-04 16:01:57 |
Fix joystick dead zone | 303dc3276d27f2a123e5370b31b79cdf87afc879 | mse | 2021-06-26 07:09:28 |
Windows-compatible locale | 65244a8360ad6a65fea64f43f115f5c93bf966dd | mse | 2021-06-11 17:13:26 |
Detect language using std::locale | 60f1680d73e559dc85f6b85e9ca69cb9be717ae6 | mse | 2021-06-09 16:11:30 |
Rename data -> base and load game as mod | ec3b8aa10ee005d89d897b43c68cecd4b9ea8a75 | mse | 2021-06-07 12:31:53 |
Replace function with macro | cc34567bf5b5503d90ea989004606fcca240d3cd | mse | 2021-05-30 20:14:02 |
Bump version to 0.4.4 | 4b4eb20f18d047f34a94456b441ee55cc4c6248b | mse | 2021-05-30 03:48:53 |
Initial modding support with -m parameters | 94429b99dd3c85d67d8a9fe8b2faee06c1e9fcde | mse | 2021-05-29 22:01:40 |
Moddable dialogue loading via FileOpen | 6183fb4b8dde53f07f8e7bf6835a8fe7ca0a8a8c | mse | 2021-05-29 10:54:24 |
Moddable sound file loading via FileOpen | ed4d1680cfb17f573fe799908d35e6856c183076 | mse | 2021-05-29 07:21:32 |
Update en_to_zh, start implementing moddable FileOpen, fix -Wsign-compare | 89d00440e1c35d46851fb1d300107da9725d261d | mse | 2021-05-27 21:29:27 |
Add a third procedural basket and winnerberry translation string | 9b970d581d5094fd3ea7b9da2b4e397c4f4c94db | mse | 2021-05-27 09:29:02 |
Add STOPSOUNDS command | 22507196106fcd8db7b4bae15b6a2bf9168dd61e | mse | 2021-05-27 05:56:57 |
Wake player when hit | b2bc7d9cb37a9c9a707e9b8428e6f4d3fa2f27b7 | mse | 2021-05-26 08:50:53 |
File | Lines added | Lines deleted |
---|---|---|
base/dialogue_en/init.json | 6 | 2 |
confec.cpp | 18 | 0 |
File base/dialogue_en/init.json changed (mode: 100644) (index f413890..e494418) | |||
2 | 2 | "init": { | "init": { |
3 | 3 | "bg": "black", | "bg": "black", |
4 | 4 | "caption": "Game not found.", | "caption": "Game not found.", |
5 | "lines": [ "Quit" ], | ||
6 | "ids": [ "quit" ] | ||
5 | "lines": [ "Test Controller Rumble", "Quit" ], | ||
6 | "ids": [ "rumble", "quit" ] | ||
7 | }, | ||
8 | |||
9 | "rumble": { | ||
10 | "exec": { "void": "CALLBACK #RUMBLE 1.0 500#DIALOGUE init" } | ||
7 | 11 | }, | }, |
8 | 12 | ||
9 | 13 | "quit": { | "quit": { |
File confec.cpp changed (mode: 100644) (index fda75cc..1886b0f) | |||
... | ... | void LoadMap( std::string file_path, bool autosave ){ | |
3043 | 3043 | && !character_select_display ){ | && !character_select_display ){ |
3044 | 3044 | paused = false; | paused = false; |
3045 | 3045 | } | } |
3046 | // Haptic controller rumble at <intensity> for <milliseconds>. | ||
3047 | if( file_path.length() >= 10 | ||
3048 | && file_path.substr( 0, 7 ) == "RUMBLE " ){ | ||
3049 | // Split the parameters. | ||
3050 | std::string params = file_path.substr( 7 ); | ||
3051 | size_t space_at = params.find_first_of( ' ' ); | ||
3052 | if( space_at != std::string::npos ){ | ||
3053 | // Two parameters are present. | ||
3054 | fgl::hapticRumble( | ||
3055 | (float)world.safeStold( params.substr( 0, space_at ) ), | ||
3056 | (unsigned int)world.safeStold( params.substr( space_at + 1 ) ) | ||
3057 | ); | ||
3058 | } | ||
3059 | if( autosave ){ // TODO: Why save here? When does this trigger? | ||
3060 | SaveGame( 1 ); | ||
3061 | } | ||
3062 | return; | ||
3063 | } | ||
3046 | 3064 | // Sound specifications. These should be loaded in tandem with a | // Sound specifications. These should be loaded in tandem with a |
3047 | 3065 | // physical location. | // physical location. |
3048 | 3066 | if( file_path.length() >= 8 | if( file_path.length() >= 8 |