List of commits:
Subject Hash Author Date (UTC)
Add persistent VN stats 2d1ffc35afd8ae0f477cbd5aac0559fc02571600 mse 2021-08-23 10:44:16
Bribes increase karma 643f0fc6da65316aa799bbe00cea2030e2c1ccd6 mse 2021-08-17 08:16:36
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
Commit 2d1ffc35afd8ae0f477cbd5aac0559fc02571600 - Add persistent VN stats
Author: mse
Author date (UTC): 2021-08-23 10:44
Committer name: mse
Committer date (UTC): 2021-08-23 10:44
Parent(s): 643f0fc6da65316aa799bbe00cea2030e2c1ccd6
Signing key:
Tree: 7d8dfc7e308e624f1f542261f2e5becd00af3660
File Lines added Lines deleted
confec.cpp 9 0
File confec.cpp changed (mode: 100644) (index 1057690..0f99069)
... ... void vnDataUpload(){
1980 1980 convo.setVariable( "health", player.health ); convo.setVariable( "health", player.health );
1981 1981 convo.setVariable( "money", player.money ); convo.setVariable( "money", player.money );
1982 1982 convo.setVariable( "karma", player.karma ); convo.setVariable( "karma", player.karma );
1983 // Copy the player's bribeItems into the VN stats namespace.
1984 for( auto &item : player.bribeItems ){
1985 convo.setVariable( "stats." + item.first, item.second );
1986 }
1983 1987 } }
1984 1988 convo.setVariable( "day", day ); convo.setVariable( "day", day );
1985 1989 convo.setVariable( "multiplayer", multiplayer ); convo.setVariable( "multiplayer", multiplayer );
 
... ... void vnDataDownload( const std::string &data_path ){
2029 2033 player.health = health; player.health = health;
2030 2034 player.money = money; player.money = money;
2031 2035 player.karma = convo.getVariable( "karma" ); player.karma = convo.getVariable( "karma" );
2036 // Copy VN stats into the player's bribeItems.
2037 for( auto &v : convo.variables ){
2038 if( v.key.length() > 6 && v.key.substr( 0, 6 ) == "stats." )
2039 player.bribeItems.set( v.key.substr( 6 ), v.valueInt );
2040 }
2032 2041 } }
2033 2042 // Override the CANCEL ID. // Override the CANCEL ID.
2034 2043 for( auto &id : convo.screen.ids ){ for( auto &id : convo.screen.ids ){
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mse/ConfectionerEngine

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mse/ConfectionerEngine

Clone this repository using git:
git clone git://git.rocketgit.com/user/mse/ConfectionerEngine

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main