Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,546 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Redefine BMAP pointer [Re: Uhrwerk] #436163
01/20/14 20:26
01/20/14 20:26
Joined: Apr 2005
Posts: 796
U.S.A. Michigan
exile Offline OP
User
exile  Offline OP
User

Joined: Apr 2005
Posts: 796
U.S.A. Michigan
Because that would mean I have to create a new pointer for each BMAP. i want to be able to support user generated maps along with "official" maps. Since the list of maps and gametypes is populated into a list and that list may vary from person to person, there isnt any way I can think of which would allow that.

Re: Redefine BMAP pointer [Re: exile] #436164
01/20/14 21:05
01/20/14 21:05
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
I still don't get it. Copying the stuff over with bmap_blit does not change the bitmaps addresses. It just changes the bitmaps contents. That is exactly what you asked for in the first place:
Originally Posted By: exile
Essentially I need to change the contents of the BMAP pointer without changing the pointer itself
Sorry if I am mistaking you somehow...


Always learn from history, to be sure you make the same mistakes again...
Re: Redefine BMAP pointer [Re: Uhrwerk] #436168
01/20/14 22:06
01/20/14 22:06
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
I dont want to be the guy in the middle who gets hit with the 'trace', but I think Ch40zzC0d3r was only trying to help - I dont believe he was trying to hurt anyone. He is only learning, just as we all are in many new areas - His advice was only an input, not a command.

Anyway, Couldn't you set it up into a function that holds all the bmaps in one section, the maps in another and so on? I realize you are trying to avoid this for what I would assume to be professional and learning reasons, however...

function calculate_map_settings(){

vote_pan.bmap = vote_panel;
if(vote_ran == 1){vote_panel = <thismap.bmp>;}

}

I stopped before I went to far ahead. I would never want to insult you with this primitive stuff you already know - but this is what I would do.

Cheers.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1