Solarus-Games English Forum

Solarus => Bugs & Feature requests => Topic started by: linky on July 29, 2014, 05:56:31 PM

Title: Little doc error
Post by: linky on July 29, 2014, 05:56:31 PM
Hello,

I'm not sure, but i think there is a very little mistake in this page of the documentation (a "coquille" as you say in french) :

http://www.solarus-games.org/doc/latest/lua_api_text_surface.html

when describing the first function :

sol.text_surface.create([properties]):

the name of the optional properties are written in french instead of the real name of the properties which are spelled in english :

horizontal_alignement    instead of    horizontal_alignment
vertical_alignement        instead of    vertical_alignment

I have copied them directly on this page without thinking, to use them in my code, but then got an error by the engine and realized the mistake. But it is ok in the Table of contents to the right. Not very important of course, but could mislead some newcomers like me.

Thanks
Title: Re: Little doc error
Post by: Christopho on July 29, 2014, 06:09:43 PM
Fixed, thanks!
Title: Re: Little doc error
Post by: linky on August 01, 2014, 04:37:50 PM
Hi,

I found a little other one:

http://www.solarus-games.org/doc/latest/lua_api_map.html#lua_api_map_methods

for wall entity:

1) map:create_wall(properties)
the first link (in yellow on the picture) goes to:

http://www.solarus-games.org/doc/latest/lua_api_switch.html
instead of
http://www.solarus-games.org/doc/latest/lua_api_wall.html

as indicated by the second link at the end (return value (wall)) that seems more logic.

2) the last property is again "stops_blocks" (already used above) instead of the new property "stops_projectiles".

Thanks
Title: Re: Little doc error
Post by: Christopho on August 01, 2014, 05:09:19 PM
Fixed in the git version, thanks again.