Arcade Functions

Forum Archive - from http://theuniversal.net
Locked
User avatar
Mattizme
Posts: 615
Joined: Sat Oct 04, 2003 6:23 pm
Location: At work/school/home
Contact:

Arcade Functions

Post by Mattizme »

Mit,

Is there a full list anywhere of the functions included in the Arcade.dll? Just wondering, as this may be useful for people.

Also, how hard would it be to add a couple more things in, such as Adding Lines as well as boxes, and rotating sprites?
User avatar
DeVice
Staff
Staff
Posts: 215
Joined: Fri Oct 10, 2003 9:12 pm
Location: I wish i knew...
Contact:

Post by DeVice »

Again, if Mit give me an idea of what is public and what is not, i can take care of that documenting the arcade stuff part.

As for the extra stuff you ask for, you can do it yourself until we add it : a line is a box that has no height, and as for the rotating sprite you can do it with multiple textures of the same object.

Then if you don't like those dirty hacks, we can add the required functions. 'tis just a question of spending a few minutes on it :)
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

Standardised 2d line routines and rotatable sprites are both planned for the interface.dll eventually... no promises when.
Public Arcade.dll and source will be put up soon. (Tho thats my definition of the word "soon", not everyone elses).

There isnt really anything to document with the arcade.dll itself. It only has like 3 functions, ArcadeInit, ArcadeDraw, ArcadeFree.. somethin like that.
The only thing the arcade.dll does is to pass the program flow into the code you've written yourself, and i cant really document that :]
User avatar
Mattizme
Posts: 615
Joined: Sat Oct 04, 2003 6:23 pm
Location: At work/school/home
Contact:

Post by Mattizme »

I actually meant stuff like InterfaceDrawSprite n sheet like tha.. ah well :]
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

You mean u want docs for the interface.dll? That i can arrange...
User avatar
Knoxjoey
Posts: 98
Joined: Tue Sep 30, 2003 8:52 pm
Location: Canada
Contact:

soourrrceee coodee

Post by Knoxjoey »

i want source coDe my c/c++ became soo rusty cuz i cant think of anything too code (*flogs his non-creative brain) and also i been occupyed with installing gentoo linux :0

source code *starts drolling on the fourm*
User avatar
DeVice
Staff
Staff
Posts: 215
Joined: Fri Oct 10, 2003 9:12 pm
Location: I wish i knew...
Contact:

Post by DeVice »

Here you are :

Code: Select all

void main(void)
{
  while(1)
  {
      fork()
  }
}
Hints :
- i am not sure fork() exists on windows...
- be ready to reboot :D
User avatar
hedgehog
Staff
Staff
Posts: 1057
Joined: Tue Sep 30, 2003 2:57 am
Location: ann arbor, michigan
Contact:

Post by hedgehog »

code fork? omg!

;)
Locked