Bennu WIP 2

Started by SplinterGU, January 25, 2008, 08:24:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SplinterGU

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

Sandman

Wonderful news this is!

I got a few questions/remarks though:

* Why are min_int and max_int -32767 and +32767 ? For min_int a value of -32768 would have been more logical. Also why are they those values as DIV had +-2^31 instead of +-2^15. It's like this in Fenix as well, but why?

* mod_key has:
        _R_WINDOWS     98   (DWORD)
Which should be 99 if I'm not mistaken?

* Perhaps add the constant ALL_DRAWING with value 0 in mod_draw?

* Didn't you update mod_joy a while ago?

Hope to see it finished! What modules are left? :)
-- Sandman

SplinterGU

* Max and min are ancient error belongs to fenix... I track it to my source oldest fenix version (0.74)... thanks...

* _R_WINDOWS, I don't know... allways have this value... is correct or not, I don't know... I'll check it... thanks...

* Yes, some constants will add in the future...

* This is my last WIP version, I don't update it yet...

I now need to check the whole project to be able to answer that. But at this moment I have in plans (it's a draft, not final):

libgr
libkey
libmap
libpal
libprofiler

mod_blendop
mod_cd
mod_debug
mod_dir
mod_draw
mod_effects
mod_fbm
mod_file
mod_flic
mod_font
mod_fpg
mod_image
mod_joy
mod_key
mod_m7
mod_map
mod_math
mod_mem
mod_pal
mod_pathfind
mod_proc
mod_rand
mod_regex
mod_scale
mod_scroll
mod_sdlevthandler
mod_sort
mod_sound
mod_string
mod_sys
mod_text
mod_time
mod_timers
mod_wnd
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

The correct limit table is this:

    { "MIN_INT"     , TYPE_INT  , -2147483648L },
    { "MAX_INT"     , TYPE_INT  , 2147483647UL  },
    { "MIN_DWORD"   , TYPE_DWORD, 0           },
    { "MAX_DWORD"   , TYPE_DWORD, 0xffffffff  },
                                               ,
    { "MIN_SHORT"   , TYPE_SHORT, -32768      },
    { "MAX_SHORT"   , TYPE_SHORT, 32767       },
    { "MIN_WORD"    , TYPE_WORD , 0           },
    { "MAX_WORD"    , TYPE_WORD , 0xffff      },
                                               ,
    { "MIN_CHAR"    , TYPE_CHAR , -128        },
    { "MAX_CHAR"    , TYPE_CHAR , 127         },
    { "MIN_SBYTE"   , TYPE_SBYTE, -128        },
    { "MAX_SBYTE"   , TYPE_SBYTE, 127         },
    { "MIN_BYTE"    , TYPE_BYTE , 0           },
    { "MAX_BYTE"    , TYPE_BYTE , 0xff         },

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

Sandman

Ah okay that's cool. Good work. :)
-- Sandman