Developer's diary

Started by SplinterGU, October 19, 2008, 01:05:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

josebita

I think that the blitting functions don't work in 32bpp mode because of huge memory usage issues.
I recall discussing this some time ago, and Splinter argued that this would result in a huge memory footprint for Bennu.

SplinterGU

I was made the changes, but I lost them...
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

DCelso

ohh, It's a bad notice. and ¿Did you forget the changes in your mind?
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

SplinterGU

I don't need remember it... I need write lot of code... the changes mean arround 100 or 200 lines of code... I don't remember, but are several lines...
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

RC20 released.

List of changes:

- char[] initialization fix         
- full arrays copy support added
- glyph_set fix
- better error messages
- Added 1bpp png support (save/load)
- Multiple sources can be compiled from command line (like #include)
- new fonts functions, new_fnt or fnt_new.

syntax:

FNT_NEW (CHARSET, DEPTH)
FNT_NEW (FILE, GRAPH, CHARSET, WITDH, HEIGHT, FIRST, LAST, FLAGS)

where CHARSET can be:

CHARSET_ISO8859
CHARSET_CP850

where flags can be:

NFB_VARIABLEWIDTH
NFB_FIXEDWIDTH

The most sexy function is the last one [ FNT_NEW (FILE, GRAPH, CHARSET, WITDH, HEIGHT, FIRST, LAST, FLAGS) ], this function allow us create font from maps loaded in memory.

- Video blitter crash fix
- Optimize memory used for strings in compilation
- Fix max sources files in debug information (before 256, now 4093)
- Fix dcb version detection
- Several improvements in the core
- Better debug info messages
- Compilation warnings now are disabled by default
- New lib system, now can be possible build dcl libraries.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

- New version, fix functions are interpreted as process
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

- mod_debug fix, for support new dcb files.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

handsource-dyko

Cool that it's now possible to create fonts. I could envision a font creation tool being made with bennu. Very handy that you can create dcb libs, (I've peeked on the spanish forum) that seems very usefull for a modular software design approach. Can you compile the dcl files seperately and update these library functions without having to recompile the entire program that uses it? That would make it possible to make a build system.

I've read that it's now possible to copy array's. Can this also be used for structs, and does the size matter? I suppose the target array needs to be the same size or larger then the source array.

SplinterGU

At this moment, you need rebuild your dcb... maybe in the future this don't be necessary.

you can copy arrays and structs, don't matter size, well the elements to copy must be same size.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

#55
- fix dcl system
- fix debug in libmode

This is an important bug if anybody use dcl files or compile using a dcl file... I must release a new version..
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

- add build compile script for mingw32 cross on linux
- change all sdk now on /opt
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

handsource-dyko

If I undstand this correctly, I can now compile a win32 version of bennu in linux without having to use that dreadfull mingw32 on windows?
(something I did not get to work at all because I'm stupid when it comes to make and gnu tools wich require the knowledge of a rocket scientist).

josebita

Yeah, that's right!
You can now compile bennugd for windows using the dreadful mingw32 on linux!  :P

SplinterGU

without no...

you must compile using mingw32 linux.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2