Pages: [1]
  Print  
Author Topic: Brainstorming  (Read 3108 times)
Offline (Male) RetroX
Posted on: March 21, 2010, 02:02:35 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Here's my idea.

Yes, r4 isn't even released, yet.  But we can still help; I mean, most of us know C++ enough to help make some of the functions.

This includes functions that may be useful and aren't on the list.

If it's already made, then... oh, well, I guess.  Also, it's not official or anything at this point, unless Josh decides to make it that way.

Here's the list that hasn't been updated.

Also, even if you don't know C++ or aren't coding anything, you can still post suggestions.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) retep998
Reply #1 Posted on: March 21, 2010, 03:10:28 PM

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
I is doing collisions.
Everyone keep your grubby hands off dem collisions.
Logged
Offline (Male) RetroX
Reply #2 Posted on: March 21, 2010, 05:55:20 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
I is doing collisions.
Everyone keep your grubby hands off dem collisions.
Rite.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Josh @ Dreamland
Reply #3 Posted on: March 23, 2010, 07:00:55 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
Nice to see so many people taking interest in coding things.
... :P

They probably want to wait for a new working version before they start coding. Those who will do any coding for the project at all, I mean. I don't blame them, really.

Besides, 'Whitespace' will make it so they can implement their functions in C++ just as it will look if included in the release, and will let them test their new functions themselves.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) RetroX
Reply #4 Posted on: March 23, 2010, 09:00:03 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
"Whitespace?"
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Josh @ Dreamland
Reply #5 Posted on: March 23, 2010, 09:30:50 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
Half-ass name for a C++ script resource.
Cuz I stick it between C++ whitespace, besically.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) retep998
Reply #6 Posted on: March 23, 2010, 09:56:59 PM

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
Half-ass name for a C++ script resource.
Cuz I stick it between C++ whitespace, besically.
:raise:
Still confused
Logged
Offline (Male) Josh @ Dreamland
Reply #7 Posted on: March 24, 2010, 08:00:57 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
It's a single script that you can use to implement some C++ functions for use throughout the game. You can define your own global variables, your own structures, your own types, your own functions... Whatever you could need, really. Just like with any other library in ENIGMA.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) RetroX
Reply #8 Posted on: March 26, 2010, 08:29:21 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Also, completely random and useless functions that I made for another program:
Code: [Select]
template<typename type>
inline type csc(type value) { return 1/sin(value); }

template<typename type>
inline type sec(type value) { return 1/cos(value); }

template<typename type>
inline type cot(type value) { return 1/tan(value); }

template<typename type>
inline type acsc(type value) { return asin(1/value); }

template<typename type>
inline type asec(type value) { return acos(1/value); }

template<typename type>
inline type acot(type value) { return atan(1/value); }

template<typename type>
inline type acot2(type valuey,type valuex) { return atan2(valuex,valuey); }

template<typename type>
inline type csch(type value) { return 1/sinh(value); }

template<typename type>
inline type sech(type value) { return 1/cosh(value); }

template<typename type>
inline type coth(type value) { return 1/tanh(value); }

template<typename type>
inline type acsch(type value) { return asinh(1/value); }

template<typename type>
inline type asech(type value) { return acosh(1/value); }

template<typename type>
inline type acoth(type value) { return atanh(1/value); }

template<typename type>
inline type acoth2(type valuey,type valuex) { return atanh2(valuex,valuey); }
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Josh @ Dreamland
Reply #9 Posted on: April 05, 2010, 01:10:02 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
R1 used templates for parameters for a while. I thought it was a great idea at the time, praised Dylan for it... It's a terrible idea in retrospect.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) RetroX
Reply #10 Posted on: April 05, 2010, 03:53:32 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
well, I was avoiding repeating them for float, double, and long double like cmath does.

probably is a bad idea
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Pages: [1]
  Print