* 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
- use wzglobal.h defines where applicable
- add macros.h for imdloader.h: MAX/MIN
- sed RaNdOmTyPe to SDL-type: Reverts r2611 to easy porting.
Watermelon afaik uses MSVC which has no stdint(.h), thus using it would make no immediate sense to him, since he has no more interest in POSIX-support.
- sed Bool/TRUE/FALSE to bool/true/false, like r2609
NOTE: r3171 was not vanilla 0.3, but also included a modified Makefile by me, wzglobal.h and some minor compilation fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3172 4a71c877-e1ca-e34f-864e-861f7616d084
Features:
1. Editing:
* Polygon duplication
* Support for submodel
* Commandline 'filename' is optional, also allows to enter filename via GUI
* Multiple pies loading
* Merging of multiple pies into one file
* Support for 3DTRANS animation (oil derik)
* Support for 3DFRAMES animation (cyborg)
2. Load and Save:
* Creation, Load, Save of ani animation
* Submodel add and remove
3. Model View:
* Optional VBO for polygon and grids rendering
* VBO cache for grids
* Separated frames in animation rendering
* Animation play
4. GUI:
* Improved overall GUI usability
5. Fixes:
* Fixed various bugs in GUI creation strings
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3171 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
Depends on Python 2.5, but we should have that on the server very soon.
Should effectively help fight ghostgames and also be easily extensible in the future. (Gerhard talked about a web-interface with admin functions. :) )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3139 4a71c877-e1ca-e34f-864e-861f7616d084
* Add conversion tool '''imgfile'''
* This tool will read in an "IMG" file ("IMG" is the WRF identifier) from standard intput; it'll then reformat it as XML and output it to standard output
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2725 4a71c877-e1ca-e34f-864e-861f7616d084
NOTE: PieToaster ''should'' compile, link and run on GNU/Linux systems right now (it does for me)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2613 4a71c877-e1ca-e34f-864e-861f7616d084
* Use proper constness in main() to shut up gcc warning about wrong constness
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2612 4a71c877-e1ca-e34f-864e-861f7616d084
* Developed by Carl Hee <Watermelon>
* Licensed under the conditions of the GPLv3
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2603 4a71c877-e1ca-e34f-864e-861f7616d084