Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / [GDK] No Delete/Destroy Terrain Commands

Author
Message
Proteus 1935
15
Years of Service
User Offline
Joined: 17th Oct 2008
Location:
Posted: 18th Oct 2008 05:01
that's it...

I was kind of hoping for a work around posted around here but couldn't find anything



---
Used to be Proteus... before the dark times... before.. engineering...
ralthan
14
Years of Service
User Offline
Joined: 23rd Nov 2009
Location:
Posted: 30th Dec 2009 20:31
any update on this? Will the terrain be cleaned up automatically?
Mireben
15
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 27th Feb 2010 14:55 Edited at: 27th Feb 2010 15:02
Bump, it seems there is still no way to delete a built terrain. I tried to use dbDeleteObject, as well as declaring dbDeleteTerrain (it is not in the header file), but both crash with access violation. I tried dbDestroyTerrain as well (inspired by a DB Pro thread) but it does not even compile. There should be a possibility to remove a terrain and build another one, for changing levels in a game. (Dark GDK version 7.3.)

I attached a project but this is nothing else than a simplified version of the terrain demo in the tutorials, with my attempt to delete the built terrain on a keypress.

Attachments

Login to view attachments
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 28th Feb 2010 00:31
Yes, that's a bug in both senses - no prototype, and crashes anyway.

Login to post a reply

Server time is: 2024-03-28 21:42:01
Your offset time is: 2024-03-28 21:42:01