Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 9940

Pages: [1] 2 3 4
1
Userlibs [ *.gbal] / gbal v2 ?
« on: 2009-Oct-01 »
Can you provide a new(and more secure) version of gbal which can be used for releasing to the public the highly portable glbasic libs ?

2
Thanks !
The 3d version will be open too ?

3
Bug Reports / Re: Wiz - INI files
« on: 2009-Sep-14 »
Sorry, but in my first app something is broken...  :whistle: (perhaps GLB_ON_QUIT may have caused all this ?)

I tried make a new app and all worked  :S

4
Bug Reports / Wiz - INI files
« on: 2009-Sep-10 »
This code doesn't create the ini file on gp2x wiz !  :help:

INIOPEN "file.ini"
INIPUT "a","b","c"
INIOPEN ""

5
IDE/Syntax / Re: Request for "loading" screen
« on: 2009-Aug-23 »
It would also be nice if the default font was a bit more readable too

I agree  :)

6
IDE/Syntax / Re: Request for "loading" screen
« on: 2009-Aug-22 »
 :S not a real solution.

7
IDE/Syntax / Request for "loading" screen
« on: 2009-Aug-22 »
Should be nice if we can modify (translate) the default "Loading..." message before our app start

[attachment deleted by admin]

9
GLBasic - en / Re: glbasic, or ...?
« on: 2009-Aug-09 »
After some months of glbasic programming I came to this conclusion: since glbasic become a c++ translation,
why don't use a big namespace with all glbasic commands for 2D/3D/Souds etc. with all benefits of c++ programming ?
This because a seriously big project written in basic become difficulty to manage.
However if you have in mind to write something which don't needs a team glbasic is a great idea (and you can port your
project to other platforms with a click).

10
GLBasic - en / X_PUTSHADER issue
« on: 2009-Aug-06 »
Code: GLBasic [Select]
uniform vec3 Color;
void main (void)
{
   gl_FragColor = vec4(Color, 1.0);
}
 

Code: GLBasic [Select]
X_SETSHADER 1
X_PUTSHADER "Color", XXXX
X_DRAWOBJ 0, 0
 

What I should put instead of XXXX since X_PUSHADER only supports floats?

11
GLBasic - en / Re: inline call to rename()
« on: 2009-Jul-29 »
If you are using the C func rename() directly, MOVEFILE could be an incorrect name because it can move directory too.

Is DOESDIREXIST() implemented in v7 ?

12
GLBasic - en / Re: inline call to rename()
« on: 2009-Jul-28 »
Quote
Even if Gernot included it, a large file could take a long time anyway.

No, beacause rename can move a file without copy it. Ex: RENAME("file1.dat", "..\\file1.dat")

13
GLBasic - en / Re: inline call to rename()
« on: 2009-Jul-28 »
Quote

Quote
function copy: a$, b$
copyfile a$, b$
killfile a$
endfunction

Yes, it works.. but if you have a huge file/dir it may take long time   
and may not be enough space


14
GLBasic - en / Re: inline call to rename()
« on: 2009-Jul-28 »
Thx  :good:

                                                                                                                 
However I don't think it is hard to make a command like RENAME() integrated in glbasic.

15
GLBasic - en / inline call to rename()
« on: 2009-Jul-28 »
I wish to call rename() because glbasic don't have anything to rename or move files/dirs.
But I get an error. Someone know how can I implement it correctly ?

Code: GLBasic [Select]
INLINE
     }
     extern int rename(const char *_old, const char *_new);
     namespace __GLBASIC__
     {
ENDINLINE

FUNCTION inline_Rename: old$, new$
     INLINE
          rename(old_Str.c_str(), new_Str.c_str());
     ENDINLINE
ENDFUNCTION
 

gpc_temp1.o:gpc_temp1.cpp:(.text+0x248): undefined reference to `rename(char const*, char const*)'


Pages: [1] 2 3 4