1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-05 13:04:54 +02:00

918 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
d853bea6f4 [programming challenge] Disabled bonus caching. Minor changes. 2011-12-30 02:08:45 +00:00
Michał W. Urbańczyk
f5bb1f3ba3 [programming challenge] An experiment. 2011-12-28 18:00:43 +00:00
Michał W. Urbańczyk
2691fd62f4 [programming challenge] Don't dramatically crash upon illegal tatics movement. 2011-12-28 01:37:29 +00:00
Michał W. Urbańczyk
4bf1c40211 [programming challenge] Added callback method battleEstimateSpellDamage. 2011-12-22 14:13:11 +00:00
Michał W. Urbańczyk
e337eb681d [programming challenge] Added battleGetDistancesFromHex as a fixed variant of battleGetDistances (that uses its second argument — hex). 2011-12-15 23:50:35 +00:00
Michał W. Urbańczyk
8e10d315ed [programming challenge] Implemented battleGetObstaclesAtTile. 2011-12-12 00:53:27 +00:00
Michał W. Urbańczyk
2a18d2efcc [programming challenge] Improved spell handling. 2011-12-11 01:51:59 +00:00
Michał W. Urbańczyk
67571d5823 [programming challenge] More fixes for paths. Logging AI name with PID in server logs. 2011-12-09 23:09:21 +00:00
Michał W. Urbańczyk
5fcbcf9e20 [programming challenge] typo 2011-12-04 10:54:08 +00:00
Michał W. Urbańczyk
85588b6bda [programming challenge]
* stupid AI will print more info
* proper handling of too long processing of battle end calls
* doxygenized some comments
2011-12-03 23:40:56 +00:00
Michał W. Urbańczyk
3fd579a433 Further changes for programming challenge environment. 2011-11-10 09:21:27 +00:00
Michał W. Urbańczyk
8de4a4aef2 Clients report their PIDs so the memory usage can be monitored. 2011-10-23 00:50:00 +00:00
Michał W. Urbańczyk
92e508fe1f Further changes for programming challenge.
* setting obstacles and creature params in duel config file
* handling arguments for Odpalarka
* handling runner + runner + runner + client scenario (memory measura AND visualziation)
2011-10-20 23:29:32 +00:00
Michał W. Urbańczyk
c8115d41a8 Imposed time limits on AIs.
Simple action validation.
2011-10-11 13:16:28 +00:00
mateuszb
4ed7d19191 * missing files 2011-10-01 17:00:57 +00:00
mateuszb
499a401095 * moved CThreadHelper and CConsoleHandler to lib
* corrections in linux build files
* initial version of vcmi installation script and package for programming challenge
2011-10-01 17:00:12 +00:00
mateuszb
441ddcbcfe * Linux compilation fixes 2011-10-01 15:07:07 +00:00
Michał W. Urbańczyk
6d69acdf47 DETERMINISTIC_BATTLES switch.
It disables following effects:
* random dmg range. Now dmg dealt = (min_dmg + max_dmg) / 2
* REBIRTH - no random premy for tha last stack (only "fully reborn" stacks will be resurrected)
* obstacles placement
* MAGIC_RESISTANCE
* luck & morale (both positive and negative)
* DOUBLE_DAMAGE_CHANCE
* BALLISTA_DOUBLE_DMG chance
* catapult % chance for hitting wall (it will always hit)
* catapult and first aid tent random default targets (when hero has no appropriate sec skill)
* MAGIC_MIRROR
* SPELL_BEFORE_ATTACK
* SPELL_AFTER_ATTACK
* DEATH_STARE
* ACID_BREATH
2011-10-01 14:55:43 +00:00
mateuszb
4ffc9f6961 Missing change 2011-09-30 17:17:03 +00:00
mateuszb
0abc6b2a4a Linux build files 2011-09-30 17:00:39 +00:00
Michał W. Urbańczyk
2b18e0b821 Various fixes and refactorings. Restored client project to solution. 2011-09-29 21:29:54 +00:00
Michał W. Urbańczyk
131b9d6e1a Battle is run and result is stored. 2011-09-29 11:24:15 +00:00
mateuszb
96a5bdaa5b Programming challenge - further preparations. 2011-09-28 17:58:06 +00:00
Michał W. Urbańczyk
bdd66b6537 Zmiany do Programming challenge. 2011-09-27 21:54:40 +00:00
Frank Zago
ddd3d166b1 Let user add maps in his home directory. Linux only. 2011-09-25 15:41:03 +00:00
Frank Zago
c4b8039c1e Added a missing rturn in CGameHandler::isAllowedExchangeForQuery. Fixed several typos. 2011-09-24 01:15:36 +00:00
Ivan Savenko
d113517db4 - fixed #108, #798, #810
- fixed several gcc warnings
- some work on JSON (const char* as input, no crash on missing value)
2011-09-23 15:58:18 +00:00
Michał W. Urbańczyk
6ef44bde5a Work on pathfinder: torn the code out from CGameState into a separate class. It can use Subterranean Gates and Boats. Removed code for handling Fly spell effect. It didn't work as supposed anyway. 2011-09-19 20:50:25 +00:00
Frank Zago
0cfb2deeaf Reverted r2382; add zvs to the game data (linux); simplified BitmapHandler::loadBitmap(). 2011-09-14 05:27:49 +00:00
Frank Zago
479a714dbf Better fix than r2381. 2011-09-13 03:31:17 +00:00
Frank Zago
bc8bfc2c9c Fixed path to zvs (bug #809); fix from from vaderas. 2011-09-13 02:33:09 +00:00
Frank Zago
c46cb29446 sex is uninitialized (a virgin ?). Fixed a typo. 2011-09-13 01:46:11 +00:00
Frank Zago
4dedfcabd1 Compile fix. 2011-09-13 01:45:28 +00:00
DjWarmonger
e9991f7932 Fixed #797. Minor tweaks. 2011-09-10 15:06:48 +00:00
DjWarmonger
899aeeb748 New feature: All tiles affected by multi-hex attack will be highlighted when attack is possible. 2011-09-10 13:04:20 +00:00
Michał W. Urbańczyk
9621cbcaa7 * fixed crash on calculating dmg dealt by stack under Curse
* fixed crash on sea battles (obstacles data got corrupted during conversion)
* fixed crash when StupidAI had a catapult
* minor fixes and refactorings (typename for bonus list under shared ptr)
2011-09-06 13:59:26 +00:00
Michał W. Urbańczyk
bb1bdcb0a7 * fixed crash on visiting Sirens
* fixed race condition on the new turn,  #729 should be gone
* fixed crashes in AI-only game mode
2011-09-06 09:59:06 +00:00
DjWarmonger
8c7f574b01 Fixed #806. 2011-09-06 06:26:58 +00:00
Michał W. Urbańczyk
8b7a2f179c * Server will strictly require answering the queries before taking any actions. Let me know, if this causes any freezes.
* Fixed crash on new week after we lost battle with neutral monster but killed the top stack (merging failed then).
* minor changes
2011-09-06 06:00:32 +00:00
DjWarmonger
5fff82a3d2 Fix for #792 2011-09-05 18:12:46 +00:00
DjWarmonger
e3a8a41063 Fixed #804.
Phoenix won't upgrade to Centaur Captain ;)

Minor tweaks.
2011-09-05 06:37:24 +00:00
Frank Zago
2ae53395d7 Removed duplicate function initVillagesCapitols(), and simplified its clone loadTownDInfos(). 2011-09-04 18:07:26 +00:00
Frank Zago
76268fac46 Created spell_info.json from spell_info.txt. 2011-09-04 02:26:56 +00:00
Frank Zago
35350aeeff Created hall.json from hall.txt. 2011-09-04 02:02:20 +00:00
ori.bar
5b836f428a Partial fix for 37. Full fix for 27, 64, 600. Fix for bug where code tried to reload non existent file. 2011-09-04 00:04:48 +00:00
Frank Zago
2787830c00 Created buildings5.json from buildings5.txt. 2011-09-03 20:45:27 +00:00
Frank Zago
00adba18c9 Created battleStartpos.json from battleStartpos.txt. 2011-09-03 19:25:37 +00:00
Frank Zago
c03a5eb4d2 Created bankconfig.json from bankconfig.txt. 2011-09-03 18:32:37 +00:00
Frank Zago
11b50ca176 Created ressources.json from resources.txt. 2011-09-03 14:26:39 +00:00
Frank Zago
029b77e7c4 Created dwellings.json from cregens.txt. 2011-09-03 14:14:43 +00:00