Commit Graph

2458 Commits

Author SHA1 Message Date
Mark Vejvoda
1346cc6024 - test byte order conversion 2012-11-01 18:22:25 +00:00
Mark Vejvoda
56bcd62d88 - more updates to support big endian 2012-11-01 16:25:15 +00:00
Mark Vejvoda
c1ec7a395c - more updates to support big endian 2012-11-01 07:03:58 +00:00
Mark Vejvoda
e0efa229c5 - more updates to support big endian 2012-11-01 06:36:35 +00:00
Mark Vejvoda
3bba236d02 - more updates to support big endian 2012-11-01 06:21:35 +00:00
Titus Tscharntke
37b09daa77 cleanup of option menu layout ( But "advanced translation" is not in final place ) 2012-11-01 00:39:31 +00:00
Mark Vejvoda
3303d382e3 - fix font sizes when loading values from lng files 2012-11-01 00:18:38 +00:00
Mark Vejvoda
7010ddd153 - initial attempt at making network messages endian friendly 2012-11-01 00:06:23 +00:00
Mark Vejvoda
be8564acc6 - get better error details on bad slot switch data 2012-10-31 20:50:42 +00:00
Mark Vejvoda
5dd6214611 - populate defaults for english to avoid transifex over-writing values in other languages 2012-10-30 21:18:03 +00:00
Mark Vejvoda
6266d1831d - stub out admin port for mac osx 2012-10-30 18:03:03 +00:00
Mark Vejvoda
5c15a0e9f4 - cast to unsigned int for all calls to srand 2012-10-30 17:12:04 +00:00
Mark Vejvoda
69b5f9b39c - added guard for intro randomization to avoid forever loop 2012-10-30 17:07:29 +00:00
Mark Vejvoda
b30909f90b - attempt to cleanup for debian compliance (proper copyright, etc) 2012-10-30 06:48:12 +00:00
Mark Vejvoda
604ee7f7be - updated platform id strings 2012-10-27 22:38:14 +00:00
Mark Vejvoda
5f52c1a578 - updated version output to be more verbose about platform 2012-10-26 19:03:58 +00:00
Mark Vejvoda
828616ff27 - updated curl-info to show protocols supported by the libcurl used 2012-10-26 18:17:02 +00:00
Mark Vejvoda
6718ee22e3 - curl-info now shows if ssl is enabled 2012-10-26 16:19:50 +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
28d65e8d55 - cleanup from last checkin (corrections) 2012-10-26 03:08:40 +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
2796922914 - a bit more code cleanup from cppcheck
- cleanup of english hints
2012-10-24 06:54:10 +00:00
Mark Vejvoda
e0428fb190 - bugfix for transifex download, filename parse out bad characters for language filename 2012-10-23 14:49:08 +00:00
Mark Vejvoda
0ba70dbfe9 - updated version to 3.7.0-beta2 2012-10-22 23:29:25 +00:00
Mark Vejvoda
8b1000cbfb - don't save the transifex password to the ini (but still allow the user to enter the value manually in the ini) 2012-10-22 22:06:30 +00:00
Mark Vejvoda
57d0104c01 - unescape special html entities when pulling down lng files from transifex
- do not show pw when showing ini settings on commandline
2012-10-22 20:05:42 +00:00
Mark Vejvoda
ba0bf98b9e - hide password until editing
- move transifex ui items to the right
2012-10-22 19:38:28 +00:00
Mark Vejvoda
7a0f8b39a5 - bugfix to ensure transifex purge ONLY deletes files in mapping 2012-10-22 18:11:51 +00:00
Mark Vejvoda
950c960dcb - changed yes/no settings in connect menu to checkboxes 2012-10-22 17:53:48 +00:00
Mark Vejvoda
474374a33e - updated custom game menu to use checkboxes instead of yes/no 2012-10-22 15:52:08 +00:00
Mark Vejvoda
61ffcf8252 - cleaned up compiler warning 2012-10-22 06:44:38 +00:00
Mark Vejvoda
4692f41474 - bugfixes to allow each edit control on screens with multiple edits to have their own unicode text lengths for editing 2012-10-22 06:31:57 +00:00
Mark Vejvoda
95ac13a699 - adjusted editbox sizes 2012-10-22 06:10:36 +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
829a72db35 - added new intro video by Tiger
- bugfix for video display
- cleaned more code wanrings from cppcheck
2012-10-18 07:49:50 +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
45c62dee1b - allow querying a headless even when no clients connected 2012-10-16 22:34:18 +00:00
Mark Vejvoda
79d6c31e73 - spelling mistake fix 2012-10-16 22:04:26 +00:00
Mark Vejvoda
62f0a0d9b4 - bugfix for showing too many progress bars 2012-10-16 21:12:58 +00:00
Mark Vejvoda
e295ccc5a1 - added option to toggle lua sandbox 2012-10-16 21:08:45 +00:00
Mark Vejvoda
9634ba58d4 - fixed faction previews for linked factions 2012-10-16 19:07:50 +00:00
Mark Vejvoda
152a9328b4 - mod center now gets glest version passed into it and filters out incompatible game data 2012-10-16 05:27:51 +00:00
Mark Vejvoda
67242d1b44 - added new string for warning message 2012-10-16 01:05:40 +00:00
Mark Vejvoda
bb2ba50589 - attempt to let user know when host does not have data port open 2012-10-16 00:58:49 +00:00
Mark Vejvoda
0926f1e747 - forgot to delete the masterserver connection 2012-10-15 23:10:41 +00:00
Mark Vejvoda
bfe0723e10 - bugfix in hotkey jumping in listboxes 2012-10-15 22:56:49 +00:00
Mark Vejvoda
bd24409e20 - bugfix to cancel properly and detect if we are in mod center mode or not 2012-10-15 22:51:40 +00:00
Mark Vejvoda
fa0551c175 - only show the mod center download button if the item is located in the mode center 2012-10-15 22:41:26 +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
01d2ba8db5 - disable rendering of other items in the menu when error showing 2012-10-15 15:06:21 +00:00
Mark Vejvoda
abb525fbd1 - Shift+letter when clicking tileset,map or techtree will advance properly in the clicked direction 2012-10-15 08:28:00 +00:00
Mark Vejvoda
fc07549761 - allow connected client to see extraction process 2012-10-15 08:09:28 +00:00
Mark Vejvoda
052fd3373c - attempt to fix client timeout issues in client connected menu when downloading files
- in lobby hold SHIFT + a letter when clicking a map, tileset or techtree and it jumps to the first found item of that letter
2012-10-15 07:44:44 +00:00
Mark Vejvoda
b337b069eb - attempt to fix client timeout issues in client connected menu when downloading files 2012-10-15 06:54:29 +00:00
Mark Vejvoda
a3e3a7d59d - attempt to fix client timeout issues in client connected menu when downloading files 2012-10-15 06:42:52 +00:00
Mark Vejvoda
0c7d089b93 - bugfix for validation (Accidentally removed morph command check) 2012-10-15 06:13:08 +00:00
Mark Vejvoda
b65bdee592 - added more info to error message 2012-10-15 00:48:05 +00:00
Mark Vejvoda
6c62d675c3 - validation now checks for spawn attack units so it does not mis-report suck skills
- badly named texture in g3d model now reports which model file has the problem
2012-10-14 23:57:49 +00:00
Mark Vejvoda
4a972c9499 - fix invalid report of missing files of the linked faction xml when using linked factions 2012-10-14 21:59:35 +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
Mark Vejvoda
87c3a11876 - bugfix for lua setUnitPosition method 2012-10-12 21:50:00 +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
a9d5af5261 - updated unit already in cell error with more detail 2012-10-11 14:23: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
Tom Reynolds
8cc9c760e1 no more blank spaces in translation keys 2012-10-11 00:26:00 +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
Titus Tscharntke
f61666d04c bugfix for loading default games on headless servers 2012-10-07 00:34:45 +00:00
Mark Vejvoda
e69f896c21 - increase masterserver response timeout from 10 to 15 seconds 2012-10-06 23:01:14 +00:00
Titus Tscharntke
2fde01b6ed fix for delayed playername correction ( which was rising the alarmsound too ) 2012-10-06 22:56:19 +00:00
Mark Vejvoda
a4dab7d1d7 - fix the player network status for closed slots 2012-10-06 22:18:09 +00:00
Titus Tscharntke
fc30386e42 last port of ftpdata was displayed wrong after switching 2012-10-06 21:36:48 +00:00
Titus Tscharntke
a2cad81210 wrong display of ftp data ports 2012-10-06 20:11:54 +00:00
Titus Tscharntke
5fd233c72b bugfix for buttons in message boxes. Init is init and not reuse ... 2012-10-06 19:01:13 +00:00
Titus Tscharntke
60355fa55d layout cleanup of option menus network section 2012-10-06 18:22:48 +00:00
Mark Vejvoda
c5ac0cc8e3 - fix min player for headless game message 2012-10-06 17:50:27 +00:00
Titus Tscharntke
a7fe72a46c next bugfix 2012-10-06 16:36:03 +00:00
Titus Tscharntke
905ae06f42 bugfix ... 2012-10-06 16:13:51 +00:00
Titus Tscharntke
a39f262065 trying to make selection of control in headless more comfortable 2012-10-06 16:09:49 +00:00
Mark Vejvoda
f38f7d593a - fix main menu extra logos 2012-10-06 15:45:22 +00:00
Titus Tscharntke
b7e3964782 warning of non default port usage is outdated and by this removed 2012-10-06 14:56:40 +00:00
Titus Tscharntke
9a57dc095f PortExternal is only used when set. Normal case is PortServer now 2012-10-06 13:45:42 +00:00
Titus Tscharntke
685b15c91e renamed ServerPort->PortServer MasterServerExternalPort->PortExternal 2012-10-06 12:56:53 +00:00
Titus Tscharntke
b05adbc6d5 make sure humans cannot cheat with multipliers 2012-10-06 10:05:34 +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
Mark Vejvoda
2a80dd7c3c - more cppcheck code cleanup 2012-10-06 03:42:31 +00:00
Mark Vejvoda
97ba1a27e2 - cleaned up some warnings from VC++ compiler 2012-10-06 02:40:24 +00:00