Commit Graph

570 Commits

Author SHA1 Message Date
Mark Vejvoda bff9b1b3bc - cleanup a bunch of vc++ compile / link warnings 2013-02-01 08:12:20 +00:00
Titus Tscharntke 11cd3b4a17 now you can increase the speed step by step up to "FastSpeedLoops" 2013-01-31 12:36:51 +00:00
Titus Tscharntke c5dd29f4ff new way to define the selectionType. No more use of EnableColorPicking and so on!
allowed values are: selectbuf color frustrum

Default is selectbuf again as Colorpicking still makes trouble.
2013-01-27 22:10:24 +00:00
Mark Vejvoda 8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda cc89b6ba65 - add selection type to debug view ingame 2013-01-24 00:14:29 +00:00
Mark Vejvoda 93438d42f4 - attempt to see if this fixes units that do not attack when right clicking enemy
- see if this fixes crashes when using color picking
2013-01-23 21:03:00 +00:00
Mark Vejvoda 7b99501697 - added a new skill to toggle fog of war for any command. 2013-01-11 18:18:58 +00:00
Mark Vejvoda 5d2066fdbb - added a new thread manager to try to see if it takes less CPU cycles while the thread controller waits for slaves to do their work. To enable the experimental thread manager set: EnableNewThreadManager=true 2013-01-10 21:16:28 +00:00
Mark Vejvoda 1f49886755 - re-enabled fog of war cache to improve performance
- improve xml file loading speed
2013-01-03 17:30:59 +00:00
Mark Vejvoda ee2ad95164 - attempt to improve ai decision performance by having each ai player updates done in a thread 2013-01-01 18:55:26 +00:00
Mark Vejvoda 56dc004119 - added fribidi for opensuse and fedora
- allow loading saved games on older versions if version are compatible
2012-12-29 21:31:54 +00:00
Mark Vejvoda 6b32c747b5 - fix end game stats if your team won it shows you as a winner. 2012-11-20 02:26:51 +00:00
Mark Vejvoda d9b624dbb8 - fixed spelling mistake in variable name 2012-11-15 08:16:08 +00:00
Mark Vejvoda 1dbcabf12c - minor feature request added from sourceforge, when command given cannot be executed, sometimes we show the requirements of the command so the user knows why it failed 2012-11-10 19:39:55 +00:00
Mark Vejvoda 35f6a6665b - attempt to keep irc connection and just join / leave the irc channel as required to speed up irc in the lobby 2012-11-10 09:22:28 +00:00
Mark Vejvoda ff58a868b3 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 06:37:23 +00:00
Mark Vejvoda b178b1d1e9 - fixed messagebox word wrap with lua messages 2012-11-08 23:54:43 +00:00
Mark Vejvoda 29da478bd5 - more cppcheck code cleanup 2012-11-06 03:52:27 +00:00
Mark Vejvoda 81989f5947 - bugfix if user clicks around while game loading
- cleanup from last checkin (corrections)
2012-10-26 04:35:14 +00:00
Mark Vejvoda 3419127632 - proper way to handle size_t objects (cleanup warning on other platforms) 2012-10-26 02:42:10 +00:00
Mark Vejvoda 61ffcf8252 - cleaned up compiler warning 2012-10-22 06:44:38 +00:00
Mark Vejvoda 4598299caf - added the ability for advanced translation features (transifex users can download and remove custom files from the transfex website and test their work) 2012-10-22 05:08:52 +00:00
Mark Vejvoda 64058b17e7 - code cleanup from cppcheck
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda 8a7190f6f1 - fixed windows build 2012-10-19 02:01:40 +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 e86cb3aeff - more code cleanup based on suggestions from cppcheck 2012-10-18 08:16:47 +00:00
Mark Vejvoda c898371d6c - added a few new items to the save/load game logic 2012-10-17 22:57:04 +00:00
Mark Vejvoda 505206059b - added new lua method for Muwuum:
void giveStopCommand(int unitId)
	bool selectUnit(int unitId)
	void unselectUnit(int unitId)
	void addUnitToGroupSelection(int unitId,int groupIndex)
	void recallGroupSelection(int groupIndex)
	void removeUnitFromGroupSelection(int unitId,int group)
	void setAttackWarningsEnabled(bool enabled)
	bool getAttackWarningsEnabled()
