Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Add CLEARSCREEN command | 57f55faa0fec4c558e8c9a7942cb0f47ddca07d7 | mse | 2022-03-01 09:35:11 |
Tint rain ambient color & bump version to v0.7.8 | 56888b00706faddf9aea8a1930ee784b535c50bf | mse | 2022-01-31 03:02:45 |
Add controlKey function | 6997d5afe5971694fe0222917f8125dd44b23aa3 | mse | 2022-01-21 17:23:00 |
Start CSL function library | 4f2a3417450dc7389548cb39e245939c17f03fe9 | mse | 2021-12-28 19:16:57 |
Fix non-owning reference bug | 65e4d1a89c656acbaced0923dd5f64fd8908b025 | mse | 2021-12-28 18:45:37 |
Translate 'Get closer' | 86563edde1ef9fd574382b772b34ee78636af82b | mse | 2021-12-18 16:06:58 |
Bump version to v0.7.7 | e1e9703ff5eec4b0003082052f9035a46a82767a | mse | 2021-12-18 04:23:49 |
Add item translation system & change trading text | de19b57c624f0317b4fe57086eff3e57f16e3361 | mse | 2021-12-17 22:32:45 |
Fix fg3 depth buffer format | 65eef1b171eb937c6c213f7af1f1206053183832 | mse | 2021-12-16 00:57:55 |
Upgrade fg3 depth precision | 153ff3855ec6f47b18eef4b262e42e4c4ccee90b | mse | 2021-12-15 16:20:26 |
Translate confec_select and confec_name to Greek | 285a98c703de8afd92129cd08147562573785a29 | mse | 2021-12-15 01:51:04 |
Update game controller DB | 1bc318197ae0f77693da7b7b4f754d7c89f800f6 | mse | 2021-12-14 14:22:51 |
Bump version to v0.7.6 | 53d47f1b30d2e87a4b72456220b813848af22ba1 | mse | 2021-12-14 14:03:20 |
Bump version to v0.7.5 | 97863be956f3af1cd5fb76fdc304d69a343289fc | mse | 2021-12-12 05:40:46 |
Update fg2/fg3 lighting functionality | d46bc128f5d2ff38193c26d1465ef6f33a83f7bb | mse | 2021-12-12 05:20:39 |
Support function calls from Talk::go | d20c5a67477446ba3676d9a47610c3fa03e185b9 | mse | 2021-12-09 08:42:57 |
Clear minimap background | 644696f99298c8ed0fd0b5544cefcf15074ac23e | mse | 2021-12-08 15:42:53 |
Pause game on focus loss | 2357bfbdc13df8caa49da487ab2094803458aec5 | mse | 2021-12-08 15:32:58 |
Hide minimap during character select & text input | 14baf3d18e3e3a1f012064e04386279d920b6c75 | mse | 2021-12-07 12:59:19 |
Add tileset mipmap support & bump version to 0.7.4 | 9b10dbc7ae66493b87c53feddc600a8dda514802 | mse | 2021-12-06 11:38:53 |
File | Lines added | Lines deleted |
---|---|---|
include/dialogue.h | 7 | 0 |
File include/dialogue.h changed (mode: 100644) (index 1e0ce58..0fe5548) | |||
... | ... | double Talk::getVariable( std::string key ){ | |
227 | 227 | if( key == "RAND" ){ | if( key == "RAND" ){ |
228 | 228 | // Returns a (pseudo)random number. | // Returns a (pseudo)random number. |
229 | 229 | return std::rand(); | return std::rand(); |
230 | }else if( key == "CLEARSCREEN" ){ | ||
231 | // Clears the current dialogue screen. | ||
232 | screen.bg = ""; | ||
233 | screen.fg = ""; | ||
234 | screen.caption = ""; | ||
235 | screen.lines = {}; | ||
236 | screen.ids = {}; | ||
230 | 237 | }else if( key.length() >= 8 && key.substr( 0, 8 ) == "CALLBACK" ){ | }else if( key.length() >= 8 && key.substr( 0, 8 ) == "CALLBACK" ){ |
231 | 238 | // Returns the result of the callback function. | // Returns the result of the callback function. |
232 | 239 | std::string arg = key.length() >= 10 ? key.substr( 9 ) : ""; | std::string arg = key.length() >= 10 ? key.substr( 9 ) : ""; |