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

467 Commits

Author SHA1 Message Date
OnionKnight
ef5b1ca1de * Fixed bug #112
* Improved the security checks for ExchangeArtifact and SetArtifact, but have also come to realize that SetArtifact  is inherently broken and can be used for cheating. :(
* Preliminary work for combination artifacts, it's now possible to identify artifacts that are combined and what they're made up of.
* Happy New Year!
2009-12-30 15:33:28 +00:00
Michał W. Urbańczyk
5d74e61e3e Hopefully fixed compilation. Unified line endings. 2009-12-30 07:49:25 +00:00
DjWarmonger
63ba552d87 -Fixed Pyramid bug and incorrect behaviour of specific banks
-Commited some old scraps of better InfoWindow with scrollbar
2009-12-29 17:13:40 +00:00
Ivan Savenko
def041a8c9 #39 and #106 - fixed cosmetic buildings behaviour
#102 - fixed config + requirements system
#161 - extended clickable rectangle
and some minor fixes
2009-12-29 13:40:16 +00:00
Michał W. Urbańczyk
eb6f7fffc9 Support for smart pointer serialization. Fixed creature banks serialization. Minor fixes. 2009-12-29 01:07:17 +00:00
Michał W. Urbańczyk
01831e912a Fixes for adventure AI: battles where AI is the attacker should work, fixed drawing AI heroes under FoW.
Restructured thread structure: no new thread on yourturn, instead of that introduced update() method called by thread dispatching GUI events. 

Further changes are planned.
2009-12-28 04:08:24 +00:00
Michał W. Urbańczyk
f4dd78507c Patch from Ivan ( http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=4089#4089 )
"I've noticed that on town screen left-bottom info panel doesn't behave like in H3 and it looks that I fixed this as well as some connected issues:
-all elements now response like in H3 on mouse moves\clicks
-town status bar was not cleaned when nothing is selected
-growth calculation was a bit wrong (in case of town with grail)
-in H3 legion statue effect does not include effect of its components - only global +50% "
2009-12-23 01:46:15 +00:00
Michał W. Urbańczyk
6c4b4f21bc * Implemented rivers animation. Thanks to GrayFace for giving range of colors in palette to be shifted.
* Hopefully fixed all issues with bliwWithRotate functions family. If there are any artefacts on terrain drawing, let me know.
* Fixed drawing of objects shadows.
2009-12-22 21:53:50 +00:00
OnionKnight
9dad83590b Fixed bug 129 2009-12-22 07:48:54 +00:00
Michał W. Urbańczyk
1c32679f93 Implemented flagged garrisons passableness ( #150 ). Full support for BorderGates. 2009-12-20 17:14:14 +00:00
mateuszb
4780bcd1a6 * fix for bug 272, 176 and (probably) 273 (creatures cannot be attacked with catapult, position of explosion of catapult shot seems to be fixed for non 800x600 resolutions) 2009-12-20 13:35:59 +00:00
mateuszb
08c7541076 * fix for bug 288 (and maybe other related bugs) 2009-12-20 11:49:43 +00:00
Michał W. Urbańczyk
d037bec1be Fixed #229, #290.
Fixed problems with accessing shared memory sometimes occurring after application has previously crashed.
2009-12-19 12:31:57 +00:00
OnionKnight
cc79f1e2bd Forgot to save the vcproj file, so it didn't get changed with the last revision. 2009-12-12 03:32:18 +00:00
OnionKnight
39a752c408 Fixed issue with Windows 7 DPI upscaling. 2009-12-12 03:26:09 +00:00
Frank Zago
a04b9ffa0c Fixed position of system buttons. Added placeholders for load and restart butttons. 2009-12-11 04:52:51 +00:00
Frank Zago
39ad6b0270 Only include SDL_syswm.h on Windows. 2009-12-03 04:01:14 +00:00
OnionKnight
0a96decf87 * Fixed the artifact screen completely, hopefully. Structural overhaul of the CArtPlace and CArtifactsOfHero classes, and I had to add a new server message SetArtifact to deal with things properly. The only thing that differs from H3 now is that you can't have gaps of empty slots in the backpack.
* Preliminary work on bug #112, a bigArtifacts set is added to CArtHandler.
2009-12-01 23:19:43 +00:00
Michał W. Urbańczyk
df3ef1c330 Incremented versions. Updated changelog. 2009-12-01 22:14:25 +00:00
Michał W. Urbańczyk
85f336cbaa Fixed #158, #236, #243, #248.
Fixed crash on catapult shot.
2009-11-29 02:46:30 +00:00
OnionKnight
dced6ec17c * Fixed bug 195, possible slots for artifacts are highlighted when selecting an artifact.
* Mostly fixed so that artifacts looks like they're being carried when selected.
2009-11-28 19:55:40 +00:00
Michał W. Urbańczyk
4bfc161adc Fixed #237.
Implemented #132 for Windows.
2009-11-28 17:21:54 +00:00
Michał W. Urbańczyk
7f97a56a28 Fixed crash on casting spell. Fixed giving resources from towns. Version set to 0.74c. Incremented save format version.
Disabled adventure AI. Will be released as dev build.
2009-11-28 01:42:08 +00:00
Michał W. Urbańczyk
82faf7538e Fixed #160, #167 2009-11-24 20:29:50 +00:00
Michał W. Urbańczyk
c00d4bf905 Reverted r1366
GUI automatically assigns the parent objects (CMenuScreen) with it's children controls. They're activated/deactivated/shown/deleted automatically. (it's enabled by OBJ_CONSTRUCTION macro in scope)
2009-11-24 19:50:20 +00:00
Frank Zago
f252b58f96 Commented out unused code. 2009-11-21 18:04:09 +00:00
Michał W. Urbańczyk
8f217c5cdf Fixed #50, #191, minor 2009-11-20 22:35:18 +00:00
Michał W. Urbańczyk
d18b6c3d5a Fixed #2, #10, #118, #209, #210 2009-11-14 20:14:15 +00:00
Michał W. Urbańczyk
4151310be6 * better fix for #184 (should fix all related issues)
* fixed #214, #121, #100
2009-11-13 21:01:33 +00:00
Michał W. Urbańczyk
a6f61e33bd * restored 0.74 savegames compatibility (for easier reproducing reported issues)
* Fixed #184 and #189
* minor fixes
2009-11-13 19:04:36 +00:00
Michał W. Urbańczyk
f99c4d3c66 Fixed #110.
Some minor changes / fixes.
2009-11-13 16:02:25 +00:00
OnionKnight
64a72c39cb * Fixed bug 101, placing artifacts in specific slots in the backpack. Cleaned up swapArtifacts() to use more descriptive names as well. 2009-11-10 03:10:14 +00:00
mateuszb
db4ee5844f * implemented 206 and 207 from mantis 2009-11-08 14:44:58 +00:00
OnionKnight
e040033950 * Fixed bug 38. (Swapping with artifact from backpack) 2009-11-06 02:26:25 +00:00
Frank Zago
6b5feb63e6 Implemented "main menu" in-game option. 2009-11-01 01:15:16 +00:00
Frank Zago
7a6f1a383a Free now uninitialized std::map in CPlayerInterface::~CPlayerInterface. 2009-10-31 16:43:12 +00:00
OnionKnight
46c1127cc4 * Fixed bug 196. 2009-10-31 15:29:05 +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
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
DjWarmonger
7f5aa1007f Better handling of huge and empty message boxes (Bugs #55 and #183) 2009-10-24 11:17:10 +00:00
Frank Zago
04ea5deb01 Fixed bug 43. 2009-10-23 03:07:03 +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
142ec8e11a Lacking VCMI library include (VLC not found). 2009-10-22 17:50:37 +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