Gamestudio Links
Zorro Links
Newest Posts
Steal a Brainrot Rare Base Skins: U4gm Tips
by Bauer097. 09/08/26 04:56
U4gm D2R Rumors: Meta-Shaking Changes Ahead
by Bauer097. 09/08/26 03:57
Parent/child object
by Frederick_Lim. 09/07/26 07:00
[MED] Import from FBX (2010) missing!!!
by USER0328. 09/03/26 18:03
Purchase A8 full licence version
by ukgamer. 08/30/26 14:27
ZorroGPT
by TipmyPip. 08/29/26 06:56
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Bauer097), 2,991 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
liop, Bauer097, riggi89, shuhari, KD1990
19232 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