pkgsrc/games/solarus/PLIST

234 lines
8.3 KiB
Text
Raw Normal View History

Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
@comment $NetBSD: PLIST,v 1.3 2017/01/11 23:42:56 rodent Exp $
bin/solarus
bin/solarus-run
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/Ability.h
include/solarus/AbilityInfo.h
include/solarus/Arguments.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/CommandsEffects.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/Common.h
include/solarus/CurrentQuest.h
include/solarus/Dialog.h
include/solarus/DialogBoxSystem.h
include/solarus/DialogResources.h
include/solarus/Drawable.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/DrawablePtr.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/EntityData.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/EnumInfo.h
include/solarus/EnumInfo.inl
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/Equipment.h
include/solarus/EquipmentItem.h
include/solarus/EquipmentItemUsage.h
include/solarus/Game.h
include/solarus/GameCommand.h
include/solarus/GameCommands.h
include/solarus/MainLoop.h
include/solarus/Map.h
include/solarus/MapData.h
include/solarus/QuestProperties.h
include/solarus/QuestResources.h
include/solarus/ResourceType.h
include/solarus/Savegame.h
include/solarus/SavegameConverterV1.h
include/solarus/Settings.h
include/solarus/SolarusFatal.h
include/solarus/Sprite.h
include/solarus/SpriteAnimation.h
include/solarus/SpriteAnimationDirection.h
include/solarus/SpriteAnimationSet.h
include/solarus/SpriteData.h
include/solarus/SpritePtr.h
include/solarus/StringResources.h
include/solarus/Timer.h
include/solarus/TimerPtr.h
include/solarus/Transition.h
include/solarus/TransitionFade.h
include/solarus/TransitionImmediate.h
include/solarus/TransitionScrolling.h
include/solarus/Treasure.h
include/solarus/config.h
include/solarus/config.h.in
include/solarus/containers/Grid.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/containers/Quadtree.h
include/solarus/containers/Quadtree.inl
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/entities/AnimatedTilePattern.h
include/solarus/entities/Arrow.h
include/solarus/entities/Block.h
include/solarus/entities/Bomb.h
include/solarus/entities/Boomerang.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/entities/Camera.h
include/solarus/entities/CameraPtr.h
include/solarus/entities/CarriedObject.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/entities/Chest.h
include/solarus/entities/CollisionMode.h
include/solarus/entities/Crystal.h
include/solarus/entities/CrystalBlock.h
include/solarus/entities/CustomEntity.h
include/solarus/entities/Destination.h
include/solarus/entities/Destructible.h
include/solarus/entities/Door.h
include/solarus/entities/DynamicTile.h
include/solarus/entities/Enemy.h
include/solarus/entities/EnemyAttack.h
include/solarus/entities/EnemyReaction.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/entities/Entities.h
include/solarus/entities/Entity.h
include/solarus/entities/EntityPtr.h
include/solarus/entities/EntityState.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/entities/EntityType.h
include/solarus/entities/EntityTypeInfo.h
include/solarus/entities/Explosion.h
include/solarus/entities/Fire.h
include/solarus/entities/Ground.h
include/solarus/entities/GroundInfo.h
include/solarus/entities/Hero.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/entities/HeroPtr.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/entities/Hookshot.h
include/solarus/entities/Jumper.h
include/solarus/entities/NonAnimatedRegions.h
include/solarus/entities/Npc.h
include/solarus/entities/ParallaxScrollingTilePattern.h
include/solarus/entities/Pickable.h
include/solarus/entities/SelfScrollingTilePattern.h
include/solarus/entities/Sensor.h
include/solarus/entities/Separator.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/entities/SeparatorPtr.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/entities/ShopTreasure.h
include/solarus/entities/SimpleTilePattern.h
include/solarus/entities/Stairs.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/entities/StartingLocationMode.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/entities/Stream.h
include/solarus/entities/StreamAction.h
include/solarus/entities/Switch.h
include/solarus/entities/Teletransporter.h
include/solarus/entities/Tile.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/entities/TileInfo.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/entities/TilePattern.h
include/solarus/entities/TilePtr.h
include/solarus/entities/Tileset.h
include/solarus/entities/TilesetData.h
include/solarus/entities/TimeScrollingTilePattern.h
include/solarus/entities/Wall.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/gui/about_dialog.h
include/solarus/gui/console.h
include/solarus/gui/console_line_edit.h
include/solarus/gui/gui_common.h
include/solarus/gui/gui_tools.h
include/solarus/gui/main_window.h
include/solarus/gui/quest_runner.h
include/solarus/gui/quests_item_delegate.h
include/solarus/gui/quests_model.h
include/solarus/gui/quests_view.h
include/solarus/gui/settings.h
include/solarus/gui/ui_about_dialog.h
include/solarus/gui/ui_console.h
include/solarus/gui/ui_main_window.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/hero/BackToSolidGroundState.h
include/solarus/hero/BoomerangState.h
include/solarus/hero/BowState.h
include/solarus/hero/CarryingState.h
include/solarus/hero/FallingState.h
include/solarus/hero/ForcedWalkingState.h
include/solarus/hero/FreeState.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/hero/FrozenState.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/hero/GrabbingState.h
include/solarus/hero/HeroSprites.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/hero/HeroState.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/hero/HookshotState.h
include/solarus/hero/HurtState.h
include/solarus/hero/JumpingState.h
include/solarus/hero/LiftingState.h
include/solarus/hero/PlayerMovementState.h
include/solarus/hero/PlungingState.h
include/solarus/hero/PullingState.h
include/solarus/hero/PushingState.h
include/solarus/hero/RunningState.h
include/solarus/hero/SpinAttackState.h
include/solarus/hero/StairsState.h
include/solarus/hero/SwimmingState.h
include/solarus/hero/SwordLoadingState.h
include/solarus/hero/SwordSwingingState.h
include/solarus/hero/SwordTappingState.h
include/solarus/hero/TreasureState.h
include/solarus/hero/UsingItemState.h
include/solarus/hero/VictoryState.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/lowlevel/BlendMode.h
include/solarus/lowlevel/BlendModeInfo.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/lowlevel/Color.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/lowlevel/Color.inl
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/lowlevel/Debug.h
include/solarus/lowlevel/FontResource.h
include/solarus/lowlevel/Geometry.h
include/solarus/lowlevel/Hq2xFilter.h
include/solarus/lowlevel/Hq3xFilter.h
include/solarus/lowlevel/Hq4xFilter.h
include/solarus/lowlevel/InputEvent.h
include/solarus/lowlevel/ItDecoder.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/lowlevel/Logger.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/lowlevel/Music.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/lowlevel/OggDecoder.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/lowlevel/PixelBits.h
include/solarus/lowlevel/PixelFilter.h
include/solarus/lowlevel/Point.h
include/solarus/lowlevel/Point.inl
include/solarus/lowlevel/QuestFiles.h
include/solarus/lowlevel/Random.h
include/solarus/lowlevel/Rectangle.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/lowlevel/Rectangle.inl
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/lowlevel/Scale2xFilter.h
include/solarus/lowlevel/Size.h
include/solarus/lowlevel/Size.inl
include/solarus/lowlevel/Sound.h
include/solarus/lowlevel/SpcDecoder.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/lowlevel/String.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/lowlevel/Surface.h
include/solarus/lowlevel/SurfacePtr.h
include/solarus/lowlevel/System.h
include/solarus/lowlevel/TextSurface.h
include/solarus/lowlevel/Video.h
include/solarus/lowlevel/VideoMode.h
include/solarus/lowlevel/apple/AppleInterface.h
include/solarus/lowlevel/shaders/GLContext.h
include/solarus/lowlevel/shaders/GL_2DShader.h
include/solarus/lowlevel/shaders/GL_ARBShader.h
include/solarus/lowlevel/shaders/Shader.h
include/solarus/lowlevel/shaders/ShaderContext.h
include/solarus/lua/ExportableToLua.h
include/solarus/lua/ExportableToLuaPtr.h
include/solarus/lua/LuaContext.h
include/solarus/lua/LuaData.h
include/solarus/lua/LuaException.h
include/solarus/lua/LuaTools.h
include/solarus/lua/LuaTools.inl
include/solarus/lua/ScopedLuaRef.h
include/solarus/movements/CircleMovement.h
include/solarus/movements/FallingHeight.h
include/solarus/movements/FallingOnFloorMovement.h
include/solarus/movements/JumpMovement.h
include/solarus/movements/Movement.h
include/solarus/movements/PathFinding.h
include/solarus/movements/PathFindingMovement.h
include/solarus/movements/PathMovement.h
include/solarus/movements/PixelMovement.h
include/solarus/movements/PlayerMovement.h
include/solarus/movements/RandomMovement.h
include/solarus/movements/RandomPathMovement.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
include/solarus/movements/RelativeMovement.h
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
include/solarus/movements/StraightMovement.h
include/solarus/movements/TargetMovement.h
include/solarus/third_party/hqx/common.h
include/solarus/third_party/hqx/hqx.h
include/solarus/third_party/snes_spc/SNES_SPC.h
include/solarus/third_party/snes_spc/SPC_CPU.h
include/solarus/third_party/snes_spc/SPC_DSP.h
include/solarus/third_party/snes_spc/SPC_Filter.h
include/solarus/third_party/snes_spc/blargg_common.h
include/solarus/third_party/snes_spc/blargg_config.h
include/solarus/third_party/snes_spc/blargg_endian.h
include/solarus/third_party/snes_spc/blargg_source.h
include/solarus/third_party/snes_spc/dsp.h
include/solarus/third_party/snes_spc/spc.h
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
lib/libsolarus-gui.so
Solarus 1.4.2 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. No change in the engine (changes in Solarus Quest Editor only). _______________________________ Solarus 1.4.1 (2015-05-09) _______________________________ Bug fixes for the 1.4 release. Engine changes -------------- * Fix crash with doors whose opening condition is an item (#686). * Fix the size of custom entities supposed to be optional (#680). * Fix the hero's sprite reset to default ones when changing equipment (#681). * Fix animated tiles freezed when running a quest a second time (#679). * Fix saving empty files. * Print an error message when there is no font in the quest. _______________________________ Solarus 1.4.0 (2015-05-02) _______________________________ The new quest editor release! Engine changes -------------- * Solarus now compiles with C++11. * Solarus Quest Editor was rewritten and is now in a separate repository. * Solarus can now be used as a library in other projects. * Add a command-line flag -win-console=yes to see output on Windows (#550). * Add unit tests. * Fix a crash if an entity has a sprite without animation. * Fix crash when using the -no-video command-line option. * Fix assertion when a crystal block has less than 4 frames. * Fix hero freeze when a treasure's dialog is missing (#595). * Fix hero stuck in dynamic tiles just enabled on him (#89). * Fix hero sometimes moving in wrong directions (#677). * Fix tunic and sword collision when their sprite is changed (#617). * Fix slightly incorrect position of carried item sometimes (#660). * Fix crash when a tileset image is missing (#590). * Don't die if the animation of a pickable treasure is missing. Lua API changes --------------- Changes that introduce incompatibilities: * Text surfaces: the size must now be set at runtime instead of in fonts.dat. * Text surfaces: the default font is now the first one in alphabetical order. Changes that do not introduce incompatibilities: * sol.text_surface.create() now accepts a size parameter (default is 11). * Add a function sol.main.get_os(). * Fix sprite:on_frame_changed() called twice on animation/direction change. Data files format changes ------------------------- You can use the script editor/resources/tools/data_files_conversion/1.3_to_1.4/update_quest.lua to automatically update your data files. Don't forget to make a backup first. * fonts.dat no longer exists. Fonts are a resource like others now (#611). * Fonts are now in a "fonts" directory instead of "text". * Maps: shop treasures have a new property "font".
2015-07-02 01:06:59 +02:00
lib/libsolarus.so
Update to 1.5.1, the latest stable. Remove patch that was applied upstream. Now depends on qt5-qt{tools,base}. From changes.txt: Solarus 1.5.1 (2016-11-29) __________________________ Engine changes -------------- * Add Spanish translation of the launcher GUI (thanks Diarandor!). * Fix registering quest to the launcher at quest install time (#948). * Fix crash when a carried bomb explodes (#953). * Fix crash when a scrolling teletransporter is incorrectly placed (#977). * Fix crash when an entity has a wrong savegame variable type (#1008). * Fix memory leak when creating lots of surfaces (#962). * Fix cleanup of the quest files at exit. * Fix error in sol.main.load_settings() when the file does not exist. * Fix ground ignored after hero:unfreeze() or back to solid ground (#827). * Fix entity:get_name() returning nil after the entity is removed (#954). * Improve error messages of surface creations and conversions. * Chests: set an initial value "entities/chest" to the sprite field. Solarus launcher GUI changes ---------------------------- * Start the selected quest by pressing Return or double-clicking (#949). Sample quest changes -------------------- * The sample quest is now in a separate repository (#996). __________________________ Solarus 1.5.0 (2016-07-27) __________________________ Engine changes -------------- * Add a launcher GUI to ease chosing a quest and setting options (#693). * Rename the solarus_run executable to solarus-run. * Add version number and symbolic links when building the library. * Add a -lua-console option to run Lua code from the standard input. * Remove the -win-console option, the preferred way is now to use a GUI. * Add a -turbo option to run at full speed. * Add a -lag option to simulate slower systems for debugging. * Print when the main loop starts and stops. * Print the Lua version at startup (#692). * Outputs are now prefixed by [Solarus] and the current simulated time. * Musics: Add support of custom OGG looping (#643). * Maps: allow more than 3 layers (#445). * Improve the performance of loading big maps (#854). * Improve the performance of custom entity collisions. * Improve the performance of collisions by using a quadtree. * Entities far from the camera are no longer suspended. * The hero no longer automatically jumps when arriving on water (#530). * Destinations can now set to update or not the starting location (#819). * Teletransporters on the side of the map now work on all layers (#850). * Streams can now have a speed of zero (#496). * Fix crash when main.lua has a syntax error. * Fix crash with missing directions in sprites controlled by the engine (#864). * Fix sprite:on_animation_finished() and others not working sometimes (#799). * Fix error in sprite:set_animation() when the direction is missing (#937). * Fix straight movement precision. * Fix freeze when loading a map with tiles outside the limits (#875). * Fix crash when trying to use a non-saved item (#889). * Fix sword tapping sound still played when the game is suspended (#797). * Fix hero:set_invincible() not working without duration (#805). * Fix lifted item walking animation only accepting 3 frames (#645). * Fix enemy:set_attack_consequence_sprite() with thrown items (#834). * Fix custom_entity:set_can_traverse() for doors (#716). * Fix custom_entity:set_can_traverse_ground() for some grounds (#794). * Fix custom entity collisions missed for entities that do not move (#671, #883). * Fix custom_entity:get_modified_ground() returning nothing. * Fix custom_entity:on_ground_below_changed() not called (#738). * Fix missing notifications in custom_entity:set_origin() (#880). * Fix creating an entity with the same name as another one just removed (#795). * Fix parallax scrolling for dynamic tiles (#816). * Fix crash when a diagonal tile is not square (#837). * Fix crash when the teletransporter after stairs is missing. * Fix non-blocking stream turns after going south (#648). * Fix text_surface:set_rendering_mode() not working (#833). * Fix possible freeze when changing the position of a path finding entity. * Fix circle_movement:set_initial_angle() not working (#721). * Fix straight movement setting speed to zero when reaching obstacles (#633). * Fix support of joypads with multiple axes. * Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734). Lua API changes --------------- Changes that introduce incompatibilities: * Fix missing collision detections and entity notifications. * chest:on_empty() is replaced by chest:on_opened(treasure) (#483). * Enemy ranks no longer exist, set_hurt_style() needs to be called (#449). * Items with amount now have a default max amount of 1000 (#688). * New ability "jump_over_water" in game:get/set_ability(), off by default (#530). * Fix hero state name "freezed", renamed it to "frozen" (#813). * Fix map:get_entities() not returning the hero (#670). * Fix map:create_custom_entity() not erroring when width/height are missing. * map:get_camera_position() is now deprecated, use camera:get_bounding_box(). * map:move_camera() is now deprecated, use a camera movement instead. * map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661). * Fix entity:set_enabled(true) delayed while it blocks the hero (#817). * Fix brandished treasure sprite and shop treasure sprite not animated (#790). * circle_movement:get/set_initial_angle() now use degrees (#721). * Add ability to hide mouse cursor (#891). Changes that do not introduce incompatibilities: * Add a function sol.main.get_solarus_version() (#767). * Add a function sol.main.get_quest_format(). * Add a function sol.main.get_type() (#744). * Add a method game:set_suspended() (#845). * Add methods map:get_min_layer() and map:get_max_layer() (#445). * Add a method map:get_entities_by_type() (#796). * Add a method map:get_entities_in_rectangle() (#142). * Add a method map:draw_visual() to draw any drawable object (#661). * Add a method map:get_camera() (the camera is now a map entity). * Add methods map:set_world() and map:set_floor() (#656). * map:get_entities() can now be called without parameter to get all entities. * map:get_entities*() functions now give entities sorted in Z order (#779). * Add an event entity:on_movement_started(). * Add a method entity:get_max_bounding_box() considering sprite boxes (#754). * entity:get_center_position() now also returns the layer. * Add a method entity:get_facing_position(). * Add a method entity:get_facing_entity() (#877). * Add a method entity:get_ground_position() (#830). * Add a method entity:get_ground_below() (#830). * entity:set_optimization_distance() is now only a hint for the engine. * entity:test_obstacles() now also works without parameters. * entity:overlaps() now has an optional collision mode parameter (#748). * Add entity:get_sprite() to all entities, with an optional name value (#669). * Add a method entity:get_sprites() (#851). * Add methods entity:bring_sprite_to_front/back() (#809). * enemy/custom_entity:create_sprite() now take an optional name value. * hero:save_solid_ground() can now take a function parameter (#667). * Add a method hero:start_attack() (#821). * Add methods npc:is/set_traversable() (#712). * Add methods chest:get/set_treasure() (#664). * Add an event chest:on_opened() with treasure info parameters (#483). * Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755). * Add methods destination:get/set_starting_location_mode() (#819). * Add a method switch:is_walkable() (#729). * Add a method switch:is_locked(). * Add a method sprite:get_num_frames() (#818). * Add methods sprite:get_size() and sprite:get_origin() (#823). * sprite:set_animation() now takes an optional callback parameter (#861). * Add a method surface:get_opacity() (#722). * Add methods surface/text_surface/sprite:get/set_blending_mode (#930). Data files format changes ------------------------- * New directory logos to put the logo and icons of your quest, used in the GUI. * Quest properties: New properties describing the quest, used in the GUI (#838). * Quest properties: the title_bar property no longer exists, use title instead. * Maps: New properties min_layer and max_layer (#445). * Maps: Enemies no longer have a rank property (#449). * Maps: New property starting_location_mode on destinations (#819). * Maps: width and height of custom entities are now mandatory as documented. * Dialogs: Allow empty texts. Sample quest changes -------------------- * Lots of new sprites and sounds from Diarandor. __________________________ Solarus 1.4.5 (2015-11-22) __________________________ Bug fixes for the 1.4 release. * Fix file name not shown when there is an error in dialogs file (#718). * Fix saving special characters in data files (#719). * Fix sol.main.load_file() returning a string instead of nil on error (#730). * Fix performance issue when sprites have huge frame delays (#723). * Fix collisions triggered for removed entities (#710). * Fix hero disappearing if lifting animation has less than 5 frames (#682). * Fix collisions with diagonal dynamic tiles larger than 8x8 (#486). * Fix path finding movement not working with NPCs (#708). * Fix stuck on non-traversable dynamic tiles covered by traversables (#769). * Fix collision detection of custom entities that do not move. * Fix pickables with special movement falling in holes too early. * Fix blocking streams not working when the hero's speed is greater (#488). __________________________ Solarus 1.4.4 (2015-08-19) __________________________ Bug fixes for the 1.4 release. * Fix pickables falling in holes even when hooked (#740). __________________________ Solarus 1.4.3 (2015-08-12) __________________________ Bug fixes for the 1.4 release. * Fix a compilation error with Mac OS X. * Fix crash at exit when a surface has a movement with callback (#699). * Fix crash when removing a custom entity (#690). * Fix crash when a sprite file is missing or has no animation (#700). * Fix crash when trying to remove a sprite already removed (#705). * Fix crash when a custom entity collision or traversable test errors. * Fix crash when changing hero sprites sometimes. * Fix crash when sound buffers are full. * Fix crash in map:get_ground() with out of bounds coordinates. * Fix Lua error message saying "number expected" instead of "string expected". * Fix game:set_command_keyboard/joypad_binding refusing parameters. * Fix map scrolling not working if quest size is not a multiple of 5 (#701). * Fix camera:move() ignoring separators. * Fix entities already destroyed when map:on_finished() is called (#691). * Fix entity:bring_to_front()/back() ignoring the order of obstacles. * Fix hero stuck on blocks. * Fix hero going backwards on ice sometimes. * Fix custom_entity:set_can_traverse_ground() giving opposite result (#668). * Fix enemy:immobilize() having no effect when already immobilized. * Fix dying animation of flying and swimming enemies. * Fix the position of the shadow of pickables when they move. * Fix pickables not reacting to their ground (#655).
2017-01-12 00:42:56 +01:00
lib/libsolarus.so.1
lib/libsolarus.so.${PKGVERSION}