List of commits:
Subject Hash Author Date (UTC)
Fix stats synchronization bug 3b6195c3321a6f10af43839cc00d24f301eddb3e mse 2021-09-05 04:45:58
Add top-level command: STRLEN, scriptable player name$ ec7a623cdc98b9832f35f0beb3e45179e6094436 mse 2021-09-05 03:17:47
Start work on animation system d2aafd6f46c719342054e3f256f972f4917f2231 mse 2021-09-05 02:41:28
Add string scripting with $ operator 20034a2b658ee8ad4f2082c44301c231b0323fc7 mse 2021-09-03 10:20:55
Enhance console /set command to support operators 61032844fcb833f04e2f6d1e123f8f0f89333107 mse 2021-09-02 11:06:00
Add scriptable bribing & remove hard-coded karma increment 41b4d79da6331b4b1ffd96f36ae1b032a869b482 mse 2021-08-31 17:51:29
Add floor operator (_) 819304b561d474e962afa7397ef68ffae83e8649 mse 2021-08-31 13:49:57
Switch inventories and stats to floating-point c6e4142e664648ca8f4aa913b48526093c985987 mse 2021-08-31 13:35:20
Switch scripting to floating-point & code comments eb067496f4edb4420c05a09dc034ad0a25ad1e56 mse 2021-08-31 11:06:01
Add top-level command: GOSUB 62e9520aec0471fe023ead290595f735a30eb806 mse 2021-08-26 09:31:27
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
Commit 3b6195c3321a6f10af43839cc00d24f301eddb3e - Fix stats synchronization bug
Author: mse
Author date (UTC): 2021-09-05 04:45
Committer name: mse
Committer date (UTC): 2021-09-05 04:45
Parent(s): ec7a623cdc98b9832f35f0beb3e45179e6094436
Signing key:
Tree: 6b491a6b160f54cf480eae52c88c4201da557985
File Lines added Lines deleted
confec.cpp 11 0
File confec.cpp changed (mode: 100644) (index a4793e8..471d7a3)
... ... void vnDataUpload(){
2027 2027 convo.setVariable( "health", player.health ); convo.setVariable( "health", player.health );
2028 2028 convo.setVariable( "money", player.money ); convo.setVariable( "money", player.money );
2029 2029 convo.setVariable( "karma", player.karma ); convo.setVariable( "karma", player.karma );
2030 // Clear the global stats namespace using erase-remove idiom.
2031 convo.variables.erase(
2032 std::remove_if(
2033 convo.variables.begin(),
2034 convo.variables.end(),
2035 []( const dialogue::Variable &v ){
2036 return v.key.length() > 6 && v.key.substr( 0, 6 ) == "stats.";
2037 }
2038 ),
2039 convo.variables.end()
2040 );
2030 2041 // Copy the player's bribeItems into the VN stats namespace. // Copy the player's bribeItems into the VN stats namespace.
2031 2042 for( auto &item : player.bribeItems ){ for( auto &item : player.bribeItems ){
2032 2043 convo.setVariable( "stats." + item.first, item.second ); convo.setVariable( "stats." + item.first, item.second );
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 master