ENIGMA Forums
Contributing to ENIGMA => Function Peer Review => Topic started by: RetroX on December 05, 2010, 04:40:20 pm
-
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.
-
Thanks for including the arguments, unlike Josh, who only keeps the argument number. *loud sigh that can heard across the hall*
-
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.
-
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.
-
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.
-
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
-
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.
-
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"`
-
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.
-
You should rename everything. Folders names like "Ism's Concoction" are horrible.
-
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....
-
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.
-
What did you use to match up thous two lists?
#!/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
-
Damn, I don't have Linux. I could use cygwin, but I had problems with it before, so no thanks.
-
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.
-
Was trying out a quick example with a DLL
turns out you have external_define and external_call, but no external_free? :P
edit: if i have any time tomorrow i'll quickly update the list for you Retro
-
Here you are: http://dl.dropbox.com/u/8555347/enigma-todo.txt
Not too much different to Retro's one, but yeah it's updated. If you want, I can continuously update this. Considering I don't do much else to help the project :P
Except write total fucking bullshit.
EDIT: This document refers to r563
-
Anyone can update it when they want. But thanks.
Did you use the script that I wrote or did you just take out already implemented functions?
-
Yeah I just took out the already implemented functions.