Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
Add STOPSOUNDS command | 22507196106fcd8db7b4bae15b6a2bf9168dd61e | mse | 2021-05-27 05:56:57 |
Wake player when hit | b2bc7d9cb37a9c9a707e9b8428e6f4d3fa2f27b7 | mse | 2021-05-26 08:50:53 |
Minor clarifications | d5a83695acdf78b21610239d530b1317dc4003cc | mse | 2021-05-24 00:11:59 |
DRM-free dynamic target | c51ae66a80c38d4d8aec606ad04492ea12a56fcd | mse | 2021-05-23 23:53:32 |
Initial commit | bfb7298e48367d2ac0924811b4950f3066ff075c | mse | 2021-05-22 05:08:16 |
File | Lines added | Lines deleted |
---|---|---|
include/fworld.h | 1 | 1 |
File include/fworld.h changed (mode: 100755) (index 37206c5..ee77745) | |||
... | ... | fgl::Texture World::getTexture( std::string basePath, std::string imageName, boo | |
632 | 632 | std::string fileName = basePath + "/" + imageName; | std::string fileName = basePath + "/" + imageName; |
633 | 633 | int imgWidth = 0, imgHeight = 0, imgChannels = 0; | int imgWidth = 0, imgHeight = 0, imgChannels = 0; |
634 | 634 | unsigned char *imgData = nullptr; | unsigned char *imgData = nullptr; |
635 | FILE *file = FileOpen( fileName.c_str(), "rb" ); | ||
635 | FILE *file = FWORLD_FOPEN( fileName.c_str(), "rb" ); | ||
636 | 636 | if( file ){ | if( file ){ |
637 | 637 | imgData = stbi_load_from_file( file, &imgWidth, &imgHeight, &imgChannels, 0 ); | imgData = stbi_load_from_file( file, &imgWidth, &imgHeight, &imgChannels, 0 ); |
638 | 638 | fclose( file ); | fclose( file ); |