Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (JeyKey II, Quad, EvanTJ), 6,065 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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