Greetings All
Ok, I have just finished sorting out all my include files for all of my projects, and gotten them together into a nice neat bundle to make it easier for myself to get started in new projects
And, since I figured that it may be usefull, I have decided to release all of what I have to this ( and any other ) community as Open Source.
The download attached is a .rar of the include files, along with examples on how to use all the functions. (
Here is the file also )
The Functions
Here is a list of all the functions that are available;
2D.dba:
_inzone()
_centre_justify()
_wrap_text()
_2D_dist()
_box()
_octagon()
_find_free.dba:
_find_free_dll()
_find_free_memblock()
_find_free_object()
_find_free_sound()
_find_free_music()
_find_free_animation()
_find_free_bitmap()
_find_free_effect()
_find_free_image()
_find_free_light()
_find_free_limb()
_find_free_matrix()
_find_free_mesh()
_find_free_pixelshader()
_find_free_particles()
_find_free_sprite()
_find_free_terrain()
_find_free_vertexshader()
_find_free_file()
input.dba:
_input_init()
_input()
_input_change()
_input_set_active()
_input_get()
_input_get_active()
menu.dba:
_menu_draw()
_menu_set_active()
_menu_drag_men()
_menu_toggle_info()
_menu_toggle_drag()
_menu_position(x,y)
_menu_toggle_images()
string.dba:
_strip_space()
_str_delim()
_insert_str()
_cut_str()
_str_change()
_src_str()
Notes
I have tested the examples ( and subsequently all the functions ) on two computers; One High-End, and one Low-End, in versions 5.5 and 5.7 respectivly, so hopefully they should all run smoothly for everyone else's set-up aswell
If, however, all doesn't go as smooth, then post what you have, and I'll see if I can fix it so that you can use the code
All this is in DBP atm only, sorry. So, you DBC'ers, if you want to try, you can port it, but otherwise, you'll have to wait for me to do it ( which may be never
).
I hope you enjoy what I have here, and can put it to good use ( I know I sure can
).
Jess.
PS If anyone thinks this should be in the Code Snippets board, say so, and I'll move it... I just wasn't sure where to put it... as it's not really just a snippet
Team EOD :: Programmer/All-Round Nice Guy
Aust. Convention!