Search found 12 matches

by AndyX
Wed Jun 27, 2007 4:51 pm
Forum: Tricks 'n' Tips
Topic: Triangle fill algorithm
Replies: 5
Views: 5318

you could get some more speed if you take the function calls like Plot() and Abs() out of the inner loops.

Edit: actually i´ve written something similar some time ago, with more stuff like 3D camera with rotation and movement, a terrain generator, perspective correct texture mapping, z-buffering ...
by AndyX
Sat Feb 10, 2007 11:47 pm
Forum: Feature Requests and Wishlists
Topic: OOP in PB?
Replies: 106
Views: 24999

Brice Manuel wrote:So you hate us because we like PB and you hate us because we are adults and can accept Fred's answer that OOP will not be in PB?
Cool down, man. You´re totally embarrassing yourself. :roll:

Fred said some time ago, that he doesn´t want to include OOP in PB. Things can be changed :wink:
by AndyX
Fri Feb 09, 2007 3:23 pm
Forum: Feature Requests and Wishlists
Topic: OOP in PB?
Replies: 106
Views: 24999

I totally agree with Hroudtwolf. I think it would be really really really nice to have OOP in PureBasic :D
by AndyX
Fri Aug 04, 2006 7:38 pm
Forum: Feature Requests and Wishlists
Topic: Adress Change
Replies: 13
Views: 2677

or maybe, in particular case, you can use the 'swap a, b' keyword.

it works for vars, arrays and elements of linked-lists.

Dim a.l(10)
Dim b.l(10)

For i = 0 To 9
b(i) = 100 + i
Next

Swap a(), b()

For i = 0 To 9
Debug a(i)
Next


With Swap and large amount of datas you won´t know where ...
by AndyX
Fri Aug 04, 2006 7:24 pm
Forum: Feature Requests and Wishlists
Topic: Adress Change
Replies: 13
Views: 2677

yes, it is.

But without having to use the PeekX()/PokeX() commands to get the value.
by AndyX
Fri Aug 04, 2006 6:53 pm
Forum: Feature Requests and Wishlists
Topic: Adress Change
Replies: 13
Views: 2677

But what if its not an array?

What about this:
Structure OBJECT4DV1
id.l
name.s
state.l
attr.l
avg_radius.f
max_radius.f
world_pos.POINT4D
dir.VECTOR4D
ux.VECTOR4D
uy.VECTOR4D
uz.VECTOR4D
num_vertices.l
vlist_local.POINT4D[#OBJECT4DV1_MAX_VERTICES]
vlist_trans.POINT4D[#OBJECT4DV1_MAX ...
by AndyX
Fri Aug 04, 2006 1:55 pm
Forum: Feature Requests and Wishlists
Topic: Adress Change
Replies: 13
Views: 2677

It would really be a nice feature when handling large datas.

for example:
I have a 4x4 matrix that i want to clear out.
I would have to do 16 lines of

matrix\m00 = 0
matrix\m01 = 0
....

Instead of this i could create a nullmatrix and easily set the adress of the matrix to the nullmatrix ...
by AndyX
Thu Aug 03, 2006 5:10 pm
Forum: Feature Requests and Wishlists
Topic: Adress Change
Replies: 13
Views: 2677

Re: Adress Change

AndyX wrote:Will there be a feature in a future version of PB to allow changing the adress of a array,var,...?

Like that in C:

Code: Select all

(int *)var = &other_var;
edit: Please don´t throw stones at me if that is a stupid idea! :D
Is it a stupid idea?
by AndyX
Wed Aug 02, 2006 9:41 pm
Forum: Feature Requests and Wishlists
Topic: Adress Change
Replies: 13
Views: 2677

Stolen it from Freds safe :twisted:

:P
by AndyX
Wed Aug 02, 2006 8:34 pm
Forum: Feature Requests and Wishlists
Topic: Adress Change
Replies: 13
Views: 2677

Adress Change

Will there be a feature in a future version of PB to allow changing the adress of a array,var,...?

Like that in C:

Code: Select all

(int *)var = &other_var;
edit: Please don´t throw stones at me if that is a stupid idea! :D
by AndyX
Thu May 05, 2005 1:06 pm
Forum: Off Topic
Topic: Good Freeware Stuff
Replies: 668
Views: 677291

by AndyX
Wed May 04, 2005 7:04 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Doubles
Replies: 18
Views: 5302

[Implemented] Doubles

Hi,

what I really miss in PureBasic are Doubles! I come form VisualBasic and I really need Doubles...

Plz include them in PB... :)

Greetz,
AndyX