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
- 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
- fx_rinvert
- fx_ginvert
- fx_binvert
- fx_rginvert
- fx_rbinvert
- fx_gbinvert
- fx_rscale
- fx_gscale
- fx_bscale
- fx_rgscale
- fx_rbscale
- fx_gbscale
- _rdonly
- _arch
- glib_regions_defined
- GET_SCREEN_COLOR
- SET_SCREEN_COLOR
INT FOPEN(STRING fname, STRING mode, STRING openmode)
new functions for the manipulation of characters and ASCII strings:
- FGETC
- FGETS
- FPUTC
- FPUTS
- filter_scale_scale2x
- - Eliminated: unnecessary constants for the FX
- fx_rgbchannel
- fx_rchannel
- fx_gchannel
- fx_bchannel
- fx_rgchannel
- fx_rbchannel
- fx_gbchannel
- 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%