Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Quad, AndrewAMD, 1 invisible), 18,256 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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