Pages: [1] 2
  Print  
Author Topic: NEEDED FUNCTION LIST  (Read 2943 times)
Offline (Male) RetroX
Posted on: December 05, 2010, 04:40:20 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
I was bored and made one.

I compared GM8's fnames file to the function, definition, and types list for ENIGMA.  Here are the functions and definitions that need to be made:
http://dl.dropbox.com/u/6125077/enigma/needed-stuff.txt

I can imagine this being very useful for some people.

Note that not some things on this list might already be made.  Inversely, there might be things that were inserted as placeholder functions (like show_message) and aren't on this list.
« Last Edit: December 05, 2010, 04:42:26 PM by RetroX » 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? :(
Post made December 06, 2010, 03:51:27 AM was deleted at the author's request.
Offline (Unknown gender) TheExDeus
Reply #2 Posted on: December 06, 2010, 09:41:57 AM

Developer
Joined: Apr 2008
Posts: 1919

View Profile
Quote
Note that not some things on this list might already be made.
Yeah, all text and sprite drawing functions are done. And many of thous functions can be made quite easily. When I finish my curve thing (which is not in GM, so the list is bigger than the GM one), then I will check into doing these. Of course others should pitch in too.
Logged
Offline (Male) RetroX
Reply #3 Posted on: December 06, 2010, 03:44:06 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
This is merely a list of functions.  Even if draw_text is done, others will have to do draw_text_color, etc.

Also, someone please implement c_orange.
« Last Edit: December 06, 2010, 06:18:41 PM by RetroX » 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 (Unknown gender) TheExDeus
Reply #4 Posted on: December 07, 2010, 01:07:44 PM

Developer
Joined: Apr 2008
Posts: 1919

View Profile
All draw_text functions are done.
Also, I did implement c_orange for the curve example, but I haven't had time to merge any of this. I am quite new to this rev thing, and so I don't want to break anything.
Logged
Offline (Female) IsmAvatar
Reply #5 Posted on: December 07, 2010, 01:29:04 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
Graphics_Systems/OpenGL(ES)?/GMcolors.h:

#define c_orange    33023

Graphics_Systems/OpenGL(ES)?/GScolors.h (inside the enum):

c_orange  = 0x0080FF,



Implemented in r542
Logged
Offline (Male) Josh @ Dreamland
Reply #6 Posted on: December 07, 2010, 03:22:17 PM

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

View Profile Email
Let me reiterate (again) that I have no idea why those damn GM*.h headers are still in there. I wrote most of them when I was fourteen. It's time to remove them.

I deleted them years ago and they have since magically resurfaced (Thank you subversion). And as you can see, they're spawning now, and it's kind of obnoxious.
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 (Female) IsmAvatar
Reply #7 Posted on: December 07, 2010, 04:10:11 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
Deleting them from C::B doesn't delete them from your filesystem. Also, not sure how good your svn client is at picking up deleted files and marking them for `svn delete`. At any rate, feel free to go through and `svn delete` them by hand. That should stop them from coming back. After you're done deleting, don't forget to `svn commit -m "Deleted old stuff"`
Logged
Offline (Unknown gender) TheExDeus
Reply #8 Posted on: December 07, 2010, 05:09:56 PM

Developer
Joined: Apr 2008
Posts: 1919

View Profile
Quote
Let me reiterate (again) that I have no idea why those damn GM*.h headers are still in there. I wrote most of them when I was fourteen. It's time to remove them.
Yeah, I hate them too. I wanted to ask you about that but I am sure I already did in the past. Basically, Enigma needs some cleanup. Lots of useless files should be removed, including the GM* ones.
Logged
Offline (Male) RetroX
Reply #9 Posted on: December 07, 2010, 07:32:54 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
You should rename everything.  Folders names like "Ism's Concoction" are horrible.
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 #10 Posted on: December 07, 2010, 08:43:15 PM

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

View Profile Email
That folder's TBR. But I was considering renaming Platforms... I'm still not positive about that layout.
We do need a new directory called "Widgets"... I've not decided how to link that up with GL/DX....
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 (Unknown gender) TheExDeus
Reply #11 Posted on: December 10, 2010, 02:37:46 PM

Developer
Joined: Apr 2008
Posts: 1919

View Profile
What did you use to match up thous two lists?
I have added the missing shape drawing functions, as well as adding some sprite functions to the header. So they will show up in the list now. Also, as I said, all draw_text functions are done. Its just that ENIGMA doesn't load font texture from LGM right now, and so until that is done they will not be added (at least Josh said so). So lets wait.

I will go trough the list and see what I can add.
Logged
Offline (Male) RetroX
Reply #12 Posted on: December 10, 2010, 03:35:39 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
What did you use to match up thous two lists?
Code: [Select]
#!/bin/bash
enigma=`cat enig | sort -u`
gm=`cat gm | sed '/^\/\//d' | sed '/^[[:space:]]*$/d' | sort -u`
while [[ "$gm" != "" ]]; do
  current=`echo "$gm" | sed '2,$d'`
  currentcheck=`echo "$current" | sed 's/[*#]$//' | sed 's/(.*)$//' | sed 's/\[.*\]$//'`
  if [[ `echo "$enigma" | grep "^$currentcheck"` == "" ]]; then
    echo "$current"
  fi
  gm=`echo "$gm" | sed '1d'`
done

enig being a copypaste of the keyword lists, while gm being fnames from GM
« Last Edit: December 10, 2010, 03:40:19 PM by RetroX » 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 (Unknown gender) TheExDeus
Reply #13 Posted on: December 10, 2010, 05:14:00 PM

Developer
Joined: Apr 2008
Posts: 1919

View Profile
Damn, I don't have Linux. I could use cygwin, but I had problems with it before, so no thanks.
Logged
Offline (Male) RetroX
Reply #14 Posted on: December 10, 2010, 07:07:01 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Damn, I don't have Linux. I could use cygwin, but I had problems with it before, so no thanks.
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/

Install MSYS and you can run this script in it. :D

Just put it into a file and run script > list to make a text file with the list contents.
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] 2
  Print