Merge pull request #79 from RobertBColton/master

Implemented GLSL Shader Functions
Merge pull request #91 from RobertBColton/master

Outlined Material Surfaces
Added some action functions.
Merge branch 'master' of github.com:enigma-dev/enigma-dev
Merge pull request #93 from RobertBColton/master

Vertex Pointer Patch
Merge pull request #94 from RobertBColton/master

Fixed Debug Mode
Fixed background define error
Fixed string_copy.
Added event_perform and user events. Note that the event system needs to be changed somehow to cater to event_perform as things like the sub checks from events.res do not want to be included in the event call and it messes up a lot of the calls as things stand. So right now event_perform can be used nicely with some of the events but not all, user events are fine if you want to use them.

For note I just added the event_perform functions and constants in action.h because I didn't know where to put them and I'm lazy. So they need to be moved at some point.
Merge pull request #97 from RobertBColton/master

Rewrote Models
Merge pull request #98 from RobertBColton/master

Model Drawing Overload's
Implemented new shape pointer functions.