lp:~janosch-peters/widelands/editor-remove-invalid-resources

Created by Janosch Peters on 2015-12-30 and last modified on 2016-01-04
Get this branch:
bzr branch lp:~janosch-peters/widelands/editor-remove-invalid-resources
Only Janosch Peters can upload to this branch. If you are Janosch Peters please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Janosch Peters
Project:
widelands
Status:
Merged

Recent revisions

7669. By Janosch Peters \<<email address hidden>\> on 2016-01-04

Reverted accidental change to CMakeLists

7668. By Janosch Peters \<<email address hidden>\> on 2016-01-04

Cchanged resource-rule to: At least two matching terrains adjacent. Fixed order of in/out parameters in editor_* files. Removed code duplication

7667. By Janosch Peters \<<email address hidden>\> on 2016-01-03

Merged trunk and fixed change_terrain

7666. By Janosch Peters \<<email address hidden>\> on 2016-01-03

Moved resource validation method from editor to map. Editor and MapLoader no use the same consistency check. Fixed resource validation check in Map::change_terrain. Moved some method docs from source to header file.

7665. By Janosch Peters \<<email address hidden>\> on 2016-01-02

Fixed some more segfaults. Unified duplicated code in increase/decrease/set methods

7664. By Janosch Peters \<<email address hidden>\> on 2016-01-02

Fixed segfault due to nullptr

7663. By Janosch Peters \<<email address hidden>\> on 2016-01-01

Fixed compiler warning and added nulllptr check

7662. By Janosch Peters \<<email address hidden>\> on 2016-01-01

Removed logging in check_res_consistency. Otherwise the log would be spammed by this.

7661. By Janosch Peters \<<email address hidden>\> on 2016-01-01

No resources are now explicitly represented by Widelands::kNoResource

7660. By Janosch Peters \<<email address hidden>\> on 2015-12-31

Changed set_resource(0,0) to set_resource(-1,0) in a few places. Invalid resources are now deleted even if the amount was 0

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:widelands
This branch contains Public information 
Everyone can see this information.

Subscribers