forked from mirrors/kolyah35-minecraft-pe-0.6.1
Fixes and enhancements from my MCPE repository. (https://github.com/mschiller890/mcpe64)
This commit is contained in:
parent
0c97ceb340
commit
2fc323639a
69 changed files with 2509 additions and 639 deletions
|
|
@ -9,6 +9,8 @@
|
|||
#include <cmath>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <windows.h>
|
||||
#include <shellapi.h>
|
||||
|
||||
static void png_funcReadFile(png_structp pngPtr, png_bytep data, png_size_t length) {
|
||||
((std::istream*)png_get_io_ptr(pngPtr))->read((char*)data, length);
|
||||
|
|
@ -122,6 +124,10 @@ public:
|
|||
virtual bool supportsTouchscreen();
|
||||
virtual bool hasBuyButtonWhenInvalidLicense();
|
||||
|
||||
virtual void openURL(const std::string& url) {
|
||||
ShellExecuteA(NULL, "open", url.c_str(), NULL, NULL, SW_SHOWNORMAL);
|
||||
}
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue