Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Parse newlines in CSL notifications | fc21ba1563a1c36ff20711c84b0dc3f3d7588646 | mse | 2021-11-13 05:12:11 |
Scriptable special items: GIVESPECIAL <id> <name> | 256a2581e75dc3762b098f8cae3259899f8c4a94 | mse | 2021-11-13 03:24:02 |
Improved particles, darker nights, work on GIVESPECIAL | e8e352e03fdffb8a8e57f94f99028bc1c6c03376 | mse | 2021-11-12 08:51:36 |
Fix caption padding bug | a49cd2397d2e1b98679828303116db858d146a93 | mse | 2021-11-08 23:35:07 |
Disable is_regular_file for Boost support | ebee78afad8b29f0332a4cf719c7c4d70e8c9ff8 | mse | 2021-11-08 22:41:42 |
Bump version to 0.6.1 | 9bdeecf9d39b75d12e44cb65bbb97a2e8277fcd4 | mse | 2021-11-08 21:34:25 |
Improve caption printing and start work on GIVESPECIAL | ec51488e4fd5552ae6d22db1b6eedfef7c2541b7 | mse | 2021-11-08 20:29:59 |
Load current screen's images for CSL support | 43ef06272048c164fc754a547a57859bdfb909db | mse | 2021-11-06 03:23:56 |
Fix Mac builds and bump version to v0.6.0 | efcc6a0b4858af2abd027c8379d41ee1fe073620 | mse | 2021-11-04 23:40:55 |
Remove structured initializer for older compiler support | 772a6b05b40cd5f7412a7736fe574319fe67289a | mse | 2021-11-04 17:54:41 |
Make C++ standard version configurable | b100287447ddf4aa503ebac88710b0b92e25aa7f | mse | 2021-11-04 15:56:47 |
Fix zoom for particles | 5c80a4a30c13672f00df8f3d74297908c132f45d | mse | 2021-11-04 14:54:34 |
Use 2 different speed curves for smart zoom | 56f9cd38408e4cd3ed08b75b00b131a0bc236b56 | mse | 2021-10-22 01:51:47 |
Improve smart zoom math | 87da264dca8c443c24a6340002a8cd8169a1446b | mse | 2021-10-17 10:11:14 |
Add smart zoom | cc57dc0952db6c59d06ef7a9b5c5526f7801945f | mse | 2021-10-16 09:13:49 |
Housekeeping | 76d7571c34241141c6e2a6315de5e5b513db5209 | mse | 2021-10-07 07:33:20 |
Fix font kerning support | ab4cbabbed82f629d616f8878790e7d2666524eb | mse | 2021-10-02 21:10:14 |
Add default soundspec volume | 82a658f2e2bd786618228346bc1848c1be894054 | mse | 2021-09-30 05:23:43 |
Fix Windows build and update SDL | d8f30e756bc4d5a63e5b7524db2b69ae5af4f88f | mse | 2021-09-29 23:31:25 |
Update gamecontrollerdb | 3da6ad2629e0b28cad34b3ff7a89c0fe0d96a2fd | mse | 2021-09-29 23:02:39 |
File | Lines added | Lines deleted |
---|---|---|
confec.cpp | 8 | 1 |
File confec.cpp changed (mode: 100644) (index d0272e4..ee3979e) | |||
... | ... | void LoadMap( std::string file_path, bool autosave ){ | |
3326 | 3326 | // Display a notification popup. | // Display a notification popup. |
3327 | 3327 | if( file_path.length() >= 7 | if( file_path.length() >= 7 |
3328 | 3328 | && file_path.substr( 0, 7 ) == "NOTIFY " ){ | && file_path.substr( 0, 7 ) == "NOTIFY " ){ |
3329 | Notify( &tex_notification, file_path.substr( 7 ), "" ); | ||
3329 | std::string text = file_path.substr( 7 ); | ||
3330 | // Replace newline escape sequences with actual newlines for display. | ||
3331 | std::string pattern = "\\n", replacement = "\n"; | ||
3332 | size_t at = 0; | ||
3333 | while( ( at = text.find( pattern, at ) ) != std::string::npos ){ | ||
3334 | text.replace( at, pattern.length(), replacement ); | ||
3335 | } | ||
3336 | Notify( &tex_notification, text, "" ); | ||
3330 | 3337 | return; | return; |
3331 | 3338 | } | } |
3332 | 3339 | // Make it rain with a percent probability. (Single-player only.) | // Make it rain with a percent probability. (Single-player only.) |