Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fix console /set bug | 7c45e27e7f40472bea317b0316e4367135b49704 | mse | 2021-09-11 01:32:11 |
Scriptable lines@, ids@, bugfix | 9f606fd2a793fd76a9d1b9e186434d231b973085 | mse | 2021-09-10 14:43:50 |
Add array scripting (@ operator, ARRLEN <array>) | 3f098b3e0a04922c2c7a981b232efd8d08a8d9a0 | mse | 2021-09-10 14:02:39 |
Optimize script runtime | a298b01c9b77192b7ed8aba3832a8ab51c9d389a | mse | 2021-09-09 06:57:49 |
Scriptable bg$, fg$, caption$ | 0ad08aa3887118d2376f4fa7f8b7c66e0f164c73 | mse | 2021-09-06 11:04:38 |
Animation command: ANIM <loop|play> <bg|fg> <fps> <directory> | 6066e2cae1dc29043902d46549f443c7b683fd88 | mse | 2021-09-06 06:42:13 |
Switch to C++17 | 489987b1b2749f37e0ac76594308635affbd24f2 | mse | 2021-09-05 10:51:02 |
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 |
File | Lines added | Lines deleted |
---|---|---|
confec.cpp | 8 | 3 |
File confec.cpp changed (mode: 100644) (index 60af132..d192eb6) | |||
... | ... | void Render(){ | |
4891 | 4891 | param.substr( space_at + 1 ); | param.substr( space_at + 1 ); |
4892 | 4892 | char* p; | char* p; |
4893 | 4893 | double num = std::strtod( val_str.c_str(), &p ); | double num = std::strtod( val_str.c_str(), &p ); |
4894 | convo.operate( convo.getOperation( | ||
4894 | dialogue::Operation o = convo.getOperation( | ||
4895 | 4895 | param.substr( 0, space_at ), | param.substr( 0, space_at ), |
4896 | 4896 | num, | num, |
4897 | *p ? val_str : "" // Value is a string? | ||
4898 | ) ); | ||
4897 | "" | ||
4898 | ); | ||
4899 | // If defining a string or array, or value is | ||
4900 | // non-numeric, treat value as a string. | ||
4901 | if( o.op == '$' || o.op == '@' || *p ) | ||
4902 | o.valueKey = val_str; | ||
4903 | convo.operate( o ); | ||
4899 | 4904 | } | } |
4900 | 4905 | }else if( str.length() >= 5 | }else if( str.length() >= 5 |
4901 | 4906 | && str.substr( 0, 5 ) == "/help" ){ | && str.substr( 0, 5 ) == "/help" ){ |