lol. Well i havent been workign on this program in a while, since ive been learnign c++ but i am planning on getting back to the game, and ultimately finishign off the map editor for this game. However i did sort the speed problem before i apaused work on it, and thiswas in the form of blue gui
its got some much more advanced features but still has soem bugs but it is usable
i still however havent allowed the user to input the matrix size, im still unsure as to why i havent, there is some cool texturing, but its still only in the checkerboard style, if any of you can recall i was having issues with trying to create a nice looking texture. anyway the download is attatched, and i will hopefully get back to it in the coming weeks
edit:
also the save and load functions work aswell, however the load function is a bit slow and i intend to basicaly re-write it. maby you can hav a go if you like
heres the code for the saving function:
`save the map
function save(fileName as string,gridamount as integer,tilesize as integer)
if filename<>""
open to write 1,fileName
write float 1,gridamount
write float 1,tilesize
for matxseg=1 to gridamount
for matzseg=1 to gridamount
write float 1,get matrix height(1,matxseg,matzseg)
next matxseg
next matzseg
close file 1
endif
endfunction
and here is the load function:
`load the map
function load(fileName as string)
open to read 1,fileName
read float 1,a#
read float 1,b#
if matrix exist(1) then delete matrix 1
make matrix 1,a#*b#,a#*b#,a#,a#
for matxseg=1 to a#
for matzseg=1 to a#
read float 1,H#
set matrix height 1,matxseg,matzseg,h#
update matrix 1
next matxseg
next matzseg
close file 1
endfunction
and for those who want a pic before they download here are some:
the basic layout of the Program before anythign has been added to the matrix etc..
Loading the primary image ( 9 images amximum )
coosing the random hills mode
choosing texture mode
The texture clickable chioice menu thingy