Warzone2100 / old-trac-import

Archived Import of (old) Warzone 2100 Trac
0 stars 0 forks source link

New Map Format #4291

Open wzdev-ci opened 9 years ago

wzdev-ci commented 9 years ago

type_patch (an actual patch, not a request for one) | by NoQ


This is a very rough proof-of-concept! Do not push it yet. I'm simply trying to figure out if i'm going in the right direction, or if problems that i encounter should be solved differently.

Obvious to-do for myself:

To-do for discussion:


Issue migrated from trac:4291 at 2022-04-16 11:50:13 -0700

wzdev-ci commented 9 years ago

NoQ uploaded file 0001-TEMP.patch (28.3 KiB)

The first version.

wzdev-ci commented 9 years ago

NoQ commented


http://developer.wz2100.net/wiki/NewMapFormat - specification, motivation, whatever.

wzdev-ci commented 9 years ago

vexed changed blocking which not transferred by tractive

wzdev-ci commented 9 years ago

vexed changed blockedby which not transferred by tractive

wzdev-ci commented 9 years ago

vexed commented


Just adding myself to this ticket. :)

wzdev-ci commented 9 years ago

NoQ uploaded file 0001-TEMP2.patch (32.9 KiB)

The second part of the patch.

wzdev-ci commented 9 years ago

NoQ uploaded file 4c-Mansion.wz (107.9 KiB)

A new-style map with custom decal textures, the second version.

wzdev-ci commented 9 years ago

NoQ uploaded file 6c-Mirage-1-02.wz (40.5 KiB)

A new-style map with mixed ground textures, the second version.

wzdev-ci commented 9 years ago

NoQ uploaded file 5c-Starfish-1-01.wz (114.8 KiB)

A new-style map with custom skybox, the second version.

wzdev-ci commented 9 years ago

NoQ commented


The second patch relies on both the first patch and the patch in #4292 (the fog colour). I guess i'd better make a branch and do work there.

The following was done:

TODO: Game saving. Once i implement the json writer function for the savegames, i guess i'm done with a working support for the new map format. The format itself is, i guess, settled down by now, as all the features i wanted are already supported, or may be delayed for later without breaking stuff. Wiki specs were updated accordingly.

wzdev-ci commented 8 years ago

NoQ uploaded file 0001-TEMP3.patch (28.7 KiB)

The third part of the patch.

wzdev-ci commented 8 years ago

NoQ commented


Saving the game mostly works now, only a few bugs remain: