Re: Loadlib and patch order...
Status: Alpha
Brought to you by:
cwalther
From: Andrea V. <and...@gm...> - 2008-01-21 09:15:43
|
Hi, Christian. I'm happy that your surgery has gone well, So, now you are at home, in your bed... with your Powerbook... and you have a lot of time to spent with working on Pipmak.......!! ;) About methods for read and write: to read a text file, I can use dofile() if I the file format is Lua, it's ok, the real lack is the write method, because now I have no way to write a file! I think that your idea to associate write/read method to a dialog is not so bad, My only doubt was (thinking to a general use of read/write) that during a game should not appear the dialog window with the request of a file name, if the game, for some reason, wanted to be saved some information on file to re-read that at a later time ... But probably, This case may never be... and I could do the same just storing data in memory... Ok for read/write methods with dialog. By the way, are you thinking of implementing the dialogs for writing and reading files, inside pipmak (i.e.: without using OS API)? This is not only for future methods read / write, but also for opening Files .pipmak and .pipsave, that currently use API from host OS, but these can not be used in Fullscreen mode (they force a return to a windowed mode), and also in windowed mode, while these dialog windows are shown, the main window of Pipmak is no longer updated (of-course it is not serious, and also useless, but it's a little ugly, see the window under the dialog become white or with pieces of extraneous windows inside...ok, this happen in Windows...) Anyway, a thing to put at the very end of the TODO list... About 3D patches order, I think that permit showing them in their geometrical order, if this don't require a lot of coding, should be a very good idea, At limit, you could add a flag field in the patch method or elsewhere to enable/disable the deep buffer if you want preserve the drawing order... Well,I don't know if we really need a flag..., probably the good thing is use geometrical order only with 3D patch, and drawing order in all other cases, but we have to thought about the using of both patches type (3d and traditional) in the same scene. Bye and Wishes for your speedy recovery. (Probably there are some idiomatic phrase to tell this, but I don't known that, in Italian: "Auguri per la tua guarigione." Andrea |