


the current status of this software is under construction
so it may contains bugs or incomplete structure behavior
incomplete integration, incomplete npc or incomplete
containing.

WIN32GAMEIOSWORDSKEEPERR001UC001

unusable source code passes

pass1:

screen_size(640, 480);
screen_pixel_size = 2;
init_gameio();
create_window();

pass2:

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, "WIN32GAMEIOSWORDSKEEPERR001UC001"); bprint(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);

pass3:

terminal(); //contains words params, use TAB to access it.

pass4:

            if (keydown(VK_RBUTTON) && screen_width == 640)
            {
                unit[selected_unit].movex = mousex(hWnd) / 16 + map_sx;
                unit[selected_unit].movey = mousey(hWnd) / 16 + map_sy;
                unit[selected_unit].umovex = 0;
                unit[selected_unit].umovey = 0;
                unit[selected_unit].move_state = 1;
                unit[selected_unit].move_ustate = 0;
                apath[0].apath_route_rendu[selected_unit] = -9;
            }

            if (keydown(VK_LBUTTON) && screen_width == 640)
            {
                int selx = mousex(hWnd) / 16 + map_sx;
                int sely = mousey(hWnd) / 16 + map_sy;
                
                for (int u = 0; u < UNIT_MAX; u++)
                {
                    if (unit[u].x == selx && unit[u].y == sely)
                    {
                        selected_unit = u;
                        break;
                    }
                }
            }

WIN32GAMEIOSWORDSKEEPERR001UC001

map is 1024x1024 (online type)
currently 256 units move map wide.
unit 1 wait to move map wide.
the research algorithm is shrinked to 64x64 level 1.
the gameio library receives amelioration
toward resizable use and real time use based on research in 64x64.
with this better technology one hundred time more
use can be created !

USE A to select a map size random destination for unit 1.
USE N to toggle and move minimap.
USE M to move window.
RCLICK to move wide map with minimap.

WIN32GAMEIOSWORDSKEEPERR001UC002

CORRECTED MOUNTAIN AND HIGH MOUNTAIN , CAN GO THROUGHT.

WIN32GAMEIOSWORDSKEEPERR001UC003

CORRECTED RENDU TO -9.

WIN32GAMEIOSWORDSKEEPERR001UC004

Installed 3 layers, leaf woods,hills and deserts.
256 structures per map,castles,light towers,dark rifts,dungeons,ruins and grottuses.
First official objective find the 256 structures for each layers. It may be difficult ! 
It is possible to fixate an under scoring or to gather a specific type. Until nexts releases ! An idea is to note it graphically.
Since the structures and maps or layers or buffers are the same always it would be possible to find and complete.

[ seek units lower
] seek units higher

WIN32GAMELIOJ001SWORDSKEEPERR001UC005

Corrected unit displacement for bracket selection.
Corrected unit map selection when moving unit.
Removed circle.

Copyright (c) 2021 Jessy Levesque. Hexerun Software. Masters of Dungeons.