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
Titus Tscharntke
8dd43e2e31
finally I am a bit happy with the "f4" camera view
2012-09-26 22:52:21 +00:00
Titus Tscharntke
784ccb7e56
3rd person camera improved/fixed ( still not done )
2012-09-26 19:25:35 +00:00
Titus Tscharntke
3db7d017e3
removed camera stuff from unit and the camera following a unit is much more smooth now. ( Not finished, work in progress )
2012-09-26 00:15:37 +00:00
Mark Vejvoda
7c0e10684a
- added lua functions to add / remove cell markers:
...
addCellMarker(0,'test from scenario!','',cellMarker)
param1=factionindex
param2=cell hint
param3=empty string
param4=cellPosition
removeCellMarker(0,{46,13})
param1=factionindex
param2=cellPosition
2012-09-25 07:05:52 +00:00
Mark Vejvoda
3ede912b9a
- added support for custom video's on battle end screen:
...
look for videos in the following order:
1. check faction xml file for the following attributes (depends on win/lose) on the faction tag:
faction-battle-end-win-video="<path to video>"
faction-battle-end-lose-video="<path to video>"
if not defined 2. check the faction folder for the files:
battle_end_win_video.*
battle_end_lose_video.*
if not found check the data/core/menu/videos/ paths for:
battle_end_win.*
battle_end_lose.*
2012-09-25 00:23:25 +00:00
Mark Vejvoda
9e75b9144c
- removed cell marker from popup menu and moved to hotkeys (f2 add f3 remove)
...
- added a new experiemntal feature called 'follow unit'. select 1 unit then press f4 and when the unit moves the camera tries to look from the units perspective. To turn this off select no unit and press f4.
2012-09-24 17:13:27 +00:00
Mark Vejvoda
8e88b36723
- removed pathfinder from GAE and all references
2012-09-22 21:39:13 +00:00
Mark Vejvoda
e0bf4df646
- cppcheck round #2 cleanup
2012-09-22 20:37:42 +00:00
Mark Vejvoda
1c211e4ce6
- lots of code cleanup from the cppcheck
2012-09-22 20:13:57 +00:00
Mark Vejvoda
c5907717f0
- ensure client that gets kicked knows he should also quit so he doesn't get a timeout message after disconnect
2012-09-22 05:26:58 +00:00
Mark Vejvoda
c0104858f0
- bugfix to show correct player info on disconnect
2012-09-22 02:17:49 +00:00
Mark Vejvoda
a4ad1f5aea
- bugfixes for network player disconnect feature
2012-09-21 15:03:13 +00:00
Mark Vejvoda
b7f72be930
- added the ability for admin player to disconnect other network players in game from a new popup menu
2012-09-21 05:45:09 +00:00
Mark Vejvoda
c50469acd7
- limit users to a max of 5 cell markers and use team color when placed
2012-09-21 00:54:22 +00:00
Mark Vejvoda
9fc64f4878
- limit players to 5 cell markers max at any given time
2012-09-20 22:18:10 +00:00
Mark Vejvoda
6ea34ea46c
- added cell hint text entry when placing cell markers (supports \n and \t for text formatting)
2012-09-20 04:10:34 +00:00
Titus Tscharntke
f2585ebaae
fallback multiplier for CPUs playing for disconnected player. Should work now, needs testing .
2012-09-18 23:36:51 +00:00
Titus Tscharntke
158195a825
multiplier for CPUs replacing disconnected network player ( not finished yet! , only menu for now )
2012-09-16 23:42:56 +00:00
Titus Tscharntke
75032c3287
reserve unit place while morphing. (first try)
2012-09-11 21:16:24 +00:00
Titus Tscharntke
c2d43c8b86
Chatmode does not disable autmatically. Lets try if this works .
2012-09-09 18:21:27 +00:00
Titus Tscharntke
a5c2a50d60
only "named" console messages in chat-history, typically chat messages from users
...
smaller console font ( for test in linux only now )
2012-09-09 14:12:35 +00:00
Titus Tscharntke
b9b6f9ef1a
new game hints and german translation . ( hints are in data/lang now )
2012-09-01 19:31:49 +00:00
Titus Tscharntke
b2e869acc3
scrolling stops when entering chat mode and holding down cursor keys, but scrolling with mouse is still possible.
2012-09-01 19:18:31 +00:00
Mark Vejvoda
648c3e190a
- added patch from Taoki for showing time of game day under minimap (thanks)
2012-08-15 14:37:27 +00:00
Mark Vejvoda
3c1651d084
- bugfix when moving camera and entering chat mode
2012-08-13 23:29:59 +00:00