2012-10-17 20:15:50 +00:00
Mark Vejvoda 9634ba58d4 - fixed faction previews for linked factions 2012-10-16 19:07:50 +00:00
Mark Vejvoda feda398d5d - first attempt to see if we can get mod center download option working from game lobby 2012-10-15 22:19:22 +00:00
Mark Vejvoda 6fdd71cb9e - bugfix for lua usage of system generated cell flashing 2012-10-15 20:39:54 +00:00
Mark Vejvoda 68b1ae54b5 - validation now works on techtree's with linked factions 2012-10-14 21:40:35 +00:00
Mark Vejvoda e63e634e1e - added a bit more lua and updated capture enemy flag 2012-10-13 07:33:33 +00:00
Mark Vejvoda 0180aa6bba - added new lua functions:
triggeredCellEventUnitId()
showMarker(int flashCount, int factionIndex, string note, string textureFile,Vec2i pos)

1. The first one can be called in a cell trigger event and tell you which unit triggered the event
2. The second flashes a position in the minimap
2012-10-13 05:06:53 +00:00
Titus Tscharntke b9836685d8 Chat behaviour can be changed in options. Time display on/off via options too 2012-10-11 22:10:31 +00:00
Mark Vejvoda 6b324cbb4e - added second round of security sandboxing for lua scripts (disable a number of other potentially dangerous functions) 2012-10-11 06:10:21 +00:00
Mark Vejvoda e3e3832070 - added first round of security sandboxing for lua scripts (disable the os library) 2012-10-11 05:17:37 +00:00
Mark Vejvoda 5c0090d488 - bug fixes for free cell lua functions 2012-10-10 19:56:52 +00:00
Mark Vejvoda 4a63060b71 - added two new lua functions:
networkSetCameraPositionForFaction(int factionIndex,Vec2i pos)
networkSetCameraPositionForTeam(int teamIndex, Vec2i pos)
2012-10-10 18:28:55 +00:00
Mark Vejvoda 84452f8633 - added new cell trigger lua function to be able to detect when any unit enters or exits a region of cells:
int registerCellAreaTriggerEvent(Vec4i pos)
int getCellTriggeredEventAreaEntryUnitId();
int getCellTriggeredEventAreaExitUnitId();
2012-10-10 05:44:14 +00:00
Mark Vejvoda 0449fbea2b - attempt to bugfix out of synch when players disconnect and we switch to AI 2012-10-10 00:27:34 +00:00
Mark Vejvoda 1d98015d5d - attempt to bugfix out of synch when players disconnect and we switch to AI 2012-10-09 23:18:07 +00:00
Mark Vejvoda 165f281f92 - added a few new lua functions to check if a cell is free 2012-10-09 20:03:09 +00:00
Mark Vejvoda c5ac0cc8e3 - fix min player for headless game message 2012-10-06 17:50:27 +00:00
Mark Vejvoda 5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00
Titus Tscharntke f4a200e949 fix for wciows "free camera" bug ( http://glest.org/glest_board/index.php?topic=8640.0 ) 2012-10-03 20:13:11 +00:00
Mark Vejvoda ae5018c4dc - do not continuously throw errors in game 2012-10-02 06:20:39 +00:00
Titus Tscharntke b65ff48d29 A technically more simple way to set the camera mode 2012-09-27 21:10:28 +00:00
Mark Vejvoda c33c1826ae - proper implementation of video repeat (looping) 2012-09-27 01:17:57 +00:00
Titus Tscharntke de3b8355fb attack is possible in FP-view now 2012-09-26 23:21:49 +00:00