<<< Gemix BETA 5.5 >>>

Updates, releases and the last news about the programming language.

<<< Gemix BETA 5.5 >>>

Postby CicTec » Mon Mar 09, 2009 10:13 pm

NOTE: the BETA version usage is FREE and valid until the FINAL version (see = README =.TXT for license info)

07/03/2009 BETA 5.5
---------------------------
  • + Added: new function REFRESH_AUDIO_SETUP that substitutes the old functions RESET_SOUND and SET_VOLUME which will keep working for compability, the following constants are added for the function:
    • refresh_audio_engine
    • refresh_audio_volume
  • + Added: new dynamic graphics system, now it is posible to create/load an unlimited number of graphics with the functions LOAD_MAP, LOAD_PCX, NEW_MAP and WRITE_IN_MAP (1000 in DIV2)
  • + Added: new functions to manipulate the program window:
    • CLOSE_WINDOW
    • GET_DESKTOP_SIZE
    • GET_WINDOW_POS
    • GET_WINDOW_SIZE
    • HIDE_WINDOW
    • HIDE_WINDOW_FRAME
    • IS_FRAMELESS_WINDOW
    • IS_MINIMIZED_WINDOW
    • IS_VISIBLE_WINDOW
    • MINIMIZE_WINDOW
    • MOVE_WINDOW
    • RESTORE_WINDOW
    • SHOW_WINDOW
    • SHOW_WINDOW_FRAME
  • + Added: new constants for the FX:
    • fx_rinvert
    • fx_ginvert
    • fx_binvert
    • fx_rginvert
    • fx_rbinvert
    • fx_gbinvert
    • fx_rscale
    • fx_gscale
    • fx_bscale
    • fx_rgscale
    • fx_rbscale
    • fx_gbscale
  • + Added: new functionalities in FILEINFO.ATTRIB to find out if a file or folder is read-only or if it is a file, and new constants:
    • _rdonly
    • _arch
  • + Added: new dynamic regions system, now it is posible to define up to 65536 regions with the function DEFINE_REGION (128 Gemix beta 5.4, 32 in DIV2)
  • + Added: new constant for GRAPHICLIB_INFO to obtain the number of regions defined in the program:
    • glib_regions_defined
  • + Added: support of up to 32 arguments in the command line (argv), (9 in DIV2)
  • + Added: new functions to set and get a color of the screen:
    • GET_SCREEN_COLOR
    • SET_SCREEN_COLOR
  • + Added: support for the creation of text files, new overload in the function FOPEN:
    INT FOPEN(STRING fname, STRING mode, STRING openmode)
    new functions for the manipulation of characters and ASCII strings:
    • FGETC
    • FGETS
    • FPUTC
    • FPUTS
  • + Added: new render filter Scale2X and constant:
    • filter_scale_scale2x
--------------------------------------------------------------------------------------------------------------------------------------------------
  • - Eliminated: unnecessary constants for the FX
    • fx_rgbchannel
    • fx_rchannel
    • fx_gchannel
    • fx_bchannel
    • fx_rgchannel
    • fx_rbchannel
    • fx_gbchannel
  • - Eliminated: filter scanline2x for the scale modes and constant:
    • filter_scanline_2x
--------------------------------------------------------------------------------------------------------------------------------------------------
  • # Modified: use of the INVERT and SCALE effects, now it is not necessary to use the FXCOLOR parameter or variable
  • # Modified: constant FX_RGBSCALE -> FX_GRAYSCALE for a more intuitive use
  • # Modified: values of the special FX to differentiate then from blend FX:
    • FX_INVERT (15) -> (1001)
    • FX_GRAYSCALE (16) -> (1008)
    • FX_TINT (17) -> (1015)
--------------------------------------------------------------------------------------------------------------------------------------------------
  • * Fixed: bug in MOVE_SCROLL that was causing the crash of the program in some cases
  • * Fixed: bug that was causing incorrect playback of the volume of the MIDI notes in rare cases
  • * Fixed: bug in the compiler that wasn't allowing to use names with accentuated characters if an equal name without accents had been defined before
  • * Fixed: bug in a 16/32 bits fullscreen program that was crashing it if the window was restored because of the interruption of another program
  • * Fixed: bug in MAP_BLOCK_COPY that was generating a bad execution error 110, (Not valid code of graphic) instead of 121 (A nonexistent graphic was used) when the graphic code passed as parameter wasn't exist (DIV2 compability)
  • * Fixed: bug in LOAD_FPG that was not generating the execution error 109 (Not valid code of file (FPG)) when a library code that hadn't been loaded was passed as parameter (DIV2 compability)
  • * Fixed: bug in SCAN_CODE that wasn't updating the variable if the key code pressed was lower than the last one
  • * Fixed: bug in START_SCROLL that was incorrectly initializing internal data used by the scroll system when a graphic code of 0 was passed as first plane parameter and more scroll windows were used
  • * Fixed: bug in START_MODE7 that was incorrectly initializing internal data used by the mode7 system when a graphic code of 0 was passed as main graphic parameter and more mode7 windows were used
  • * Fixed: bug thas was preventing the de-reference of pointers using *ptr and ^ptr
  • * Fixed: bug that was causing the compiler to crash if the program name (PROGRAM name) wasn't followed by the instruction termination symbol (;)
  • * Fixed: bug that was causing the compiler to crash if the program had a comment at the end and it wasn't followed by a new line character
  • * Fixed: bug that was causing the client area of a program not to update in window mode after a call to SET_MODE or SET_FILTER_MODE with a scaling filter, if they was called when the window was minimized and then it was restored
  • * Fixed: values returned by audio functions that were causing anomalies in the program when certain function combinations were used
  • * Fixed: bug in functions FADE, FADE_OFF and FADE_ON that was causing the fading system to block if they were called inside a loop
  • * Fixed: memory leak in the scroll system when the program was closed
  • * Fixed: bug that was preventing the use of the 10th scroll and mode7 window
  • * Fixed: bug that was preventing the real time update of WRITE and WRITE_INT texts in some cases
  • * Fixed: bug when updating the process anty-block system if the value of the MAX_PROCESS_TIME variable was modified
  • * Fixed: bug in the syntactic compiler
  • * Fixed: bug in 8bits fullscreen mode that was causing a bad visualization in some cases
  • * Fixed: bug in GET_DIRINFO that was causing the program to crash if it was used to get a listing of a folder with more than 250 items
  • * Fixed: bug in the management of graphic flags that was causing a bad behaviour and/or the crash of the program in a few cases
  • * Fixed: bug in ENCODE_FILE, DECODE_FILE, COMPRESS_FILE, UNCOMPRESS_FILE and MKDIR that weren't accepting the character "/" in the path passed as parameter
  • * Fixed: bug in WRITE that was preventing the creation of texts if a variable not of type STRING that was containing a text (DIV2 compatibility)
    (ej: INT txt = "hola";)
    was passed as parameter
  • * Fixed: bug in PLAY_SONG, PLAY_MUSIC, PLAY_MIDI and PLAY_CD functions that was allowing to play a higher number of songs although only one channel was reserved (audio_setup.x_channels = 1)
  • * Fixed: bug in LOAD_PCX, CLONE_MAP, LOAD_MAP, ADD_FPG_MAP, CLONE_FPG, LOAD_FPG and LOAD_FPG_MAP functions when loading/setting the name and description of the graphics
  • * Fixed: bug in 8bits mode when addapting the graphics with the same palette to the current one when FORCE_PAL was used
  • * Fixed: bug when playing FLI/FLC videos when FRAME(%) was used after a call to FRAME_FLI
  • * Fixed: bug in the scaling algorithm that was causing the crash of the program in some cases
