Monday, December 14, 2009

What Do You Put On A Fresh Tattoo

SecondTGA 1.06.1


SecondTGA 1.06.1

I started the redesign of the program , whose heart is written in Rapid-Q, a language that is now showing the years, at least in the graphics. Pe this reason and others, I started building libraries (DLL) have expired.
image, for example, the new (!?!) dialog box, for now only applied to Open BMP and TGA only the File menu. So start sending in the attic vecchia QOPENDIALOG originale. Se ci fossero problemi gradirei un feedback... grazie!

...nel caso qualche Rapid-Quista fosse interessato all'uso della 3Drgb.dll, tra le varie funzioni, che prima poi pubblicherò, quando saranno più mature, riporto qui il codice da includere nel sorgente:

nelle dichiarazioni:

DECLARE FUNCTION OpenFileDialog Lib "3Drgb.DLL" alias "ShowOpenFileDialog" (ByVal wH as long, ByVal fileN as long, ByVal filter as long, ByVal Dir$ as string, ByVal title$ as string) as long


e nelle chiamate, un esempio:

filter$="BMP Files (*.bmp)"+CHR$(0)+"*.bmp"+CHR$(0)+CHR$(0)
sFileName = "" sFileName = sFileName + SPACE $ (254-LEN (sFileName))
IF OpenFileDialog (form.handle, VarPtr (sFileName) VarPtr ($ filter), curdir $,"") THEN
sFileName = MID $ (sFileName, 1, INSTR (sFileName, $ chr (0)) -1)
........
END IF

ps: the topic of $ curdir must contain the path to the folder you want to open initially, but it is already a keyword RQ, do not use it as a variable to another location if you bet! (Lol), the last argument, which I left blank, can contain the name of the window, but me the name April
the default was already great. Then, the strings of C, have brought her to handle this and codes of fixed length string of late ... (Double & Sadec. Zero)

NOTICE: major update to the OpenGL-3DLite vers.0.1.5
FIX charge BMP texture FORM 8 out of line byte rgb (eg 512x513pxl)
Formats this kind should not be completely used in three-dimensional graphics, so I never noticed microzozz coding of these cases (crazy as always, brrrr, forget it). However, even this type of BMP, I repeat, not from usare in world, ora 3DLite se le carica correttamente...

0 comments:

Post a Comment