TileMap Object

In file included from ..\..\include/wx/msw/gccpriv.h:22:0, from ..\..\include/wx/platform.h:559, from ..\..\include/wx/defs.h:28, from ..\..\include/wx/wxprec.h:13, from ../../src/msw/treectrl.cpp:21: ../../src/msw/treectrl.cpp: In member function 'virtual bool wxTreeCtrl::MSWOnNotify(int, WXLPARAM, WXLPARAM*)': ../../src/msw/treectrl.cpp:3280:17: error: 'NMTVDISPINFOWW' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3280:30: error: 'info' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3280:51: error: expected primary-expression before ')' token TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3280:52: error: expected ';' before 'lParam' TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ In file included from ..\..\include/wx/msw/gccpriv.h:22:0, from ..\..\include/wx/platform.h:559, from ..\..\include/wx/defs.h:28, from ..\..\include/wx/wxprec.h:13, from ../../src/msw/treectrl.cpp:21: ../../src/msw/treectrl.cpp:3314:17: error: 'NMTVDISPINFOWW' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3314:30: error: 'info' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3314:51: error: expected primary-expression before ')' token TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3314:52: error: expected ';' before 'lParam' TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ In file included from ..\..\include/wx/msw/gccpriv.h:22:0, from ..\..\include/wx/platform.h:559, from ..\..\include/wx/defs.h:28, from ..\..\include/wx/wxprec.h:13, from ../../src/msw/treectrl.cpp:21: ../../src/msw/treectrl.cpp:3358:17: error: 'NMTVDISPINFOWW' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3358:30: error: 'info' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3358:51: error: expected primary-expression before ')' token TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3358:52: error: expected ';' before 'lParam' TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ In file included from ..\..\include/wx/msw/gccpriv.h:22:0, from ..\..\include/wx/platform.h:559, from ..\..\include/wx/defs.h:28, from ..\..\include/wx/wxprec.h:13, from ../../src/msw/treectrl.cpp:21: ../../src/msw/treectrl.cpp:3860:17: error: 'NMTVDISPINFOWW' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3860:30: error: 'info' was not declared in this scope TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3860:51: error: expected primary-expression before ')' token TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ ../../src/msw/treectrl.cpp:3860:52: error: expected ';' before 'lParam' TV_DISPINFO *info = (TV_DISPINFO *)lParam; ^ In file included from ..\..\include/wx/scopedptr.h:32:0, from ..\..\include/wx/translation.h:25, from ..\..\include/wx/intl.h:18, from ..\..\include/wx/window.h:28, from ..\..\include/wx/nonownedwnd.h:15, from ..\..\include/wx/toplevel.h:21, from ..\..\include/wx/dialog.h:16, from ..\..\include/wx/fontdlg.h:19, from ../../src/msw/fontdlg.cpp:29: ..\..\include/wx/scopedptr.h: In destructor 'wxScopedPtr<T>::~wxScopedPtr()': ..\..\include/wx/checkeddelete.h:33:22: warning: typedef 'complete' locally defined but not used [-Wunused-local-typedefs] typedef char complete[sizeof(*ptr)]; \ ^ ..\..\include/wx/scopedptr.h:46:22: note: in expansion of macro 'wxCHECKED_DELETE' ~wxScopedPtr() { wxCHECKED_DELETE(m_ptr); } ^ ..\..\include/wx/scopedptr.h: In member function 'void wxScopedPtr<T>::reset(T*)': ..\..\include/wx/checkeddelete.h:33:22: warning: typedef 'complete' locally defined but not used [-Wunused-local-typedefs] typedef char complete[sizeof(*ptr)]; \ ^ ..\..\include/wx/scopedptr.h:66:13: note: in expansion of macro 'wxCHECKED_DELETE' wxCHECKED_DELETE(m_ptr); ^ makefile.gcc:30087: recipe for target 'gcc_mswudll\coredll_treectrl.o' failed mingw32-make: *** [gcc_mswudll\coredll_treectrl.o] Error 1 mingw32-make: *** Waiting for unfinished jobs.... In file included from ..\..\include/wx/scopedptr.h:32:0, from ..\..\include/wx/translation.h:25, from ..\..\include/wx/intl.h:18, from ..\..\include/wx/window.h:28, from ..\..\include/wx/msw/private.h:27, from ..\..\include/wx/msw/wrapcdlg.h:18, from ../../src/msw/fdrepdlg.cpp:30: ..\..\include/wx/scopedptr.h: In destructor 'wxScopedPtr<T>::~wxScopedPtr()': ..\..\include/wx/checkeddelete.h:33:22: warning: typedef 'complete' locally defined but not used [-Wunused-local-typedefs] typedef char complete[sizeof(*ptr)]; \ ^ ..\..\include/wx/scopedptr.h:46:22: note: in expansion of macro 'wxCHECKED_DELETE' ~wxScopedPtr() { wxCHECKED_DELETE(m_ptr); } ^ ..\..\include/wx/scopedptr.h: In member function 'void wxScopedPtr<T>::reset(T*)': ..\..\include/wx/checkeddelete.h:33:22: warning: typedef 'complete' locally defined but not used [-Wunused-local-typedefs] typedef char complete[sizeof(*ptr)]; \ ^ ..\..\include/wx/scopedptr.h:66:13: note: in expansion of macro 'wxCHECKED_DELETE' wxCHECKED_DELETE(m_ptr); ^

//edit: And both you and 4ian wondered why I am allergic to building from sources on windows. Heh… Both jams I wanted to submit it into ends on Tuesday, even if I’d compile gd today properly, it be too less time to finish this off :frowning:

You have a strange computer. Are you sure you are using the correct MinGW version (because, if you have lots of MinGW versions installed, you can’t know which one is used) ? (just type g++ --version to get the version used)

If even wxwidgets is not working, something is severely broken somewhere :neutral_face:

As I said, it might be just me, so if this happens for someone else as well I’d be glad to know.

As for compilation of GD, I’ve given up. 4ian, please release new “test” version so I could at least get “some” work done.

Tile number is shown badly in TileMap editor. It is shown next to already selected tile/on it, which in tilesets with smaller tiles or very colorful ones may be almost undecipherable. Please make it so it’ll show in label next to Edit selected tile button, it’ll be more convenient.

Victor, I think you didn’t completely fix “black tileset” issue. True, tileset component now display transparency as it should, but the window where you edit masks still has black instead of transparency checkerboard.

Oh, I probably forgot to apply the same fix to this window. Will fix it. :wink: