Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 946 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 1 of 6 1 2 3 4 5 6
GSVector #255591
03/11/09 12:40
03/11/09 12:40
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Some people asked me to publish my GSVector plugin.

So here it is:

GSVector.rar

It just provides a standard c++ Vector.

Sorry, there's no documentation yet.

So if you have questions just ask me.

Regards,
Pegamode.

Re: GSVector [Re: pegamode] #255594
03/11/09 12:55
03/11/09 12:55
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
Looking like very usefull thing.
Imho, it dont need documentation, everything is quite clear smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: GSVector [Re: VeT] #255595
03/11/09 13:00
03/11/09 13:00
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Some basic documentation would be nice....

Like, what does it actually do?
What could it be used for?
What datatypes can it store?

Once you answer I'll probable feel pretty dense. But I ask anyway...
Thanks


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: GSVector [Re: EvilSOB] #255661
03/11/09 19:38
03/11/09 19:38
Joined: Mar 2009
Posts: 112
Germany
K
KDuke Offline
Member
KDuke  Offline
Member
K

Joined: Mar 2009
Posts: 112
Germany
Originally Posted By: EvilSOB
Like, what does it actually do?

It is used for dynamically resizing arrays.
With this vector class you can simply add, remove and insert new array elements into an array.

Originally Posted By: EvilSOB
What could it be used for?

I have been one of the guys who have asked for this plugin...
I personally use it for my ingame level editor.
When placing new objects into the level I'm using the vector class to simply add the new objects to my "world"-array which takes care of the positions and attributes of every object.
Furthermore it is usefull for saving memory and calculation time.
With this class you can remove objects out of memory while they are not in a specified range of the player. Things like model-, texture- and sounddata don't have to reside in memory if the player is outside of the visible and audible range to recognize the object.

Originally Posted By: EvilSOB
What datatypes can it store?

As far as I know every datatype available.

Hope this clarifies things ^^

By the way... please correct me if I'm in some way wrong with what I have written here pegamode.

greetings
KDuke


Using A7 Free
Click and join the 3dgs irc community!
Room: #3dgs
Re: GSVector [Re: KDuke] #255678
03/11/09 20:30
03/11/09 20:30
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
heh... where were you month ago, when i only started my editor? laugh


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: GSVector [Re: VeT] #255704
03/12/09 01:42
03/12/09 01:42
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
OK.
KDuke: Thank you for the description, very consise and informative.
pegamode: Thank you greatly for a VERY useful tool.

(and I only feel a little bit dense, but Ive got a great new tool now)


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: GSVector [Re: EvilSOB] #255711
03/12/09 04:10
03/12/09 04:10
Joined: Mar 2009
Posts: 112
Germany
K
KDuke Offline
Member
KDuke  Offline
Member
K

Joined: Mar 2009
Posts: 112
Germany
Oh my God!
I've been so busy answering EvilSOB's questions, I completely forgot to express my unimagable gratitude in mere words.

Thanky you extremely much for this plugin pegamode.
It saves me so much time, I don't know how I can make it up for this handy plugin.

greetings
KDuke


Using A7 Free
Click and join the 3dgs irc community!
Room: #3dgs
Re: GSVector [Re: KDuke] #255719
03/12/09 08:05
03/12/09 08:05
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi everybody,

good to hear that it's for you as useful as it is for me.

My current projekt is a point&click adventure and for that I wrote an adventure system as base and I don't know how I would have realize that without using a hashmap and a vector.

If there are any more questions ... ask them :-)

Regards,
Pegamode

Re: GSVector [Re: pegamode] #256096
03/14/09 17:02
03/14/09 17:02
Joined: Mar 2009
Posts: 112
Germany
K
KDuke Offline
Member
KDuke  Offline
Member
K

Joined: Mar 2009
Posts: 112
Germany
Hm...

now that I'm finally at the point to actually implement GSVector I'm at loss.
Although I've been using Vectors in C++ before I can't get this one running.

A documentation is really needed.

I already managed to insert several values though I only can use
Code:
getFromGSVector(myVector, 0);

As soon as I use another position the engine crashes.

greetings
KDuke


Using A7 Free
Click and join the 3dgs irc community!
Room: #3dgs
Re: GSVector [Re: KDuke] #256103
03/14/09 17:29
03/14/09 17:29
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
A documentation follows in the next minutes ...

I'll also take a look at the getFromGSVector problem ... could also be a bug in the plugin. If so, I'll fix that.

Page 1 of 6 1 2 3 4 5 6

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

Gamestudio download | chip programmers | 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