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

1465 Commits

Author SHA1 Message Date
red1939
3f3c019784 Next part of AI code cleaning/reformatting. 2009-10-28 16:28:52 +00:00
DjWarmonger
ddd755c0c1 1.Removed unused code from hero handler
2.Minor changes in GUI
3.Attempt to manage different alignments of ships
2009-10-28 10:45:45 +00:00
DjWarmonger
2c77785bc7 Hero experience tooltip will now be shown correctly despite of its type (bug #99) 2009-10-27 20:40:11 +00:00
mateuszb
f22570712e * again, please don't include headers in headers if not necessary
* minor changes
2009-10-26 15:01:12 +00:00
DjWarmonger
e4417e9204 Added feature #111 - external dwellings increase town growth. 2009-10-26 09:11:10 +00:00
Frank Zago
7471372074 Fixed several crashes when exiting. 2009-10-26 05:39:30 +00:00
OnionKnight
95808db933 * Right-click info window for castles and garrisons you do not own shows a rough amount of creatures instead of none.
I don't really know under which circumstances no information at all is shown in the original H3 so I haven't dealt with that.
2009-10-25 19:32:02 +00:00
mateuszb
68c5bb63a4 * various improvements and code cleanups 2009-10-25 14:36:11 +00:00
mateuszb
60a401384f * please don't include headers in headers if not necessary 2009-10-25 10:41:58 +00:00
DjWarmonger
1683a419a3 Implemented artifact placement rules for advMap objects, but not for the random artifacts placed via editor. (feature #119) 2009-10-24 19:21:32 +00:00
Frank Zago
21f574f5ee Added a destuctor to CISer to fix some memory leaks. 2009-10-24 15:54:08 +00:00
DjWarmonger
7f5aa1007f Better handling of huge and empty message boxes (Bugs #55 and #183) 2009-10-24 11:17:10 +00:00
Frank Zago
e916e94a40 Commented out unused code. 2009-10-24 03:51:14 +00:00
Frank Zago
aa43938117 Fixed bug 7 & 153. 2009-10-24 03:28:14 +00:00
DjWarmonger
f0e04ad850 Fixed #178 = Scholar won't give unavaliable spells anymore. 2009-10-23 19:58:21 +00:00
Frank Zago
04ea5deb01 Fixed bug 43. 2009-10-23 03:07:03 +00:00
Frank Zago
1c54c639e4 Ensure hero destination tile exists. Fixes bug 73. 2009-10-23 02:11:45 +00:00
Frank Zago
c6bd8e3518 Fixed bug 163 and display the right text when saving a game. 2009-10-23 01:48:03 +00:00
Frank Zago
ddfe2e6f43 Center system option window. 2009-10-23 01:20:16 +00:00
red1939
ed9b75b447 First part of reformatting the code, renaming variables, rewriting tricky part. Basically making the code more readable, maintainable and ready for further additions. 2009-10-22 22:04:42 +00:00
red1939
142ec8e11a Lacking VCMI library include (VLC not found). 2009-10-22 17:50:37 +00:00
Frank Zago
20c4fbd25c Fixed bug 187. 2009-10-22 05:39:04 +00:00
Frank Zago
218194c36e Fixed bug 186. 2009-10-22 03:28:54 +00:00
Frank Zago
598334a71e Hide the mouse cursor while displaying a popup window. 2009-10-22 03:12:01 +00:00
Frank Zago
063bb9dc47 Hide the mouse cursor while displaying a popup window. 2009-10-22 02:41:09 +00:00
Frank Zago
336fee48aa Check if a right click is in the map, so clicking on the border no longer opens an empty info windows. 2009-10-22 02:25:12 +00:00
Frank Zago
e412619ce7 Info map for terrain type. Fixes bug 5. 2009-10-22 02:09:14 +00:00
Frank Zago
5a9752fb8c genWindow can center on the last mouse event instead of the screen. Fixes bug 188. 2009-10-22 00:25:39 +00:00
mateuszb
ad0848f1d2 * fix for bugs 47 and 89 2009-10-18 14:39:53 +00:00
DjWarmonger
476443101f Fixed bug #175 2009-10-17 15:51:58 +00:00
mateuszb
88f209a86f * bug 151 fixed 2009-10-17 14:53:16 +00:00
mateuszb
c08151cb5b * bug 123 fixed 2009-10-17 14:32:42 +00:00
mateuszb
0ac3d9be83 * fix for bug 70 2009-10-17 14:05:44 +00:00
mateuszb
f109c51f7f * bug 146 fixed 2009-10-17 13:59:25 +00:00
mateuszb
dd7991c541 * fix for bug 170 2009-10-17 13:50:09 +00:00
mateuszb
fdcb286044 * VCMI works again on Windows.
hint: ./executable.exe does not run executable on Windows - you must use executable.exe or .\executable.exe
2009-10-17 13:13:09 +00:00
mateuszb
e88bec607b * Ubuntux's patch for Windows (now PreGame runs but we cannot start any game) 2009-10-16 14:56:57 +00:00
Frank Zago
3cdefa2790 accesible->accessible 2009-10-16 02:09:58 +00:00
Frank Zago
02ee620abc Fixed bug introduced in r1301. 2009-10-14 23:18:19 +00:00
mateuszb
0078037df8 * compilation fixes for MSVC / minor changes
* CDefHandler::openFromMemory DOES NOT WORK! It seems to be design error, not windows specific.

Note: please write more C++-like code (declarations don't have to be in the beginning of block of code, use C++-style casts, follow our naming convention for structs / classes, don't write struct before structure's name etc.)
2009-10-14 12:44:44 +00:00
Frank Zago
6c008d5fea Restore 'click' sound when pressing a button. 2009-10-13 04:58:15 +00:00
Frank Zago
bd9eb37465 Fixed a few warnings. 2009-10-13 04:07:26 +00:00
Frank Zago
bf64a9a851 Changed some log. 2009-10-13 02:04:06 +00:00
Frank Zago
17a795015a Restores attacking and shooting sounds. 2009-10-13 02:01:29 +00:00
Frank Zago
c2cb7be227 Fixed bug 143 and possibly 142. 2009-10-12 05:00:28 +00:00
Frank Zago
a2861a82d2 Removed the magic from CDefHandler::openFromMemory. CDefHandler::openDef is using that function instead of duplicating the code. Made a few few values unsigned instead of signed. 2009-10-11 18:26:36 +00:00
Frank Zago
a5f7c913ee Changed some comments. 2009-10-11 16:08:01 +00:00
Frank Zago
cb18b7c82a Rewrote CSndHandler::CSndHandler and CVidHandler::CVidHandler to get rid of readNormalNr. 2009-10-11 16:05:40 +00:00
Frank Zago
ea361fe2b4 Removed unused code. 2009-10-11 16:03:52 +00:00
Frank Zago
eee726bd32 Removed duplicated code. 2009-10-10 23:46:42 +00:00