Autor Tema: Bennu WIP 2  (Leído 5209 veces)

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12873
  • Karma: 377
Bennu WIP 2
« en: Enero 25, 2008, 08:24:45 pm »
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Sandman

  • Sr. Member
  • ****
  • Mensajes: 298
  • Karma: 48
Re: Bennu WIP 2
« Respuesta #1 en: Enero 26, 2008, 01:19:32 am »
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

  • Hero Member
  • *****
  • Mensajes: 12873
  • Karma: 377
Re: Bennu WIP 2
« Respuesta #2 en: Enero 26, 2008, 04:14:19 am »
* 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

  • Hero Member
  • *****
  • Mensajes: 12873
  • Karma: 377
Re: Bennu WIP 2
« Respuesta #3 en: Enero 26, 2008, 04:38:14 am »
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

  • Sr. Member
  • ****
  • Mensajes: 298
  • Karma: 48
Re: Bennu WIP 2
« Respuesta #4 en: Enero 26, 2008, 01:11:21 pm »
Ah okay that's cool. Good work. :)
-- Sandman