compiler setup
GIT
GIT
GIT
GIT
compiler setup
Replaces files for MC version with new science tree and much more XML changes
Replaces files for MC version with new science tree and much more XML changes
Added show/hide unallocated tags (current hotkey F1)
Fix: made YIELD_IDEAS accessible to python again
Yields are no longer hardcoded and can apply xml changes without recompilation
Added missing library files
Yields are no longer hardcoded and can apply xml changes without recompilation
Renamed folder schema to hardcodedXML
Hardcoding schema files have been renamed to hardcoding xml. Also added 3 basicInfo xml files as hardcoded.
Makefile cleanup: the perl scripts now all get files and paths from XMLlists.pm
Added autogenerated assert check for hardcoded xml enums
Run enum generator at compile time
Run enum generator at compile time
Made certain targets hardcode xml values: Release, Release-fast, Profile and DebugHardcode (new target)
Schema files will now only be updated if there is an md5 mismatch
Change: the DLL now writes the schema files to the mod instead of complaining about mismatched md5 checksums
Yieldinfos tag repair
Updated to use the yield enum autogeneration
Added the last 3 bools to EnumRename
Added yield enum generator script (missing in last commit)
CIV4EraInfos.xml tag repair
Added the ability to build enums from xml at compiletime and made it possible to switch between hardcoded and xml based at runtime
Added the ability to build enums from xml at compiletime and made it possible to switch between hardcoded and xml based at runtime
XML tag repair part 3 (era, eventtrigger, bonus)
XML tag repair part 2
XML tag repair
Turned element type selector window into a class
Deleted the confirm window for copy art command. It now use the standard confirm as intended.
Fixes to string typing, saving keys and updated the keyboard xml files
Rewrote the keyboard setup window from scratch
Fix: typo in string popup window
Converted string popup to a class and added left/right hotkeys for window resizing
CHange: iconv::fromUTF8 now returns an empty string rather than NULL if called with a NULL pointer
Fix: CyXMLObject::getText() could crash if the English tag is empty
Converted delete element confirmation to a class
Fix: popup windows now disables the ability to click on anything else while they are open
Added closePopupWindow()
Prevoius and next files (left/right arrows) are now commands
Added F5 as hotkey to Find Error
Converted Find Error and Quit to commands
Added optional arguments to openPopupWindow and changed code around it to make window opening consistent for (eventually) all windows
Cleaned the xml files and added a enum header file needed for compilation
Moved widget declarations from python to DLL for readability and ease of use
Added popup window classes for Menu and GameFont
Started to split the editor into multiple files/classes to improve readability
Added class for command confirmation popup
Updated to new M:C xml files (mainly schema files)
Fix: deleted two files by mistake when updating to the new M:C DLL
Fix: clicking the main scroll panel will no longer disable the keyboard
Added command system and made the menu display a list of commands and auto adjust size to match the number of commands
Fix: keyboard input no longer drops every second key press
Moving through the file stack history will now remember which root entry was open
Fixed issue where jumpToType would disable the arrow keys, hence no hotkey jumping
Added a file stack to move forward and backwards in history using the arrow keys
Control click a Type element will now open the linked element after opening the other file
Added support for control click on type to "jump to file"
Disabled CvGame::doControl() while in editor
Added quit confirmation on escape
Added color preview when element points to a type of ColorVal or PlayerColorInfo
Added a bunch of consts and split get DLL/Mod paths into get and set functions
Added precompile flags/test to tell if it's compiling for BTS or Colo exe and if it's M:C or standalone
Fixed issue where Dir tags had the wrong tag name printed on them
Added NULL pointer checks and a bunch of asserts in CyXMLEditor contructor
Fixed a few issues related to opening files, which confused paths to vanilla, mod and dll locations
Added readme
Added support for BTS (aka multiple vanilla paths)
Replaced Civilopedia button with an editor button in main menu
Fixed various bugs related to reading/writing a TXT_KEY, which has yet to be added to the text xml
Added ability to add non-English languages to text xml files (aka adds vanilla support)
Fix: clicking the file specific checkbox for tags will no longer clear settings from all other checkboxes in that window
Editor now remembers which file is open between sessions
Added const to functions where it would be correct to make them const (like get functions)
Fixed path in project files
Added ability to copy graphic files from the Mod into the editor
Added Editor files
Adding vanilla DLL source code
Applied python code/interface to reach the editor screen
Fixed compilation issues with vanilla and Makefile setup/fastdep
EditorFiles.xml is now autogenerated if it's missing
Added ability to set another mod to be used for xml files
Fix: tnixml2 refused to compile in debug builds
Adding git attributes and ignore
Added jom.exe to allow multi core compilation
Adding vanilla python files
Misc minor improvements
Commented out the (M:C specific) gamefont code in editor
Editor bugfix: keyboard input now types correctly even when typing fast and in uppercase
Editor bugfix: list display code now loops lists correctly
Changed free promotion tags to have unique help for each type (UnitClass, Profession etc)
Changed free promotion tags to have unique help for each type (UnitClass, Profession etc)
Editor: added ability to clean files
Editor: added ability to clean files
Editor: added help popup to find error button
Editor: removed assert, which triggered on missing text file