--------------------------------------------------------------------------------------------------------------------------------------------------
  • ! Information: SOFT FX INVERT algorithms optimized, faster than 10 ~ 30%, and MMX FX INVERT algorithms optimized, faster than 10 ~ 40%
  • ! Information: SOFT FX SCALE algorithms optimized, faster than 10 ~ 15%, and MMX FX SCALE algorithms optimized, faster than 10 ~ 25%
  • ! Information: 32bits blitter algorithms optimized, faster than 3 ~ 10%
  • ! Information: 32Bits SOFT FX optimized: AND, OR, XOR, G, RG, RB, GB, faster than 3 ~ 10%
User avatar
CicTec
 
Posts: 16479
Joined: Thu Jul 31, 2008 10:18 pm

Re: <<< Gemix BETA 5.5 >>>

Postby CicTec » Sun Apr 05, 2009 11:22 pm

NOTE: the BETA version usage is FREE and valid until the FINAL version (see = README =.TXT for license info)

05/04/2009 BETA 5.5 Revision
--------------------------------------
  • + Added: new function FILE_EXISTS to find out whether a file exists
  • + Added: support up to 2048x2048 px search maps for PATH_FIND (254x254 in DIV2)
--------------------------------------------------------------------------------------------------------------------------------------------------
  • # Modified: internal running of LOAD_FNT, now it is possible to load a FNT file format even if it has another extension (DIV2 compatibility)
--------------------------------------------------------------------------------------------------------------------------------------------------
  • * Fixed: bug in GET_DATE and GET_TIME functions that wasn't returning the right text string in some cases
  • * Fixed: bug that was preventing the use of NEW_FPG_MAP overloads
  • * Fixed: bug in SET_POINT that was causing the crash of the program in some cases
  • * Fixed: bug in the 1 and 2 parameters versions of PLAY_SOUND that were ignoring the VOLUME and SPEED parameters seted by a previous call of SOUND_SET_ATTRIB
  • * Fixed: bug in the right displaying of FLI/FLC videos (DIV2 compability)
  • * Fixed: bug in LOAD_MAP, LOAD_FPG and LOAD_FPG_MAP that was causing a bad behaviour or the crash of the program when trying to load an invalid or corrupted MAP or FPG, now a runtime error is displayed and the program continues executing without problems
  • * Fixed: bug in additiveblend + alpha MMX 16 bits that was causing bad effects in some cases
  • * Fixed: MIDI codec, now ignores the notes with bad data
  • * Fixed: bug in EXIT function that wasn't executing when a character of a string instead the string itself was passed as first parameter, ej:
    STRING txt = "Gemix";
    EXIT(txt[4], 0);
  • * Fixed: bug in allowing the definition of a parameter in a PROCESS/FUNCTION in the following forms:
    var
    INT var
    POINTER var
    INT POINTER var

    when another global variable, array or structure with the same name existed, now a compilation error is generated
  • * Fixed: bug in FX TINT 32bits which was interpretating the value of FXCOLOR as 16bits
  • * Fixed: bug in LOAD_MAP, LOAD_FPG and LOAD_FPG_MAP when loading the control points defined when a MAP/FPG of another color depth was loaded
  • * Fixed: bug in QSORT when using the random mess mode (2), the whole data structure wasn't used in a right form
  • * Fixed: bug in rotation allgorithm that was causing a bad behaviour in the display of the rotated graphic


see algo:
GMXEdit revision.txt
FPG Edit revision.txt
MAP Edit revision.txt

for the ADD/BUGFIX of the temporals tools (spanish only)
User avatar
CicTec
 
Posts: 16479
Joined: Thu Jul 31, 2008 10:18 pm


Return to News and Releases

Who is online

Users browsing this forum: No registered users and 1 guest