CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 09:33:57 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=2099f5c34085e38c7fbc1c5e7759b18b70cf618449ba2435635d5ab760307816a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22uR3G71UWt-oS7CyU4UsshOaoqqrZVG_C%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cd5bddaff475e9-BLR
diff --git a/gamemgr/bggame.cc b/gamemgr/bggame.ccindex 199186b5f..0702a4a7a 1 - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/gamemgr/bggame.cc b/gamemgr/bggame.cc
- index 199186b5f..0702a4a7a 100644
- --- a/gamemgr/bggame.cc
- +++ b/gamemgr/bggame.cc
- @@ -2239,11 +2239,9 @@ bool BG_Game::new_game(Vga_file& shapes) {
- // visible initially
- }
- SDL_Window* window = gwin->get_win()->get_screen_window();
- -#if !defined(SDL_PLATFORM_IOS) && !defined(ANDROID)
- if (!SDL_TextInputActive(window)) {
- SDL_StartTextInput(window);
- }
- -#endif
- do {
- Delay();
- if (redraw) {
- @@ -2298,6 +2296,16 @@ bool BG_Game::new_game(Vga_file& shapes) {
- } else if (Mouse::mouse() && Mouse::mouse()->is_onscreen()) {
- gwin->get_win()->ShowFillGuardBand();
- }
- + if (touchui != nullptr) {
- + int yoffset = static_cast<int>(-gwin->get_height() / 3.0 + 132);
- + SDL_Rect screenRect = {topx, topy + yoffset, 1, 1};
- + int screen_x = screenRect.x;
- + int screen_y = screenRect.y;
- + gwin->get_win()->game_to_screen(screenRect.x, screenRect.y, false, screen_x,screen_y);
- + screenRect.x = screen_x;
- + screenRect.y = screen_y;
- + SDL_SetTextInputArea(window, &screenRect, 0);
- + }
- SDL_Renderer* renderer
- = SDL_GetRenderer(gwin->get_win()->get_screen_window());
- SDL_Event event;
- @@ -2325,6 +2333,7 @@ bool BG_Game::new_game(Vga_file& shapes) {
- const SDL_Rect rectOnward = {topx + 10, topy + 180, 130, 16};
- const SDL_Rect rectReturn = {centerx + 10, topy + 180, 130, 16};
- SDL_Point point;
- +
- gwin->get_win()->screen_to_game(
- event.button.x, event.button.y, gwin->get_fastmouse(),
- point.x, point.y);
- @@ -2332,7 +2341,11 @@ bool BG_Game::new_game(Vga_file& shapes) {
- if (event.type == SDL_EVENT_MOUSE_BUTTON_DOWN) {
- selected = 0;
- } else if (selected == 0 && touchui != nullptr) {
- - touchui->promptForName(npc_name);
- + if (!SDL_TextInputActive(window)) {
- + SDL_StartTextInput(window);
- + } else {
- + SDL_StopTextInput(window);
- + }
- }
- redraw = true;
- } else if (SDL_GetRectEnclosingPoints(
Advertisement
Add Comment
Please, Sign In to add comment
-
✅ Make $2500 in 20 minutes⭐⭐⭐ N
JavaScript | 5 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 6 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 15 sec ago | 0.24 KB
-
⭐⭐Exchange Exploit⭐⭐ 7
JavaScript | 16 sec ago | 0.24 KB
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 24 sec ago | 0.10 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 24 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ⭐⭐ D
JavaScript | 27 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 33 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand