Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge svglevels branch #65

Merged
merged 44 commits into from
Jun 7, 2020
Merged

Merge svglevels branch #65

merged 44 commits into from
Jun 7, 2020

Conversation

assertivist
Copy link
Member

This pull request does a number of things:

  • Adds custom shapes for all included levelsets (woohoo!)
  • Levelset export concerns have moved into rsrc2files.py, fixed many bugs there (thanks @tra for the kick in the pants I needed)
  • Said exporter now handles HSND (to WAV for right now), TEXT, and HULL, and makes the manifest.json file as discussed in Modern level set format #52
  • Added pugixml and csscolorparser for SVG support
  • SVG support is included but not active--separate function on CAvaraApp for SVGs
  • Only custom shapes have been added to the repo at this time--no SVGs or WAVs or manifests until they are tested further
  • Remove using namespace std; everywhere (sorry, it had to be done for Windows)
  • Fix a couple includes (string, stdexcept) in both our code and vendor libs (also for Windows)

I've tested this on mac, windows, and linux--everything looks OK. If this fails to build on your machine, C++ is stupid. I'm mostly doing this PR to squash my terrible history down

…nt--make levelviewer && build/AvaraLevelViewer
…nt--make levelviewer && build/AvaraLevelViewer
@assertivist assertivist merged commit 019021b into avaraline:master Jun 7, 2020
tra pushed a commit to tra/Avara that referenced this pull request Jun 7, 2020
* add back pugixml and csscolorparser

* add back SVGParser class

* Point svglevels build to load 'test.svg' always, add little toy script to generate a level from a jpg

* update csscolorparser to not use experimental namespace

* fix AvaraLevelViewer app, which is meant to help with level development--make levelviewer && build/AvaraLevelViewer

* attempt to fix svglevels on travis

* attempt to fix svglevels on travis

* attempt to fix svglevels on travis

* attempt to fix svglevels on windows travis

* attempt to fix svglevels on windows travis

* rearrange inclusion of winsock2.h and 'using namespace std;' because c++ is awful

* GetGame() instead of itsGame in AvaraLevelViewer.cpp

* Handle svg parsing a little more gracefully

* add pugixml back to makefile on svglevels branch

* add back pugixml and csscolorparser

* add back SVGParser class

* Point svglevels build to load 'test.svg' always, add little toy script to generate a level from a jpg

* update csscolorparser to not use experimental namespace

* fix AvaraLevelViewer app, which is meant to help with level development--make levelviewer && build/AvaraLevelViewer

* attempt to fix svglevels on travis

* attempt to fix svglevels on travis

* attempt to fix svglevels on travis

* attempt to fix svglevels on windows travis

* attempt to fix svglevels on windows travis

* rearrange inclusion of winsock2.h and 'using namespace std;' because c++ is awful

* GetGame() instead of itsGame in AvaraLevelViewer.cpp

* Handle svg parsing a little more gracefully

* add pugixml back to makefile on svglevels branch

* fix some stuff on pict2svg

* Merge fixes from @tra to do DirectBitsRgn correctly

* remove test.svg

* Fix some include issues on windows, add custom bsps for levels already included

* split levelset export concerns off into separate script

* Remove broken AvaraLevelViewer for now

* make SVG level parsing its own function

* Remove bit about custom shapes from README.md since they are exported for all included levels now

* Add TEXT, HULL support to rsrc2files.py

* remove extra files from old converter that are not being used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant