Search found 41 matches

by The_CodeMaster
Wed Jan 05, 2005 11:35 am
Forum: Coding Questions
Topic: How to programmicly convert rgb(255,255,255) to $FFFF00 ???
Replies: 22
Views: 7296

Until then, anybody have a way to change the colors of the four corners of a Sprite3D?


Manual
The 2D sprite used to create the 3D sprite must not be deleted when a 3D sprite use it. A single 2D Sprite can be used by any number of 3D Sprite.


mmm... Somehow I know there is a way to perform ...
by The_CodeMaster
Wed Jan 05, 2005 12:34 am
Forum: Coding Questions
Topic: nesting commands
Replies: 9
Views: 2202

@Tomio: Btw, I think your topic better fits in the 'feature requests and Wishlists' section.
Maybe you could phrase it like the abbility to use for ex. a '*' before a procedure by which you mean a direct pointer to the procedures return value. If the procedure hasn't got a return value 0 is passed ...
by The_CodeMaster
Tue Jan 04, 2005 11:05 pm
Forum: Coding Questions
Topic: nesting commands
Replies: 9
Views: 2202

I would say that if you are nesting functions then you must respect types. If you want to use pointers, then move use a variable.
Like I allready said, thx GedB :lol:
by The_CodeMaster
Tue Jan 04, 2005 10:53 pm
Forum: Coding Questions
Topic: nesting commands
Replies: 9
Views: 2202

You wrote:
So: >>> in case I'm right <<< --> PeekB(@StringField(...)) should be ok also.

It's not a bug (rather a personal oppinion), it just isn't the way purebasic works when using @ for procedures/functions. You'll just have to store your string in a variable first.

Edit: But your right ...
by The_CodeMaster
Tue Jan 04, 2005 2:44 pm
Forum: Coding Questions
Topic: nesting commands
Replies: 9
Views: 2202

PeekB(@StringField(t2$,2,"."))
Is also valid but I don't think that's of any use

PeekL(@StringField(t2$,2,".")), however will just return the offset of the StringField()-function like I allready said.
by The_CodeMaster
Tue Jan 04, 2005 2:26 pm
Forum: Coding Questions
Topic: nesting commands
Replies: 9
Views: 2202

euhm.. PeekB()-function expects a memory adress as parameter, not a string like the StringField()-function returns.

Trim(StringField(t2$,2,".")), however is a valid nested command.

You only need to respect the datatypes from the functions u use, then you can nest as many as you want.
When you ...
by The_CodeMaster
Tue Jan 04, 2005 2:04 pm
Forum: Off Topic
Topic: Save a program's state
Replies: 8
Views: 2995

WinXP can save it's entire state so when you reboot you'll get your desktop back as you left it. The problem is that this is only possible directly before windows starts.
But saving and restoring just a part of the memory :? ...

From what I can tell, I don't think Bonne_den_kule means in a ...
by The_CodeMaster
Mon Jan 03, 2005 6:20 pm
Forum: Off Topic
Topic: ASCII Onslaught 3D
Replies: 15
Views: 7104

anyway, thank for the info :wink:
by The_CodeMaster
Mon Jan 03, 2005 6:19 pm
Forum: Off Topic
Topic: ASCII Onslaught 3D
Replies: 15
Views: 7104

It can be done, but really because of the nature of C++ theres no one compiler that can just make everything static, because all compilers could.
I realise that every win32 aplication use dll's, but I meant a compiler that only uses the standard windows dll's.
by The_CodeMaster
Mon Jan 03, 2005 5:54 pm
Forum: Off Topic
Topic: Save a program's state
Replies: 8
Views: 2995

That's verry difficult, since your program (and all your variables) are somehow randomly (where there is space available) allocated.

I mean if you were capable to capture a programs state, you'll have to put it back in the same memory-adress, else your pointers to variables wil be invalid. Now what ...
by The_CodeMaster
Mon Jan 03, 2005 1:47 pm
Forum: Coding Questions
Topic: Text is not displayed in string gadget
Replies: 4
Views: 1538

Problem solved, seemed to be a too short Delay Time that caused the problem
Your code worked perfectly on my machine.
by The_CodeMaster
Mon Jan 03, 2005 1:43 pm
Forum: Coding Questions
Topic: Text is not displayed in string gadget
Replies: 4
Views: 1538

All right then, but when you upload code, can you please use the code-tag!!! Else i'll have to paste the code first in a word-document before I can paste it properly in PB.
by The_CodeMaster
Mon Jan 03, 2005 1:09 pm
Forum: Off Topic
Topic: Future?!
Replies: 13
Views: 3841

euh, a new version of red alert? now that's a major breaktrhough

Well, the story has to end somewhere...
Did you ever played Generals?

Btw: C&C, Red Alert, Tiberian Sun, Firestorm, RA2, Youris revenge, Generals and even the FPS Renegade are all part of the Command & Conquer saga. :wink:

Edit: O ...
by The_CodeMaster
Mon Jan 03, 2005 11:42 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] More 3D Commands!!
Replies: 7
Views: 3017

@kawasaki:
Did you allready visited the Ogre website to download the latest version?

all we need now is extended 3D commands for Ogre

And that is impossible? :? Well it depends on what you wan't to extend, but i heard that the Ogre engine is open-scource, which means that you may also edit it ...
by The_CodeMaster
Mon Jan 03, 2005 11:23 am
Forum: Off Topic
Topic: ASCII Onslaught 3D
Replies: 15
Views: 7104

but the OGRE implementation being out of date

True, but there are many more engines that will work fine with PB. If you know a lot of directX, you could even write your one engine.

Btw, you can download userlibs on www.purearea.net which also includes OpenGL-libraries. :wink:

Edit: which C ...