![]() ![]() heightmap generator using Perlin noise, more control of the camera, file versioning, more custom path control, terrain LOD control (for exporting of the terrain), more export format e.g. Due to limited time being able to work on this, some features I've mentioned will be added to the next update e.g. The custom path overrides the default steam path. ini has now been moved to the app root install folder and has 2 additional install path parameters GameGuru default steam path and a custom install path if you have Gameguru on another drive or you want to point the app to a compiled github version on your drive. ![]() This is now fixed in 5.1.2 and sent to buyers. : release v5.1.1/5.1.2] - 5.1.1 fixed issue with shortcuts being removed from desktop, but still had issue when closing if map_data path folder couldn't be found. Still continuing to add code to allow the user to 'scuplt' the terrain, will see how that works out. More tests being done with OBJ format before adding the export code into this app. Hoping to add the code that auto generates heightmaps using Perlin noise either today or tomorrow. Hotkeys added for menu links and links to the You Tube video guides added. : today sees some fixes and updates to the app. V5.3.1 fix (Blitz Terrain Smoothing fix)- sent to all purchasers If extension=".gif" Or extension=".jpe" Or extension=".jpg" Or extension=".bmp"įile = OpenFileRequester("Open image file","","Windows BMP Image (*.bmp)|*.bmp|GIF Image (*.gif)|*.gif|Jpeg Image (*.jpg)|*.jpe *.jpg", 0)įile = SaveFileRequester("Save image file","","Windows BMP Image (*.bmp)|*.I've started a new thread here for anyone who might have any suggestions to improve or has any current niggles and issues that need attention. ResizeWindow(ImgWidth*2, (ImgHeight*2)+MenuHeight) ResizeWindow(ImgWidth/2, (ImgHeight/2)+MenuHeight) SetWindowText_(ParentHandle, "Picture View - "+File+" 100%") ![]() ![]() ImageGadget = ImageGadget(0, 0, MenuHeight, WindowWidth(), WindowHeight()+MenuHeight, UseImage(0))ĪddKeyboardShortcut(0, #PB_Shortcut_O|#PB_Shortcut_Control, #Open)ĪddKeyboardShortcut(0, #PB_Shortcut_S|#PB_Shortcut_Control, #Save)ĪddKeyboardShortcut(0, #PB_Shortcut_Q|#PB_Shortcut_Control, #Quit)ĪddKeyboardShortcut(0, #PB_Shortcut_Pad0|#PB_Shortcut_Alt|#PB_Shortcut_Control, #Actual)ĪddKeyboardShortcut(0, #PB_Shortcut_Add, #Zoom_In)ĪddKeyboardShortcut(0, #PB_Shortcut_Subtract, #Zoom_Out)ĪddKeyboardShortcut(0, #PB_Shortcut_C|#PB_Shortcut_Control, #Copy)ĪddKeyboardShortcut(0, #PB_Shortcut_V|#PB_Shortcut_Control, #Paste)ĭragQueryFile_(hDrop, 0, MemoryID(), 256) SetClassLong_(ParentHandle, #GCL_HBRBACKGROUND, CreateBrushIndirect_(Brush))ĬreateImage(0, WindowWidth(), WindowHeight()) MenuHeight = GetSystemMetrics_(#SM_CYCAPTION)+GetSystemMetrics_(#SM_CYMENU)+8 If OpenWindow(0, 100, 100, 480, 320, #PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_SizeGadget, "Little Image Tool") SetWindowText_(ParentHandle, "Picture View - "+File+" "+StrF(((ImgWidth/IData\width)*100), 2)+"%") If WindowWidth=ptMinTrackSizex And ImgWidth> 16 Global nwidth, nheight, hmheight, hmwidth, rc.RECT Global IData.ImageData, BmpSize, BmpImage, FileSize, loaded.b, WindowWidth, WindowHeight, ImgWidth, ImgHeight, MenuHeight, xImg, yImg, ParentHandle, ptMinTrackSizex, aspect.f, hDC Thanks: Rings for helping me to deal with bitmaps in memory ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |