Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 2023-12-07 in all areas

  1. Okey so all issues that libxml2 wanted to fix are on their latest upstream now. Only remaining fix is for the function pointer that changed. They suggested that 0ad should fix this. They also linked a commit from WebKit fixing it. https://github.com/WebKit/WebKit/commit/1bad176b2496579d760852c80cff3ad9fb7c3a4b I used this patch as a base for the same issue on the 0ad side. Casting the function pointer to `xmlStructuredErrorFunc` would have also worked, but it would be less clean in my opinion. Error: ../../../source/ps/XML/RelaxNG.cpp:162:50: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive] 162 | xmlRelaxNGSetValidStructuredErrors(ctxt, &relaxNGErrorHandler, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)} ../../../source/ps/XML/Xeromyces.cpp:59:41: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive] 59 | xmlSetStructuredErrorFunc(NULL, &errorHandler); | ^~~~~~~~~~~~~ | | | void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)} libxml2_fix.patch
    1 point
  2. Yeah, that'd be good. Unfortunately it's in a low priority right know. But! I wrote a script to do simple batch updates. So if you have Python 3 installed (or you're able to), you can use it (don't forget to backup your map files before running the script and resave the map from Atlas to format the file correctly after the changes by the script): python3 path/to/entities.py path/to/map.xml --pattern your/tree/name --list --rotate random entities.py You might run the script without the rotate argument just to test the list of matched entities.
    1 point
  3. Github version will only work with the development version of 0 a.d.
    1 point
  4. niektb has offered to start converting many AOE icons to original icon. He is doing good job so far! (attached are a couple he made). If anyone else wants to help make more icon then that would speed up the mod's wide release! There are about 100 more icons that can be made (my mod has over 200 technologies). So far Lion Kanzen and niektb have contribute to original portrait content and the mod uses LordGoo's farms. I have started a contributors.txt. Also, attach are new Phase icons I made for the phase tech of the game. I think these look very nice (the smooth texturing resizes very nicely by the GUI) and I remade them because I think phase tech should stand out more above other techs.
    1 point
×
×
  • Create New...