Adrian
d2960720bd
Update command line app
...
* bmp2map: Assign unit IDs
* bmp2map: Check bitmap dimensions
* bmp2map, convert: Change random tree frame code
* convert: Insert values from src to ref, instead of vice-versa (more robust)
* convert: Move buildings is better
* convert: Small API changes
* convert/dumpunits: Correct rounding for tile position underneath a unit
* dumpunits: List player number for each unit
2016-04-26 15:17:34 +02:00
Adrian
e56d02ae18
Rename Resources2
2016-04-26 15:16:34 +02:00
Adrian
e1af13f4a9
Rename ConvertCommandHelper
2016-04-26 00:56:26 +02:00
Adrian
e580e0d8ed
Add reading of PlayerSettings2
...
Additionally:
* Reorder fields in Scenario for more convenient serialization order in JSON
* Use lists instead of arrays
2016-04-25 17:13:59 +02:00
Adrian
11f9804f24
Fix scenario compression commands
2016-04-25 17:11:49 +02:00
Adrian
01a1739496
Fix scenario compression
2016-04-25 17:11:21 +02:00
Adrian
5a19ea7103
Small fix
...
* Use specific bool reading/writing methods
* Fix reading of ResourceCopies
2016-04-25 17:09:12 +02:00
Adrian
ad4bd15136
Refactor commands for new CmdApp interface
2016-04-23 02:42:51 +02:00
Adrian
621336afec
Small syntactic changes
2016-04-23 02:42:14 +02:00
Adrian
d1593f38c5
Update documentation
2016-02-22 17:11:48 +01:00
Adrian
9cc13f0e8d
Campaign support and bitmap to map conversion in application
...
* Full Campaign reading/writing support
* Convert bitmaps to maps
* Command arguments reordering: input and output are always first
* Adapt usage of utils API
2016-02-22 17:02:44 +01:00
Adrian
48929d1fbf
Full Campaign reading/writing support
2016-02-22 16:45:55 +01:00
Adrian
35d80a6585
Change SByte to Byte, change usage of utils API
2016-02-22 16:41:47 +01:00
Adrian
ce92d95bd1
App: Bitmap adding, Library: fixes
...
* Add commands to add and remove a pregame bitmap
* Add command help texts
* Calculate the palette length correctly in BitmapUtil
* Add some expected values
2016-02-18 21:30:42 +01:00
Adrian
15ce34ae19
Update documentation
2016-02-18 17:14:46 +01:00
Adrian
900d6df4ee
Adapt command line program to API changes, add JSON conversion
...
* Handle scenario compression in library
* Add Json.NET library to handle JSON conversion
2016-02-18 16:50:10 +01:00
Adrian
e2d3285685
Add GenieFile wrapper for implementation detail
2016-02-18 15:28:29 +01:00
Adrian
e246904835
Library refactoring finished
...
Fix bugs found by testing of the new code
2016-02-18 15:22:53 +01:00
Adrian
639ad2b418
Library refactoring 5
...
Code fixes
2016-02-18 13:58:18 +01:00
Adrian
f71ed9159e
Library refactoring 4
...
Remove obsolete files.
A converter and validator will be re-added at later.
2016-02-18 13:56:24 +01:00
Adrian
7694fb0c03
Library refactoring 3
...
Add ScnSerializerReader
2016-02-18 02:05:30 +01:00
Adrian
982dc159cf
Library refactoring 2
...
* IScnFactory change
* Deep or shallow generation in default factory
* Some fixes in ScnSerializerWriter
2016-02-18 02:04:49 +01:00
Adrian
3cb2c123f2
Library refactoring 1
2016-02-17 17:00:24 +01:00
Adrian
4cbbc36e72
Fix missing cliffs conversion
2016-02-16 03:08:39 +01:00
Adrian
82d8551ab1
Update Readme, add notes and conversion example
2016-02-15 20:42:18 +01:00
Adrian
41cb3e798b
Rudimentary AOE1 to AOE2 converter and unit dumper
2016-02-15 20:22:58 +01:00
Adrian
bb5ac298a4
Fix some serialization bugs
2016-02-15 04:26:53 +01:00
Adrian
b65cbcd980
ScnWriter completed
...
Additionally:
- Use a factory to create empty objects
- Move constants to Scenario class
- Scenario class is in serialization order
- Some refactoring
The code is untested, because DeflateStream does not write using Flush.
2016-02-15 02:10:16 +01:00
Adrian
4f98f03cfa
Small refactoring
2016-02-14 21:03:01 +01:00
Adrian
233d0c9c89
Add README
2016-02-13 15:34:24 +01:00
Adrian
d7e63a6e85
Add original scenarios as example files
2016-02-13 15:29:36 +01:00
Adrian
b2e7b88e7f
First version of rewrite from scratch
2016-02-13 15:28:56 +01:00
Adrian
4cf98f8e50
Commit original code
2016-02-10 13:25:51 +01:00