a bitmap window is for the type of window used, the 2d dungeon view, unusable source code, dungeon master screen is for overworld usable informations, also the software can be used as a rpg table, the current status of this software is testing so it may contains bugs or incomplete structure behavior incomplete integration, incomplete npc or incomplete containing. overworld still retain copyright. generated dungeon still retain copyright. WIN32GAMEIODUNGEONOPUSBITMAPWINDOWDUNGEONMASTERSCREENR002 screen_size(320, 240); screen_pixel_size = 2; init_gameio(); create_window(); //some settings not displayed here. //some settings not displayed here. //some settings not displayed here. load_mainmap_overworld(1); srand((unsigned int)time(NULL)); generate_dungeon(128, 128, 1, 9, 255, 2400); //you appear randomly 256x256 at depth 2 the first level. while (exit_flag==0) { clear_buffer(); if (screen_width==320) rpgtex(); //use also viewport_screen_copy(); if (screen_width==640) show_dungeon(); //also display pathfinding and units. sprintf(as, "WIN32GAMEIODUNGEONOPUSBITMAPWINDOWDUNGEONMASTERSCREENR002"); tprint(12, screen_height - 14, 255, 255, 0); sprintf(as, "Copyright (c) 2021 Jessy Levesque. Hexerun Software. Masters of Dungeons. "); bprint(12, 14, 255, 255, 0); sprintf(as, "Copyright (c) 2021 Jessy Levesque. Hexerun Software. Masters of Dungeons. "); bprint(12, 23, 255, 255, 0); sprintf(as, "Copyright (c) 2021 Jessy Levesque. Hexerun Software. Masters of Dungeons. "); bprint(12, 32, 255, 255, 0); sprintf(as, "SX=%d,SY=%d,SZ=%d mx=%d my=%d", map_sx, map_sy, map_sz, mousex(hWnd), mousey(hWnd)); tprint(12, 46, 255, 255, 0); terminal(); //contains words params, use TAB to access it. //you can use this terminal password env4teleport x y z //then you can access other levels at each two depth starting depth 2. //also screensavertoggle with no parameter. //also save game x and load game x //also get,search or flush doing the same dungeon bitmap flushing effect. if (keydown(VK_RBUTTON)&&screen_width==640) { unit[1].movex=mousex(hWnd)/16+map_sx; //16 for bitmap size unit[1].movey=mousey(hWnd)/16+map_sy; //mousex and mousey return unit[1].move_state=1; //screen_width and screen_height } //coordinates. move_state set //to 1 move to movex and movey. if (cycle%cycle_step==0) { for (int u=0;u