Commit Graph

37 Commits

Author SHA1 Message Date
titiger 28bcf81626 Error handling 2016-11-30 22:33:41 +01:00
Will 6afadafa1e Start to abstract model 2013-12-05 16:17:41 +01:00
Mark Vejvoda 9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda 1eb17e3bb2 - added support for translated techtrees. To produce a default techtree lng file in the proper techtree folder run:
megaglest --translate-techtrees=megapack

where megapack is the name of the techtree
2013-06-12 22:49:47 +00:00
Mark Vejvoda 011e0263b0 - lots more code cleanup, using safe buffer size code to avoid buffer overflows 2012-10-19 01:31:20 +00:00
Mark Vejvoda 48b3a81cbd - bugfix for validation techtree (resources with particles caused crash on validate) 2012-05-24 07:08:31 +00:00
Mark Vejvoda 897346d1f5 - added the beginning work to support translatable techtrees 2012-05-02 20:46:47 +00:00
Mark Vejvoda 8c0bf75bf5 - got built in memory leak working. Just edit leak_dumper.h and uncomment:
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda 2ab041813f - code cleanup based on cppcheck report 2012-04-05 03:53:59 +00:00
Titus Tscharntke 7f0aaebf50 XML option to hide a resource from the HUD 2012-04-01 19:42:59 +00:00
Mark Vejvoda 5f95b08c17 - a ton more load game state now working (including commands) 2012-03-13 15:21:25 +00:00
Mark Vejvoda c5331b7e8a - initial work to save game state to XML. Current only saves when out of synch or game end occurs and saves to same folder as log files and file is called: megaglest-saved.xml
(Currently we store way too much info but this is a starting point)
2012-03-10 03:27:25 +00:00
Mark Vejvoda 9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda 30e1f45cc7 - intro is now fully translatable and configurable (see english.lng file at the bottom for intro strings)
- added game loading text strings to language file
- ONLY load the font type we are using
2011-11-02 17:17:28 +00:00
Mark Vejvoda c68aa74fcf - more updates for headless mode (try to avoid using opengl completely), server now runs at around 20 MB RAM at game start. 2011-09-27 05:29:57 +00:00
Mark Vejvoda 1b2d4fddea - merged in willvarfar's particle patch 2011-07-06 22:23:51 +00:00
Mark Vejvoda 449e3f25c8 - updates to commondata handling. From now on commondata tag specified the commondata folder under a techtree making it easier to share data and portable since you just need to copy the techtree and its contents, this means no sharing data between techtrees (which is good since we don't want such dependencies) 2011-05-06 22:12:16 +00:00
Mark Vejvoda e34e70a0c8 - added code to merge duplicate sounds used in a techtree 2011-05-06 07:47:31 +00:00
Mark Vejvoda c258dc0822 - display which files contain the reference (the parents) to duplicate data in validation report 2011-05-05 20:18:38 +00:00
Mark Vejvoda 6492832c35 - added initial validation code to warn about duplicate data used in factions 2011-05-05 19:21:50 +00:00
Mark Vejvoda c3d1d6fca0 - add support for models, sounds and images to be able to load from commondata 2011-05-05 07:15:12 +00:00
Mark Vejvoda 7d38aec84a - new commandline options to discover and optional delete unused files in techtrees 2011-03-15 15:30:28 +00:00
Mark Vejvoda 39bf1b986e - added new commandline option to convert folders of g3d models to use specified texture format
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Titus Tscharntke 5e844c39e4 particles for ressouces ... the gold will glow tomorrow :-D 2011-03-09 01:32:27 +00:00
Mark Vejvoda dab57fcb34 - attempt to add "some" VBO rendering for static models (need to test if this improves performance in different environments) 2011-02-04 01:24:26 +00:00
Mark Vejvoda 66261ad662 - updated line endings to unix style characters to fix Bug #3085838 2011-01-20 15:56:30 +00:00
Mark Vejvoda 6b0bc35e3c - working VBO code for static objects in game, currently disabled in code but to enabled edit model.h and uncomment #define ENABLE_VBO_CODE 2011-01-18 23:56:30 +00:00
Mark Vejvoda 1c78fca0fb - Added tileset and map CRC check in the network lobby
- numerous bugfixes
2011-01-09 04:49:21 +00:00
Mark Vejvoda de3a92081d - a bunch of in progress work related to texture compression and more timely texture memory management cleanup. For now to test texture compression use the following ini setting: EnableTextureCompression=true 2010-10-28 00:51:25 +00:00
Mark Vejvoda 0d050f62d4 - added code to now output all eerors to console (with option to save in log file)
- added more LUA debug info
2010-10-06 20:22:06 +00:00
Mark Vejvoda 958184e018 - more memory cleanup 2010-09-07 21:01:22 +00:00
Mark Vejvoda edd3af5243 Bugfixes so that win32 code will work with latest user data changes 2010-03-20 11:16:07 +00:00
Mark Vejvoda 43c3f2457e Code Restructuring to make mega-glest more standard 2010-03-12 05:20:53 +00:00
Mark Vejvoda 012644273e Bugfixes:
- final network fixes for mega-glest multiplayer performance improvements
- added ability for windows builds to "ignore" hidden files so that glest wont try to read svn files
- bugfix for loading the map editor
2010-02-15 17:07:21 +00:00
Mark Vejvoda fb5035c230 Updated with initial 3.4.4 codebase includes:
- network fixes for multiplayer defects found
- initial code (disabled currently) for content crc checking and downloading
- code compiles on Win32 using VS2008 express, project files not yet included
2010-02-03 01:09:50 +00:00
Titus Tscharntke 0ce9b5fcac initial version ( megaglest 3.2.3-beta3 ) 2010-01-22 01:45:58 +00:00