Mark Vejvoda
dbb116f250
- load of changes to get things compiling under VC++ 2010 (with updated deps seperate for vc2010)
2012-04-20 01:04:05 +00:00
Mark Vejvoda
aa831dbb61
- inlined a few more functions
2012-04-17 15:25:31 +00:00
Mark Vejvoda
22f43f4267
- added new lua method for setting the direct position of a unit (can be used for teleporting):
...
setUnitPosition(int unitId, Vec2i pos)
2012-04-11 05:41:40 +00:00
Mark Vejvoda
152e83399d
- added a new lua method isUnitAlive(unitId)
2012-03-31 20:17:19 +00:00
Mark Vejvoda
c02c90427b
- added some more lua commands:
...
vector<int> getUnitsForFaction(factionIndex,commandTypeName, field)
int getUnitCurrentField(unitId)
2012-03-30 07:10:14 +00:00
Mark Vejvoda
163271203d
- tilesets now support animated models:
...
<model path="models/copter_sit.g3d" anim-speed="190"/>
2012-03-26 23:24:29 +00:00
Mark Vejvoda
4f1bee5aea
- attempt to save and load scenario info in saved games
2012-03-26 06:48:58 +00:00
Mark Vejvoda
9271d7d7f6
- initial loading logic for loading of saved games.
...
- currently we always save the game during out of synch or on game quit.
- added a new commandline option to load the last saved game, this doesn't do much yet, just creates units in the map locations they were when the game was saved
./megaglest --load-saved-game
2012-03-12 23:08:22 +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
9d6607a051
- added new lua method so users can create units without spacing rules:
...
createUnitNoSpacing
2012-02-21 21:56:20 +00:00
Mark Vejvoda
e351def1cb
- added new lua function to display playername:
...
getPlayerName(i)
2012-01-05 00:45:17 +00:00
Mark Vejvoda
6f924b310d
- added new lua method to get system macro values:
...
dofile(getSystemMacroValue("$SCENARIO_PATH") .. "unit.ai.class.lua")
2012-01-05 00:04:55 +00:00
Mark Vejvoda
ec2f889a76
- scenario pause command should work in network mode
2011-12-28 07:26:16 +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
d33e1174a5
- bugfixes related to cppcheck report
...
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Mark Vejvoda
b2adc16ca6
- added Muwums lua function
2011-11-15 17:39:49 +00:00
Mark Vejvoda
a7cfcc1d99
- added special placement code when carrying over units from one scenario to another
2011-10-06 22:19:58 +00:00
Mark Vejvoda
b126768d9c
- updated scenario lua function to allow carry over of factions or not
2011-10-06 20:44:55 +00:00
Mark Vejvoda
2d42f59fe1
- added a new lua function to allow loading a new scenario from inside an existing scenario
...
loadScenario('capture_the_flag2')
2011-10-06 18:04:59 +00:00
Mark Vejvoda
ece2927350
- attempt to fix command grouping
2011-09-25 04:07:59 +00:00
Mark Vejvoda
7d53df698a
- added new in-game popup menu and new ability to switch teams in game (turned off by default in advanced settings)
2011-09-21 06:51:28 +00:00
Mark Vejvoda
2c80543889
- attempt to group command execution so units given the same command at the same time will work more smartly (closer units go first and so on)
2011-07-05 04:37:35 +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
6492832c35
- added initial validation code to warn about duplicate data used in factions
2011-05-05 19:21:50 +00:00
Mark Vejvoda
97017b2f1f
- added a new lua method to add text on the console for Elimnator's scenario.
2011-03-19 12:19:22 +00:00
Mark Vejvoda
07f56669b7
- attempt to see if threaded pathfinding will work and if it improves performance
2011-03-18 03:53:06 +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
Titus Tscharntke
792d0aa665
particles for tilesets ( too much rendered at the moment )
2011-03-01 23:36:33 +00:00
Mark Vejvoda
4b085691df
- added new LUA method togglePauseGame
2011-01-29 23:50:21 +00:00
Mark Vejvoda
a5a6cf76d6
- updated some new lua commands
2011-01-29 17:52:53 +00:00
Mark Vejvoda
1a3545f8ab
- cleaned up compiler warnings in g3d viewer
...
- added a bunch of new lua commands for 'da boys' to be documented after being fully tested.
2011-01-29 12:42:18 +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
1c78fca0fb
- Added tileset and map CRC check in the network lobby
...
- numerous bugfixes
2011-01-09 04:49:21 +00:00
Mark Vejvoda
da1adab808
- bugfixes for fog of war enable at game end
...
- Added more safety guards in threaded sockets in case this causes problems when things get very busy in the game during monster battles
2010-12-25 08:14:35 +00:00
Mark Vejvoda
03eaa2c033
numerous important bugfixes:
...
- observers and end game fog of war enable would most likely cause out of synch, I think its fixed now
- better handling of threaded logging
- cleanup of socket thread processing to ensure all network packets get processed properly and in order
2010-12-24 08:43:09 +00:00
Titus Tscharntke
5ea9cd092a
visual attack alert
2010-12-19 22:33:08 +00:00
Mark Vejvoda
f204d4445c
- added a new bit style gamesetting flag for future new game settings.
...
- added ability to see map resources but still keep fog of war (GAE's shroud of darkness), but not activated by UI yet, tested and works
2010-12-19 08:04:25 +00:00
Mark Vejvoda
182f2cd20d
- bugfixes to AI where workers harvesting think they have arrived but really did not.
2010-10-19 04:38:55 +00:00
Mark Vejvoda
c295697aba
- added map preview on custom game menu
2010-09-12 05:05:08 +00:00
Mark Vejvoda
77eadd7710
- attempt to improve explorecells usage when each unit is signalled to move
2010-09-09 01:44:25 +00:00
Mark Vejvoda
ab44c83168
- added leak_dumper header all over the place (not yet functional in linux)
...
- Bugfix for particle cleanup
2010-09-07 05:25:40 +00:00
Mark Vejvoda
dc5bf0f850
- bugfix for AI not losing HP when food is out
...
- added new LUA commands (for Tiger):
giveAttackCommand
disableAi
enableAi
disableHunger
enableHunger
2010-08-28 08:06:32 +00:00
Mark Vejvoda
5a796444b8
- added a cache for compute fog of war
2010-08-25 23:55:59 +00:00
Mark Vejvoda
4ee98e7155
- some changes to the explorecells cache for less memory and better performance.
...
- updated performance logging to more easily find things in the log
2010-08-24 23:15:33 +00:00
Mark Vejvoda
0e3c0a8d0e
- disabled staggered unit updates
2010-08-24 02:49:55 +00:00
Mark Vejvoda
65cf1bfdac
- attempt to lessen memory footprint of particles and speed up rendering
2010-08-24 01:21:34 +00:00
Mark Vejvoda
1daecc4145
- made staggered faction updates toggle flag
2010-08-23 19:49:00 +00:00
Mark Vejvoda
284371f206
- some performance updates to fog of war computation
2010-08-23 14:48:33 +00:00
Mark Vejvoda
db47a14940
- attempt to spread out faction world ticks for better performance
2010-08-23 09:53:04 +00:00
Mark Vejvoda
cce338a2c6
- atempt to squeeze some extra rendering performance
2010-08-21 18:50:56 +00:00