1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-26 08:41:13 +02:00
Commit Graph

88 Commits

Author SHA1 Message Date
mateuszb
1a08772bc8 * reading of creature banks' names 2009-09-17 11:05:50 +00:00
mateuszb
c8ac6cf914 * certain improvements for animations in battles
* obstacles won't be placed on battlefield when creature bank is attacked
2009-09-11 12:46:26 +00:00
Frank Zago
a9617b3dfd Fixed prototype. 2009-09-10 14:06:28 +00:00
OnionKnight
3d2ab9c753 * Garrison dialogs for garrisons. Required a bit restructuring of the code to take removable units into account. All showGarrisonDialog methods and the GarrisonDialog struct now takes it as a parameter. Visiting ally towns would benefit from this other than garrisons.
* Garrison right-click information shown, but not taking detailed info into account.
* Town info dialogs centered around cursor.
2009-09-09 17:49:03 +00:00
Michał W. Urbańczyk
956a87f264 * redone stack queue algorithm
* recalculating paths only after finished movement / switching selection
* moving hero uses "new" pathfinder
* moving hero by arrow keys / numpad
* VCMI window should start centered
* fixed pairing Subterranean Gates
* fixed issues with creatures sounds after loading
* several minor changes and improvements
2009-09-07 02:29:44 +00:00
mateuszb
a4df8e8831 * partial support for arrow turrets 2009-09-04 14:11:42 +00:00
Frank Zago
f92b6fc2b6 Depending on the distros, ffmpeg headers aren't always installed in the same directory. Fix from Szpak. 2009-08-29 15:52:29 +00:00
Michał W. Urbańczyk
1f0a1bd771 More fixes. 2009-08-28 19:34:08 +00:00
Frank Zago
90c31d5cd5 Typo. 2009-08-28 00:27:25 +00:00
DjWarmonger
82ddb607e6 1.blocked critical AI call
2.Yet another chapter of epic battle with creature banks
2009-08-24 14:59:24 +00:00
Michał W. Urbańczyk
66dd31fd8a * attacking and capturing towns
* r-click popups on selected town/hero.bonus and teams in pregame
* disabled music due to bugs in SDL_mixer and smpeg (probably it was the source of reported random crashes / hangups)
* minor fixes
2009-08-22 13:59:15 +00:00
Trevor Standley
f4743d2fc6 Various fixes. Temporarily replaced neural network's output with random number. 2009-08-21 18:18:52 +00:00
Trevor Standley
af1a55e063 More AI stuff. 2009-08-19 10:18:14 +00:00
Frank Zago
81109b3897 Added missing headers. 2009-08-19 05:01:25 +00:00
Frank Zago
a7b7b0a431 Add new files to makefiles. 2009-08-19 04:45:33 +00:00
Trevor Standley
a3b6bb4892 AI loads .brain file which contains a list of objects to visit and what features are necessary to determine how valuable that objective is.
AI creates random neural networks and assumes that their outputs are trained values.
2009-08-18 07:37:45 +00:00
mateuszb
49a142b92e * minor changes 2009-08-17 13:08:05 +00:00
DjWarmonger
dd91e7e406 1. Support for Pandora Box
2. Improved functions handling experience. Now it works with values over 65K, but still didn't with event giving 99M exp
I have no idea what it has to do with AI though
2009-08-16 15:39:18 +00:00
Frank Zago
69217ff217 Compile fix for g++. 2009-08-12 02:08:59 +00:00
Frank Zago
575840f641 Use amin instead of min. 2009-08-08 06:13:56 +00:00
Trevor Standley
3d93e0acf0 AI doesn't try to visit itself. AI doesn't try to visit OPW/OPH objects that have been visited. Soon AI will be able to learn priorities. 2009-08-07 08:41:40 +00:00
Trevor Standley
184676d7c4 AI now performs almost all basic operations.
-builds buildings
-recruits creatures/heroes
-upgrades creatures
-moves heroes to random destinations.
-passes units to heroes/upgrades heroes' units
-attacks weaker parties
-and more.
2009-08-06 09:59:33 +00:00
Trevor Standley
cd4d3e6db3 2009-08-06 09:52:07 +00:00
Frank Zago
9aca713050 Compile fixes. 2009-08-06 05:08:17 +00:00
mateuszb
507597301f * new spells: resurrection, animate dead
* a lot of minor fixes in battles
* resolution & depth in settings.txt reverted to 800x600 and 24bpp
2009-08-05 12:46:08 +00:00
Michał W. Urbańczyk
64f098017b Fixed linker problems. 2009-08-05 12:24:31 +00:00
Trevor Standley
48581962ab More AI changes. Minor associated fixes. 2009-08-05 09:46:55 +00:00
Michał W. Urbańczyk
310c369265 Fixed two possible block-ups in AI. Fixed possible problems with picking hero available to recruit (no more duplicates hopefully). 2009-08-05 00:05:37 +00:00
mateuszb
1872c2d575 * new spell: cure
* minor changes
2009-08-04 17:05:49 +00:00
Trevor Standley
07828ab335 2009-08-04 09:40:57 +00:00
Trevor Standley
45d311a9f5 AI now attacks randomly. 2009-08-04 08:56:38 +00:00
Michał W. Urbańczyk
de1ed92379 * version set 0.73b
* config entry for 1600x1200 resolution
* several fixes
* http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3185#3185
2009-08-03 23:53:18 +00:00
Trevor Standley
b987f02cb0 AI heroes move to random safe objects.
AI recruits heroes.
2009-08-03 22:15:13 +00:00
mateuszb
048ab62530 * some changes in code handling movement of wide creatures in battles. It could solve a few bugs but I'm not sure 2009-08-02 14:21:18 +00:00
Trevor Standley
3cdff92e42 AI walks around randomly until movement is almost out. Battle causes crash. 2009-08-01 02:57:50 +00:00
Michał W. Urbańczyk
2f73b6cd1e * pressing enter or escape close spellbook
* spellbook shows adventure spells when opened on adventure map
* removed redundant quotation marks from skills description
* erasing path after picking objects with last movement point
2009-07-03 19:57:14 +00:00
Frank Zago
a11ea59418 Video player compilation. 2009-06-20 01:40:52 +00:00
ambtrip
8ecabaa041 GeniusAI:
* UML project (can be viewed and edited in BOUML). The aim of this UML documentation is to help to share ideas and to make good AI logic.
2009-05-12 21:01:42 +00:00
Frank Zago
788343dd1d Typo: cast is an irregular verb. 2009-05-12 03:35:51 +00:00
Frank Zago
c1eea72fce Support for new source files. 2009-05-11 04:58:50 +00:00
mateuszb
3c50890d16 * msvc compilation fix
* fixed problem with maximal spell level checking reported by ubuntux
2009-05-10 13:00:15 +00:00
ambtrip
1906060bc6 GeniusAI:
* project was reorganized - now there is possibility to work simultaneously on battle AI and general AI
2009-05-10 08:15:30 +00:00
Frank Zago
8172493467 Updated autoconf generated files. 2009-05-07 04:52:40 +00:00
Frank Zago
81d2a36df6 Autoconf rework. 2009-05-07 04:45:59 +00:00
mateuszb
b0e2d13b4e * new spells:
- precision
- slayer
* refactoring
2009-05-01 13:42:41 +00:00
mateuszb
621400ac85 * small refactoring 2009-04-30 14:59:30 +00:00
Michał W. Urbańczyk
df25dd7efb Sound patches from Ubuntux #7 - #10:
* Some sound code cleanups
* Renamed soundBase::soundNames into soundBase::soundID
* Add a music handler destructor
* Add Archdevil and vampire pre and post movement sounds

I've applied minor change to fix CMusicHandler - GeniusAI conflict: moved sounds bimap to the .cpp file.

(vcmi_sounds_cleanup.diff
vcmi_sounds_cleanup2.diff
vcmi_sounds_cleanup3.diff
vcmi_add_sounds.diff)
2009-04-30 10:53:06 +00:00
Michał W. Urbańczyk
ade4b46edd Sound patch from Ubuntux #2
(vcmi_sounds.diff)
2009-04-22 18:48:56 +00:00
mateuszb
408411d8c3 * next ubuntux's patch 2009-04-19 15:01:33 +00:00
mateuszb
aa87e1ff16 * next ubuntux's patch 2009-04-15 10:20:47 +00:00