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,388 guests, and 6 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
Text string posibilities #419485
03/10/13 19:36
03/10/13 19:36
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
so we know about TEXT and possibility to add many strings to it.
But what bother me is manual said about replacing them.
As i know str_cpy dont to that and i just copy content from one string to other.
So i came to conslusion i should be able to make TEXT with 0 strings and add them as i need, but somehow i just dont know how. If im created one with TEXT itself i can change it with (text.pstring)[string_index]; But then i need to get rid of that one empty string.
Please, if any can provide good way how to make this work.


Arrovs once will publish game
Re: Text string posibilities [Re: Arrovs] #419486
03/10/13 19:52
03/10/13 19:52
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
Why solutions always came after posting?
Found solution after running around engine functions and finding function txt_addstring


Arrovs once will publish game
Re: Text string posibilities [Re: Arrovs] #419492
03/10/13 20:54
03/10/13 20:54
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
And even so it isnt gretest function ever.
Now it copy and add string which i passed to text through txt_addstring.
So now i just did things from other side.
Added Text string pointer to just simple used string pointer.
So now i can copy content straight into string without going through text string array.
Sorry for bothering around, but possible its usefull for someone.


Arrovs once will publish game

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