This is to make sure Git on Windows does not complain when autocrlf and safecrlf are set.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6886 4a71c877-e1ca-e34f-864e-861f7616d084
* Fix a few syntax errors
* Comment out (#if 0) a template function which MSVC doesn't seem to appreciate
* Rename some variables
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4538 4a71c877-e1ca-e34f-864e-861f7616d084
* Handle `show_command_last__` in the switch for `__ShellExecuteShowCmd` to prevent warnings
* Don't specify default template parameters for function template Win::ShellExecute as function templates cannot have default template parameters
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3482 4a71c877-e1ca-e34f-864e-861f7616d084
* Replace usage of WinAPI function lstrcmpA with libc function strcmp
This addresses #4
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3450 4a71c877-e1ca-e34f-864e-861f7616d084
* Rename some private member variables: s/m_\([^\s]\+\)/_\1/g
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3410 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a simple resource file (editworld.rc) for the wxWidgets version of EditWorld containing two icons (aside from the default wxWidgets icons)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3211 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove mainfrm.cpp and mainfrm.h from the Code::Blocks project file (as mainframe.cpp and mainframe.h where already present)
* Add mainframe.xrc to the Code::Blocks project file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3210 4a71c877-e1ca-e34f-864e-861f7616d084
* So now convert our MainFrame window to an XRC file
* This results in less code (as the window is now defined as an XML file rather than a huge amount of window creating code)
* Also the compile time has now drastically decreased for mainframe.cpp
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3209 4a71c877-e1ca-e34f-864e-861f7616d084
* An implementation of Help->About is already provided :-D (which is probably the easiest thing about the program...)
* Currently this window is produced through means of code generation since I can work around something that seems to be a bug in wxSmith this way (the "bug" only occurs when defining windows in XML resource files)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3207 4a71c877-e1ca-e34f-864e-861f7616d084
* Make sure to add proper #include guards to every header file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3184 4a71c877-e1ca-e34f-864e-861f7616d084
* Use a function to return the current directory as an std::string (rather than writing it into a buffer that's given along)
* #define snprintf _snprintf so we can use that as well...
* Some const correctness
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3181 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove warzone2100.png from the current directory (it was just a (cheap) copy from icons/warzone2100.png anyway)
* In aboutdialog.xrc refer to the warzone2100.png from icons/ instead...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3169 4a71c877-e1ca-e34f-864e-861f7616d084
* and especially don't use the wrong delete operator!! (delete [] String; was necessary not without the '[]')
Greater ease in porting to wxWidgets:
* Rename class CExportInfo to ExportInfo
* Pass the string to display to ExportInfo's constructor rather than funking around with its member variables (encapsulation!)
* Clean up & remove large portions of ExportInfo's (unnecessary) code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3149 4a71c877-e1ca-e34f-864e-861f7616d084