MoG2 - Level Editor/Game Engine TODO,
priorities: A:MAX, B:NORMAL, C:MINIMUM, D:OPTIONAL
**** Bug
* is needed for the next release
? is implemented but not tested

---------------------------------------------------------------------------------------

+ Demo MOG2:
****A - la demo water_test se ve rara
    - Weapons: rolling fire, fire, mines
    - Increase the test map to force the player to reach the room of the falling stones
    - Create diagonal stairs (like vampire killer ones)
    - Demo:
        - no poder salir de la habitacin del demonio
	- cambio de pantalla con un pequeo fundido (2-3 frames a negro, y otros 2-3 frames a la nueva pantalla)

+ Magical Tree:
	*- Desde las lianas tiene q saltar menos
	*- cuando te caes de una rama (y estabas de pie), se coge con las manos cuando llega a otra rama
	   (y mientras cae suena el FALLSFX)
    *- Also (I'm not completely sure about this), the fall sfx shouldn't be played whenever you jump,
       but when you fall down and can grab a branch before you hit the ground.
    *- I also think that the move sfx is played when you are hanging onto a branch and are moving left/right,
	*- las larvas deben acelerar cuando ests encima de ellas y suben
    - gusanos
    - nubes
	- cambio de msica (y de mapa)
	- aadir rboles de fondo

+ Gauntlet:
*****- a Djarcas se le ve de 320x1
*****- a jason le peta el cyclic (probar en el mac)
    - vida < 400 : "The warrior needs food badly" (SFX) + "insert coins for more health" (TXT)
    - OPCIONAL: cuando los jugadores se alejan demasiado se divide la pantalla (efecto de fundido para
      pasar de unas gamewindow a otras)
    *- SFX de:
        - warrior
        - valkirie
        - elf
    - Seleccionar mapa
    - mensajes tutoriales:
        - "player loses 10 health\nshoot or avoid ghosts" (nosample)
        - hacerlos en 2 lineas (como el original)
        - fuentes BITMAP (una para cada jugador con los nmeros del color q tocan y una general)

+ General:
????A - foreign_object debera ser local a un script?
   *A - Importing objects from other projects, saving only certain parts, etc.:
        - Debera separarse lo siguiente:
            - OBJETOS + APPLICATION (including GAME & INTERFACES)
            - MAPAS
        - Los MAPAS deben poder cargarse on-the-fly:
            - comando: LOADMAP( filename )
            - comando: DESTROYMAP( mapname )
   *A - New Commands:
            - SET_GAME_MODE( mode , file ): have in mind LVKs! (de hecho, el comando ya existe!)
            - LOADGAME( fname ) : have in mind OBJECT VALUES of variables (el comando ya existe!)
            - SAVEGAME( fname ) (el comando ya existe!)
    A - Poder editar la condicin bajo la cual una habitacin activa pasa a pasiva (por tiempo, como ahora,
        o por distancia de jugador, etc.)
    A - Si falta un fichero de video/audio -> dar mensaje de error (con LUCON.TTF dar mensaje especial)
    D - Include the BRAINGAMES logo somewhere (new logo)
    B - Different graphics/sound sets:
        - variables con graphic path y sound path
        - al cambiar el valor de esas variables:
            - la de sonido, reinicia SDL sound subsystem y recarga todos los sonidos. Retoma la msica en
              el punto en el que se detuvo
            - la de graficos, recarga todas las imgenes, y recalcula todas las mscaras de colisin de
              las habitaciones
            - las variables no se transfieren via RED. Sin embargo, si se est jugando en RED, SOLO se
              permite cambiar a otro graphic set si TODAS las collision masks son idnticas
    D - Use ZLIB to compress the game state and save it to disk (and to send the game state to a client).
    C - Complete all the commands in the SCRIPT DEBUGGER: action, condition, value
    A - Network capabilities in ActiveMoG2Application:
        - Variables: port, client name
        - New Commands:
            - bool CONNECT_SERVER( address )
            - int GET_NCLIENTS
            - string GET_CLIENTNAME( client )
    A - In NETWORK game:
        - modificar para soportar LVKs de tamao variable (para joysticks)
        - Automatic wait: if LAG increases too much, FRAME RATE is automatically decreased, until LAG is
          decreased again.
        - In each LVK datagram, a random number is included to check that the random number generators of
          all the clients are synchronized. When desynchronized, send an ERROR message to the clients: the
          server and the clients must save the last consistent game state in order to be able to continue
          playing later.
        - speculative execution (with backtracking) (quick UDP updates from clients to clients)
        - Allow clients to join a game when it has already started (Zlib to send the game state from
          the server to the new client).

+ Game View:

+ Map View:

+ Room View:

+ Object View:

+ Bitmap Grabber:

MILESTONES: --------------------------------------------------------------------------------

v1.0:  improved network + graphic/sound sets + updated guide
v0.94: load/save games + load maps
v0.93: improved game windows + joystick + circular rooms + menu objects
OK - v0.92: Drawing order + application states + new viewport api
OK - v0.91: standalone games + solid_surface + parallax + reflection/refraction + object values
OK - v0.9: room/map/game scripts + music + interfaces
OK - v0.8: SFX + scaling/rotation
OK - v0.7: network
OK - v0.6: drawing modes
OK - v0.5: enhanced scripting
OK - v0.4: complex objects
OK - v0.3: object scripts
OK - v0.2: roomchanges + multiplayer
OK - v0.1: basic editor for rooms and maps

NEW: ---------------------------------------------------------------------------------------

v0.93: IMPROVED GAME WINDOWS + JOYSTICK + CIRCULAR ROOMS + MENU OBJECTS
- soporte para JOYSTICK! los LVKs ahora tienen tamao variable, y el joystick es como una extensin del
  teclado.
- Nueva variable de GAME: "game_cycle" (para sincronizar eventos)
- automatizados los clculos de punto de vista para varios jugadores:
- eliminadas variable gw_focusig de GAMEWINDOW y gw_focusing_x/y
- desaparece el comando GETCURRENTPLAYER
- habitaciones circulares: LEFTRIGHT i/o TOPBOTTOM
    - nota: NO SE DEBE PERMITIR PASAR DE UNA HABITACIN CIRCULAR A OTRA CUANDO HAY VARIAS INSTANCIAS
            DE UN OBJETO EN LA HABITACIN CIRCULAR!!! (pueden darse situaciones extraas!)
- nuevos comandos:
    - ADD_FOCUSING ( int/object )
    - SUB_FOCUSING ( int/object )
    - GET_FOCUSING ( int )
    - CLEAR_FOCUSING
    - int DISTANCE( obj , "X"/"Y"/"XY" )
    - bool VALID_OBJECT( obj )
    - CASE ( key ) { v1 a1 , v2 a2 , ... , vn an }
    - RANDOM_CASE { v1 a1 , v2 a2 , ... , vn an }
- Mejorado en GRID para acelerar las colisiones, y configurable desde el men OPTIONS de ROOM
    (FILE FORMAT CHANGE!!!)
- MENU type of object
    - comandos:
        - ADD_MENUOPTION( name )
        - SUBST_MENUOPTION( name )
        - CLEAR_MENUOPTION
    - se controla con variables:
        - menu_title, menu_active, menu_selected, menu_dx, menu_dy,
          menu_appearance_flags, menu_entry_effect_flags, menu_blink_timmer,
          menu_zoom_factor, menu_appear_factor
- Bugs fixed:
    - Cuando se asignan valores a un FOREIGN object, se deben traspasar a TODAS sus instancias!



v0.92: DRAWING ORDER + APPLICATION STATES + NEW VEWPORT API
- En la demo: se busca archivos *.MG2, si solo hay 1, se interpreta. Si hay varios, aparece un menu
              y se selecciona uno.
- MODIFY permite modificar TODAS las variables de los objetos!
- Si se modifica el valor de cualquier variable de un TEXT_OBJECT, queda reflejado en los editores de
  ROOM y de INTERFACE.
- Se pueden editar textos ms largos como valores de las variables (hasta 128 caracteres)
- MoG2Application tiene STATES igual que los objetos
- Herramienta DRAG, que permite mover objetos dentro de una habitacin/interface
- Sorting function to redraw (to allow Zelda-like games: Dracolich? Gauntlet?):
    NONE, TOPDOWN, BOTTOMUP, LEFTRIGHT, RIGHTLEFT (editable from the PLANES button in the ROOM editor)
- COUNT y COUNT_CHILDREN tienen una condicion (FILE FORMAT CHANGE!!)
- Me he deshecho de la SGE!!!!!!! (ahora el sistema de colisin est integrado en el engine, y ahorro 220KB)
- Updated OGG VORBIS from 1.0 to 1.0.1 (ms compatible)
- New command: ABS( value )
- Aceleradas las rutinas de colisin: ahora se utiliza un GRID (configurable desde ActiveROOM.h)
- en los CONDITIONAL states, cambiar de estado tiene efecto diferente si es un estado EXCLUSIVE o no:
    - en un estado EXCLUSIVE, cuando se ejecuta un STATE, se deja de ejecutar el exclusive, pero en un
      estado NO EXCLUSIVE, se sigue ejecutando
- Cambiada TODA la API de Viewports y focusing objects, nuevos comandos y variables:
    - int = NEW_VIEWPORT(x,y,w,h,interface)
    - DELETE_VIEWPORT(int)
    - int NEW_PLAYER(obj,x,y,map) (en foreign object deja el objeto creado)
    - variable GW_FOCUSING
    - variable GW_FOCUSING_X,GW_FOCUSING_Y (offset con respecto al focusing)
    - eliminado SETVIEWPORTPARAMETERS
    - eliminado SETPLAYER
- Se puede acceder a las variables de las INTERFACES desde un application script:
    - MAKE_VARIABLE ( variable_name , CONCATENATE ( "interface " , ITOA ( interface_num , 1 ) ) )
- Bugs fixed:
    - command TERMINATE_CHILD created some memory leaks
    - temporal strings are now perfectly freed
    - El comando WHILE (y WHILE_ELSE) tenan un problema con la condicin de parada!
    - Eliminados muchos usos indebidos de old_x/old_y en la deteccin de colisiones
    - La colisin con puntos externos a las habitaciones no funcionaba bien!


v0.91: STANDALONE GAMES + SOLID_SURFACE + PARALLAX + REFLECTION/REFRACTION + OBJECT VALUES
- Los juegos pueden ejeturase fuera del engine gracias al proyecto DEMO
- En SENSE_OBJECT, y otros comandos que tengan un parametro STRING con un tipo de constitucin, permiten
  especificar ms de una
- Nuevo tipo de constitucin, SOLID_SURFACE: que solo colisionan por encima
- MoG2 additions:
    - Ascensores del tipo SOLID_SURFACE
- Ha desaparecido la variable TEXT_PARAM, porque ya no tiene sentido
- LAKE drawing mode!! Que permite simular reflexin en agua realista!!!!!
- Su pueden aadir samples a FRAMES de las animaciones! (FILE FORMAT CHANGE!!)
- PARALLAX: Cada plano puede tener una velocidad diferente!!! (FILE FORMAT CHANGE!!)
    - todos aquellos planos que no tengan velocidad 100, no se usan para "colisiones" ni "senses"
- A los objetos GAME_WINDOW se les puede especificar una ventana para centrar el personaje en pantalla! (FILE FORMAT CHANGE!!)
    - con variables: en PORCENTAJE
- Mejorada la gestin de los fps
- El volumen de los SFX est ponderado por su distncia al jugador ms cercano:
    - se definen el rango con las siguientes variables: sfx_atenuation_min-sfx_atenuation_max
- BITMAP FONTS!!!
    - se espeficican en ficheros de (dx*2)*128 x dy
    - ahora el nombre de una font debe espeficicar la extensin del archivo! (FILE FORMAT CHANGE!!)
    - nueva variable: TEXT_SPACING, para determinar el espaciado entre caracteres en BITMAP fonts
- ITOA soporta ahora un segundo argumento para especificar el mnimo nmero de caracteres (FILE FORMAT CHANGE!!)
- minimiza el n de TILESOURCES convirtiendo todos los nombres a minsculas y eliminando repetidos.
- El Grabber se ha dividido en 2 pantallas, as al hacer scroll no desaparecen las coordenadas!
- En el Grabber, se puede especificar un GRID arbitrario
- Todas las funcionalidades que estaban en ActiveMOG2 y deban estar en ActiveMOG2Application, han
  sido por fin transferidas! (sonido, musica, genracin de nmero aleatorios, etc.)
- Si una ROOM es demasiado grande, NO se guarda el Background como surface completa!
- Nuevos DRAWING_MODE que permiten el efecto de Agua: REFLECTION & REFRACTION!!!!!
- Aadida GRAVITY_CTNT, para simular el efecto del agua (FILE FORMAT CHANGE!!)
- TODAS las variables de CHARACTER se pueden modificar ahora desde scripts: jumping_ctnt, gravity_ctnt,
  walking_speed, ladder_up_speed y ladder_down_speed
- Separados CONTROL y CONSTITUTION en el editor (al fin!!)
- the OBJECT list is shown alphabetically
- "check_collision" flag, no funcionaba bien con objetos que no son CHARACTER
- TERMINATECHILD ahora requiere una condicin (esto homogeiniza los comandos de los scripts)
- Nuevo tipo de VALUES: VALUE_OBJECT! permiten el acceso a variables de objeto como en C++!!!
    - Nuevo comando: DOT, para acceder a variables de objetos!!!
- Bugs fixed:
    - SENSE_OBJECT, SENSE_SPECIFIC_OBJECT no funcionaban bien
    - SENSE_OBJECT, SENSE_SPECIFIC_OBJECT detectaban al propio objeto!
    - Cuando caas de un salto, y sin moverte usas la espada, popolon se volva a agachar!!
    - La rutina para abrir una cancin presupona que el fichero estaba en sound/alternate!
    - STOP_MUSIC no detena la msica correctamente
    - Bug en find_without_collision_place
    - variable interf de EDITOR no se borraba al cargar un nuevo MG2
    - a veces todava aparecan antibarras en TILE_SOURCES
    - En el DEBUGGER cuando el Focusing object cambiaba de habitacin, se colgaba
    - PLAY_MUSIC no reseteaba la msica que se estaba tocando actualmente
    - PLAY_MUSIC no interpretaba bin las secuencias de comandos
    - Cuando un ACTION SCRIPT de un OBJETO/ROOM/MAP/GAME/INTERFACE acaba, no debe ejecutarse ms!


v0.9: ROOM/MAP/GAME SCRIPTS + MUSIC + INTERFACES
- Each ROOM has a SCRIPT (FILE FORMAT CHANGE!!)
- Each MAP has a SCRIPT (FILE FORMAT CHANGE!!)
- Each GAME has a SCRIPT (FILE FORMAT CHANGE!!)
- New commands:
    - PLAY_MUSIC( music-script , volume , priority )
    - STOP_MUSIC
    - GETNPLAYERS
    - GETPLAYERNAME( n ):
    - GETPLAYERTYPE( n )
    - GETCURRENTPLAYER ( a parte de devolver el nmero n, pone en FOREIGN el focusing )
    - SETPLAYER( n ) (determina el focusing object)
    - GETPLAYER( n ) (pone el player en foreign object)
    - DRAW_PIXEL(x,y,r,g,b,a)
    - DRAW_LINE(x1,y1,x2,y2,r,g,b,a)
    - DRAW_BOX(x1,y1,x2,y2,r,g,b,a)
    - CHANGE_MAP(mapname,x,y)
    - int NEW_VIEWPORT( avatar , x , y )
    - SET_VIEWPORT_PARAMETERS( id , x , y , w , h , zoom , interface )
    - DELETE_VIEWPORT( id )
    - STOPGAME
    - RESUMEGAME
    - TERMINATE
    - RESETGAME
    - SETPLAYERNAME( player , name )
    - KEYPRESS_KEY
    - KEYPRESS_NAME
    - ITOA( number )
    - ATOI( string )
    - DRAW_BITMAP( bank , bitmap , x , y )
    - GET_PARENT
    - GET_ROOT
- Comandos modificados:
    - SENSE_OBJECT & SENSE_SPECIFIC_OBJECT tienen CONDITION script (FILE FORMAT CHANGE!!)
    - GETCHILD ha de tener un CONDITION script (FILE FORMAT CHANGE!!)
- Comandos que desaparecen:
    - CREATE_TEXT_OBJECT (desaparece el text_object de MOG2)
- New variables (GAME level):
    - music_volume
    - music_playing
    - music_priority
    - sfx_volume
- New variables (APPLICATION level):
    - fps
    - screen_x
    - screen_y
    - player_plane
- variable global: SOUND_ENABLED (evita todas las llamadas a SDL_mixer/sound si vale false)
- In DEBUGMODE, if the script doesn't fit in the screen, scroll bars are shown
- In DEBUGMODE, you can select which script to browse (including CONDITIONAL & ROOM scripts)
- CREATEOBJECT, CREATETEXTOBJECT tienen un parmetro PLANE (FILE FORMAT CHANGE!!)
- You can create TEXT objects with the OBJECT EDITOR, and ADD them to ROOMs (FILE FORMAT CHANGE!!)
- Interface editor: almost like ROOM editor
- INTERFACE display modes: default, centered, scale to fit, scale up, scale down and scroll
- Save interfaces to disk (FILE FORMAT CHANGE!!)
- You can select INTERFACES in the PREVIEW games for each VIEWPORT: however, in the debug mode, you cannot
  select objects by clicking them if you have an active interface.
- You can choose not to view de debug messages or the FPS counter in the GameWindow
- Nuevo tipo de objetos: GAME_WINDOW, se pueden poner solo en INTERFACES, y visualizan la partida
- Nuevo nivel de variables: INTERFACE
- Nueva herramienta para conseguir obtener las coordenadas absolutas de lugares en un mapa: ABS.COORD
- Clase ActiveMOG2Application!!!
    - La parte de la derecha de GAME EDITOR se divide en 2: GAME & APLICATION
    - nuevo nivel de variables: application
    - Boton PREVIEW en GAME EDITOR
- It is possible to put SPACES in strings, player name, state descriptions, etc.
- Action/Condition/Value script have locations to determine what type of scripts they are in.
- Guardar imgenes (BMP, o algo as) de los scripts a disco
- Optimizada la deteccin de objetos fuera del mapa
- Nueva propiedad de OBJECT: controllable_jump
- permitir veolcidades diferentes para subir y bajar escaleras
- permitir que la tecla de salto no sea ARRIBA!!!
- Bugs fixed:
    - Fixed some more mismatched new/delete operators
    - PARALLEL, ejecutaba los script UNA y OTRA vez hasta que TODOS acababan a la vez!
    - Si popolon muere entre 2 habitaciones, se colgaba (problema con objects_to_change_plane)
    - Si popolon estaba contra una pared, y le golpean, se quedaba encallado: bug en "find_without_collision_place"
    - los AnimSCRIPTs de los estados DEAD_LEFT y DEAD_RIGHT se ejecutaban el doble de rpido!!
    - Si usas la espada justo antes de caer despues de saltar (a izq o der), popolon se comportaba raro:
      era un problema con change_tile(tile,part). De hecho todava pasar si el estado se cambia ejecutando
      el comando SET VARIABLE ( "object" , "state" ) = INTEGER 0. Porque llama directamente a change_tile, y
      no debera hacerlo.
    - Las escaleras de anchura diferente al personaje no funcionaban bien
    - Si ms de un exclusive special estaba activo, haan problemas para pasar el control de uno a otro
    - El movimiento en las escaleras no funcionaba bien


v0.8: SCALING + ROTATION + SOUND
- Scaling
- Rotation
- Objects can have an initial SCALE and ANGLE (FILE FORMAT CHANGE!!)
- El editor es independiente de resolucin
- Usa SDL_ttf for drawing text, and forgot my old fonts.cpp/h
- En FileDlg, los directorios salen de color azul
- You can add SAMPLES to the project from the OBJECT EDITOR (and you can also preview them)
- permitir seleccionar un SAMPLE de la lista de current samples
- New commands:
    - PLAY_SAMPLE ( sample , volume )
    - PLAY_SAMPLE_PAN ( sample , volume , x )
    - GET_CHILD ( name )
    - H_COLLISION
    - H_COLLISION_WITH_OBJECT
    - H_INSIDE_ROOM
    - H_PARTIALLY_INSIDE_ROOM
- PLAY_SAMPLE y PLAY_SAMPLE_PAN funcionan con STRINGs o con SAMPLEs
- el tamao y posicin de VChoose se calcula automticamente si se pasa 0,0
- Gestor de SAMPLES, si deben sonar varios a la vez, solo suena uno, y se calcula su PAN y su VOLUME
- No se puede eliminar un SAMPLE si todava est en uso
- Each character state can have an asociated sound (asociate it with the right button) (FILE FORMAT CHANGE!!)
- Several CONDITIONAL STATES can be execued at the same time:
    - Each conditional state has a priority
    - Only a single EXCLUSIVE conditional state can be executed at a time (the most prioritary)
    - The NON EXCLUSIVE conditional can be executed all in parallel if needed, but they will be launched
      only if the current most prioritary state is less prioritary than them. However, once they are launched,
      they will continue its execution till the end.
- Cada estado puede tener una descripcin (FILE FORMAT CHANGE!!)
- Cuando se cambia la variable STATE de un objeto, se cambia tambin su TILE, etc.
- Improved the speed of testing collision agains the VOID (space without rooms)
- Si un CONDITION STATE hace un STATE(s), se interpreta que ha acabado su ejecucin.
- In game additions:
    - Popolon can shoot arrows
- Bugs fixed:
    - A veces al caer al suelo, el personaje se quedaba unos pixels por encima durante un frame
    - All the memory leaks fixed
    - Get_object_plane no funcionaba para children objects


v0.7: DELUXE EDITING + PRECEDENCES + NETWORK + MULTIPLANE
- Allow to place bitmaps with a part outside the room area (the mouse pointer is in the center)
- Delete the PLACE mode, the REGION mode covers it
- Move ALL the bitmaps/objects in one or several planes in a single operation
- In MAP MODE, only the unplaced rooms size are considered to compute the border of the map
- en BWindow: flag: focused/unfocused
    - La ltima ventana con la que se ha interactuado est focused (es una CLASS VARIABLE)
    - Con cursores puedes hacer scroll por la pantalla (tambin en MAP)
- Change all the '\' for '/' in the paths when writting the MG2 file
- Define the parts precedences en parts window
- Each animation frame defines a precedence OFFSET: P_offset + O_offset
- Action scripts can change OBJECTS (not PARTS) precedences (via "RELATIVE_PRECEDENCE" variable)
- Funcin bsica de BWindow para calcular la nueva posicin de una ventana Popup, para evitar tener
  el cdigo repetido mil veces
- 4 botones de FIRE y no solo 2
- Se permiten partidas multijugador de TANTOS jugadores como se quiera!!!
- Se puede definir qu jugadores se ven y qu jugadores no en el preview
- Se puede cambiar la resolucin de preview y debug preview
- NETWORK!
    - En dialogo PREVIEW: boton NETWORK
    - 3 modos: servidor, cliente, sin red
    - Ventana NETWORK test, para probar la velocidad de la red
    - Generador de nmeros aleatorios propio (para poderlos incronizar con el de Mac)
    - Cada fichero MG2 tiene un identificador nico (con TIME STAMP)
    - Si dos ordenadores no usan el mismo MG2, no se permite el juego en red entre ellos
    - Cada ordenador sabe donde empiezan los jugadores de los otros ordenadores
    - Se muestra la informacin sobre el .MG2 cargado, y sobre los puntos iniciales de cada jugador
    - Boton PLAY en dialogo NETWORK!!!
    - SE puede jugar, usando un protocol TCP raterillo, y sin ejecucin especulativa ni nada, pero
      para redes locales, yo creo que ya tiene que ir bien...
- Commands:
    - COLLISION_WITH_OBJECT: ahora tiene un offset X,Y (FILE FORMAT CHANGE!!)
    - SENSE_OBJECT: se le pasa una constitucin y no un nombre de objeto (FILE FORMAT CHANGE!!)
    - nuevo: SENSE_SPECIFIC_OBJECT (hace lo que haca el antiguo SENSE_OBJECT) (FILE FORMAT CHANGE!!)
    - KEYPRESSED_ASCII: Utiliza la funcionalidad UNICODE de SDL (FILE FORMAT CHANGE!!)
    - Se puede pasar ANY como argumento a KEYPRESS/KEYPRESSED (FILE FORMAT CHANGE!!)
    - NEW_VARIABLE: to create variables on the fly
    - KILL_VARIABLE: ...
    - Variable OBJECT_PLANE, con la que se puede cambiar el plano de un objeto
- Choose HW/SW rendering in preview dialog
- se puede seleccionar un zoom para cada viewport
- Ahora la constitucin no determina el control de un objeto, si no que hay una variable especial llamada
  CONTROL, que puede ser: STANDARD, CHARACTER o TEXT
- Objetos de tipo TEXT, con comando: CREATE_TEXTOOBJECT(x,y,text,font,size,script):
    - Texto plano, framed o dentro de un sandwitch
    - Colores definibles RGBA de: texto, fondo y marco
    - Puede definirse un action script para cada texto
    - El texto tambin puede usar Drawing modes
    - Se puede especificar un mximo de anchura para el texto
- Adedd DM_DRAWING_MODE, DM_FACTOR, etc. to the list of accesible variables
- Allow more than only Back/Fore planes (up to 16 planes), cambiar interfaz ROOM (FILE FORMAT CHANGE!!)
- The order of the conditional states can be changed by: move up/move down options
- New Character state: DEATH
- Replays, guardan: jugadores, avatares y su configuracin inicial + la evolucin de los LVKs
- Bugs fixed:
    - In PLACE AS A PATTERN
    - In draw_rectangle (auxiliar.cpp)
    - Saving TILES that weren't in the TILEBANK 0
    - Diaplaying ranges in the Room Edit window
    - If two conditional_states condition are met at a time, now, only the first one is executed
    - In while/while_else commands, the condition was evaluated a cycle before
    - Se permiten STRINGS cualquieras (vacios, etc.) que antes no funcionaba (FILE FORMAT CHANGE!!)
    - AnimSCRIPT window, LOOP y SEQ no calculaban bien sus coordenadas
    - When popolon collides with an horizontal wall while jumping, he can now turn


v0.6: ENHANCED VARIABLE ACCESS & DRAWING MODES
- fps: 65-105(Mac) 44-63(Portatil)
- Variables can have INTEGER/STRING values
- New VARIABLE selection window: 5 areas (including FOREIGN)
- VARIABLES are drawn in a different RED in the scripts.
- Guardar SCOPE de variables
- Eliminados los comandos SET_FOREIGN_VAR y GET_FOREIGN_VAR.
- Modify initial state and initial variable values of objects (FILE FORMAT CHANGE!!)
- Nueva propiedad de objetos: test_collision (FILE FORMAT CHANGE!!)
- New commands:
    - CONCATENATE
    - REMOVE_SUBSTRING( substring , string )
    - FIND_SUBSTRING( substring , string )
    - MAKE_VARIABLE( string , string )
    - DM_MODE
    - DM_BLINK
    - DM_COLOR1
    - DM_COLOR2
    - SET_INVINCIBLE( action )
    - condition: INVINCIBLE
    - LEAVELADDER
    - condition: INLADDER
    - WHILE_ELSE
- Class ActiveMAP
- Complete Variable access: OBJECT, ROOM + MAP, GAME
- BITMAP drawing modes: NORMAL, SHADED, BICOLOUR + add corresponding variables
    - Registers: COLOUR1, COLOUR2, FACTOR, DRAWING-MODE
    - "NORMAL": pixel = c
    - "SHADED": pixel = COLOUR1 * FACTOR + c * (1 - FACTOR)
    - "BICOLOR": pixel = [ COLOR1 * bwc + COLOR2 * (1 - bwc) ] * FACTOR + c * (1 - FACTOR)
    - El canal ALPHA tambin se puede modificar, si especificas -1 en algn canal, este es ignorado
- Se puede especificar los valores de: drawing_mode, factor, color1 y color2 por defecto de los objetos!
- Las habitaciones no se borran directamente al pasar a ser inactivas, sino que pasan a una lista de "inactive_rooms", donde permanecen por unos
  cuantos ciclos. De esta manera si se vuelve a entrar en tal habitacin, no se tiene que volver a crear de nuevo -> ya no se frena!!!
- Ms de 2 planos por habitacin (solo en el engine, en el editor siguen habiendo solo 2: background, foreground)
- Estados HIT_RECOVERY
- Bugs fixed:
    - fixed the synchronization of condition scripts among multiple instances
    - fixed a bug with the HOTSPOTS in the ROOM VIEW
    - fixed a bug in the synchonization of lists (list.h)
    - Climbing a STAIR between two rooms
    - Colliding with a non active adjacent room now works fine
        - Se puede especificar un Tile por defecto nulo
    - Si el directorio donde estaba instalado el editor era muy largo, se colgaba
- Additions to the Demo game:
    - room with fire
    - enemies leave coins, arrows and keys
    - stones leave predefined objects
    - Room variables are used for events (see blinking-block)
    - Estados HIT (como special states)


v0.5: ENHANCED SCRIPTING
- New commands:
    - RANDOM integers.
    - SET variables to values.
    - ATOMIC, executes all the commands inside in a single step.
    - ADD, SUB, MULTIPLY, DIVIDE (value scripts)
    - SENSE_OBJECT(type,rx1,ry1,rx2,ry2)
    - PARTIALLY_INSIDE_ROOM
    - COUNT(type,ROOM|MAP|GAME)
    - COUNTCHILDREN(type)
    - COLLISION_WITH_OBJECT( constitution , condition )
    - GET_FOREIGN_VAR( string ): para obtener el valor de las variables del objeto colisionado
    - SET_FOREIGN_VAR( variable , value ): por ejemplo, para implementar que las flechas y la espada solo puedan
        golpear a un nico enemigo.
- You can DUPLICATE states of objects.
- Add temporal OBJECT variables.
- SCRIPT DEBUGGER!!!
- A white border is drawn around the command over whitch the mouse currently is in the script editors.
- COPY/PASTE: in the action/condition/value and animation script editors
- New Character states: QUIET_LADDER_LEFT & RIGHT (FILE FORMAT CHANGE!!)
- Si estas un un lugar en el que puedes bajar de una escalera, debes poder bajar pulsando derecha o izquierda
- SPECIAL STATES en TODOS los objetos!!!! (FILE FORMAT CHANGE!!)
- Nueva constitucin: CONS_ITEM (para diferenciar con objetos de fondo)
- New property: "stop at each floor" (FILE FORMAT CHANGE!!)
- Bugs fixed:
    - all the bounding boxes of the commands in the action script editor are well computed now.
    - emptying the "created_object" list before the default destroyer tries to delete it
    - in the DO_WHILE command (thanks to the script debugger)
    - Solved some memory leaks
    - Changing of room when there are child objects in the old room crashed the game
    - Cuando COPIAS un objeto, se copian sus VARIABLES


v0.4: HIERARCHIES & MULTIPART OBJECTS
- Las ventanas del editor solo se redibujan cuando toca -> ms fluidez en el puntero
- Se pueden aadir comandos before/after/parallel a otro en el Action script editor
- En la ROOM view, se muestran las coordenadas del puntero.
- Conditions in the special character states (FILE FORMAT CHANGE!!)
- Exclusiveness flag in special character states (FILE FORMAT CHANGE!!)
- Keyboard tests: KEYPRESS, KEYPRESSED
- Variables displayed in the ActionSCRIPT editor.
- Object special variables (state, energy, experience, etc...) (FILE FORMAT CHANGE!!)
- It's possible to modify the initial value of object variables
- Simplify SEQ/PARALLEL with a single command
- All the value slots of commands in scripts have been replaced by ValueSCRIPTs (FILE FORMAT CHANGE!!)
- Variable TESTS can be added to ConditionSCRIPTS
- Improved the management of Action/condition scripts
- Bugs arreglados:
    - Si saltas de una habitacin a otra pegado a la pared, te quedas encallado (el problema es el mismo
      que el anterior: colisin con objetos de otra habitacin).
    - Los vertical levers multiroom funcionan bin (era complicadillo!)
- Las zonas donde NO HAY PANTALLA, son como muros
- ENEMY substituted by WEAPON
- New action commands: CREATEOBJECT (to create new objects)
- Los character special states funcionan!
- Puedes asignar un bitmap nulo en las animaciones
- Multipart objects:
    - N of parts: 1-16
    - One animation for each part
    - Each bitmap has defined "link points"
    - Part editor que te permite construir objetos a partir de los links que has creado
- Los PLACED_OBJECTs tienen tiles por defecto (editables desde la ventana de PARTES)
- You can save replays for being used as test-beds
- New commands:
    - CREATE_CHILD (to create a new object that is a child of the current object + relative precedence)
    - CREATE_GLUED_CHILD, creates a child that moves with the parent.
    - PAUSE
    - TERMINATE_CHILD
- CREATE_CHILD and GLUED_CHILD specify a PART+LINK for the relative start OFFSET
- Real number of the STATEs in the Properties screen


v0.3: OBJECT SCRIPTS
- Fixed bugs:
    - actualizing_instances after tile_changing
    - viewport management
    - Set hot spot when no Bitmap is selected
    - Actualize object instances when creating new instances
    - After file saving, in the room editor, mouse button caused an ADDED/ERASED tile
    - Despues de grabar en la ROOM view, a veces aada algunos tiles de ms.
- Ladder objects
- Ladder states in characters (FILE FORMAT CHANGE!!)
- FileDlg mejorados.
- Add object states
- Object state animations (FILE FORMAT CHANGE!!)
- Object state actions (FILE FORMAT CHANGE!!)
- Puedes entrar numeros negativos
- Puedes modificar walking speed y ladder speed (FILE FORMAT CHANGE!!)
- Flags en objetos: active + multiroom + pushable (FILE FORMAT CHANGE!!)
- Levers arrastran PUSHABLE objects!
- EL cursor lo dibujo a mano, es ms lento, pero se ve bien en Fullscreen
- Action and animation scripts are synchronized among al the multiple instances of an object


v0.2: ROOMCHANGES & MULTIPLAYER
- Recover + fall states.
- bug al eliminar listas.
- scripts retornan -1 cuando acaban.
- Objects have Hot Spots in each tile + Hot spot editor
- Se pueden activar y desactivar botones
- Multiple activerooms!! Esto permitira multiplayer!
- El engine permite cambio de habitacion!
- La deteccion de colisiones es mucho mejor
- Popolon puede saltar!
- La mascara de colisin puede ser la misma que la de transprencia
- Su pueden duplicar objetos en la "Object View"
- Multiplayer!!!


v0.1: EDITING ROOMS AND MAPS
