Commit Graph
2072 Commits
Author SHA1 Message Date
Frank Zago 2bcba53a5d (linux) compile fix. 2011-05-12 01:39:37 +00:00
mateuszb 95b16906aa * a few bugs in interpreter fixed 2011-05-11 19:53:55 +00:00
beegee1 7c771e5c56 * Fixed: The Creatures inside the walls in the 1st row of hexes should have priority over the wall 2011-05-11 17:43:19 +00:00
beegee1 f3b5ede486 * Fixed the jumping creature animation bug when a unit isn't fully display at the battle screen. The upper creature turret moved (randomly) from left to right during battle and wasn't displayed at the correct x position. 2011-05-11 16:08:37 +00:00
Frank Zago c165593896 (linux) added new files into the makefiles and compile fixes. 2011-05-10 01:15:10 +00:00
Michał W. Urbańczyk 58ebfc421d One more file:
* lib/IGameEventsReceiver.h

Workaround for crash on post-visit.
2011-05-09 22:30:37 +00:00
Michał W. Urbańczyk 617e1f962e New files for lib:
* lib/ERMScriptModule.cpp
* lib/ERMScriptModule.h
* lib/CObstacleInstance.h

More jugglery with callbacks. Moving stuff from CGameState to CGameInfoCallback. Work on unified game events interface for player (AI or GUI) and script module. Directing events to ERM interpretetr, first attempts of calling some triggers. Crashy, if there any scripts.
Some other changes, including fighting amount of includes in includes and tracking of hero visits (need further work).
2011-05-09 22:20:47 +00:00
mateuszb 743df272e4 * arithmetic and boolean operations on variables
* hopefully working DO receiver
2011-05-07 15:13:56 +00:00
mateuszb 2d36cae2ca * partially done DO receiver 2011-05-06 19:32:04 +00:00
Frank Zago 98577e402f av_free_packet is a library call. Don't reproduce its code here. 2011-05-04 03:42:09 +00:00
Frank Zago f7a4bb906c Several minor cleanups. 2011-05-04 02:38:58 +00:00
Frank Zago 91dc7a0dd4 Include proper boost header. 2011-05-04 02:37:27 +00:00
Frank Zago c46f3da9ab Fixed potential NULL dereference. 2011-05-04 02:35:44 +00:00
Frank Zago 0c3f3c67a9 Callback naming fix. 2011-05-04 02:32:35 +00:00
mateuszb 85d0d49207 * most of VR:S receiver 2011-05-03 14:45:57 +00:00
Michał W. Urbańczyk b4144dc616 Callback jugglery, part 1.
Fixed #252.
2011-05-03 03:14:18 +00:00
Michał W. Urbańczyk aca90abd38 Settings.txt with info for 1920x1080 resolution. The package with graphics can be obtained from http://forum.vcmi.eu/download.php?id=380
The new resolution has been prepared by Plush.
2011-05-03 03:10:05 +00:00
mateuszb 86a7cd12ff * checking ERM conditions should work now 2011-05-02 18:39:57 +00:00
beegee1 36d29424f0 * Turrets, keep and turret covers can be now be placed by altering wall_pos.txt
* Fixed recruitment slider bug
* Fixed #271
* Improved color management
2011-04-30 19:52:35 +00:00
Ivan Savenko e494171de3 - several changes to get reusable code
- possibly fixed #725
- bug in random seed initializing?
2011-04-30 18:16:58 +00:00
Michał W. Urbańczyk ec76876bda drawBorder should not crash when attempted drawing outside the surface. 2011-04-29 00:50:54 +00:00
beegee1 45fba15511 * Reverted previously changed PreGame code
* Added the missing AB video resource file in linux code, AB campaign selection videos should now play BUT they don't => it seems that ffmpeg can't handle older BINK videos
* Fixed a visual glitch which could be seen at the WOG animation in the main menu on a linux machine
* Fixed the random crashes bug on mouse centering at startup on linux
* Fixed a visual bug at the bonus selection screen when starting a campaign-map
* Changed some positions in the bonus selection screen, no bonus pre selection, you cannot start the campaign when no bonus is selected (like in h3)
* Added a border functionality to the AdventureMapButton
* InfoWindow buttons and some other buttons have now the border which heroes 3 buttons have
* Fixed a app crash when you start a campaign two times in one session
2011-04-26 13:30:29 +00:00
DjWarmonger a73a1c2724 Battle log messages for new abilities.
Lots of fixes.
2011-04-26 07:57:26 +00:00
DjWarmonger a4d845688a Support for Poison, Age, Disease
Partial support for Stone Gaze, Paralyze, Mana drain
Partial fix for #134 - animation triggers only for our own stacks, not enemy's
Lots of tweaks & fixes.
2011-04-25 09:03:13 +00:00
Michał W. Urbańczyk 362f413b4d Fixing #127 and #702. 2011-04-24 02:02:41 +00:00
DjWarmonger 1973241c1e One more file. 2011-04-23 17:12:11 +00:00
DjWarmonger 7591d06b05 Support for Death Stare.
Some tweaks are still needed. Level 0 spell-like abilities won't work correctly.
2011-04-23 17:10:54 +00:00
Ivan Savenko 61af4c745e - recursive directory parser for LodHandler - for creature abilities and new main menu images
- fixed screen updating on closing window
- minor fixes
2011-04-23 10:27:44 +00:00
DjWarmonger 7e9033c44f Fixed #668 and #718.
Hero is now properly attached to his special.

Compile fix for ERM Parser.
2011-04-23 09:57:51 +00:00
Michał W. Urbańczyk 5cc9d16014 Fixed #276. 2011-04-22 22:28:13 +00:00
Michał W. Urbańczyk d092eaf9d1 Artifact Merchant: selling artifacts. Messy, but completes H3 town structures functionalities.
BTW updating screen after closing marketplace is broken.
2011-04-22 21:51:10 +00:00
mateuszb 4ac2d32985 * minor work on ERM interpreter 2011-04-22 20:33:34 +00:00
mateuszb 66837f1ee0 * some work towards running triggers 2011-04-21 20:06:42 +00:00
beegee1 66b708c168 * PreGame interface gets now redrawn every frame.
* Changed PreGame event handling and update/draw order.
* Changed mouse cursor drawing in PreGame
* Fixed linux bug where main menu WOG animation gets played only once, windows/linux video handling is now more similar
* Minor code improvements
2011-04-17 18:02:13 +00:00
mateuszb 69c8c0d058 * a bit more of erm interpreter (iexp getter/setter) 2011-04-17 17:51:48 +00:00
mateuszb 36fb9b0b6e * some progress in VERM interpreter 2011-04-16 17:39:38 +00:00
DjWarmonger 3241e7c8f8 Applied patch for #721 from Plush. 2011-04-15 18:43:46 +00:00
DjWarmonger 6a8e3f1b57 Neutral creatures are now correctly split into stacks & merged after a battle.
TODO: find relation to adventure map tile
2011-04-14 07:58:19 +00:00
beegee1 d6bd8514e7 Fixed bug #722. GuiBase::Run is now mostly in its old state. (before rev 2062) One disadvantage is now that the FPS Counter doesn't work in battle. 2011-04-13 19:52:56 +00:00
DjWarmonger 3c5a0fd4ce Creatures now use SHOTS Bonus to express their total ammo count. Support for "additional shots" exp premy. 2011-04-12 08:59:18 +00:00
Ivan Savenko 734c95959e gcc compile fix 2011-04-10 22:06:05 +00:00
mateuszb 033c067144 * it shouldn't parse scripts yet 2011-04-10 16:42:20 +00:00
mateuszb 382e239e47 * a bit more of ERM/VERM interpreter 2011-04-10 16:39:34 +00:00
DjWarmonger f12aeb7fa4 More tweaks. 2011-04-10 10:31:42 +00:00
DjWarmonger 57d292ba67 Partial support for splitting neutral stacks. Can't go further until interface is fixed. 2011-04-10 08:33:53 +00:00
DjWarmonger 4bcf4926c9 Various fixes. 2011-04-10 05:41:24 +00:00
DjWarmonger 0f60ceb414 Impemented scrollbar for Creature Window. Call it finished. 2011-04-09 19:34:48 +00:00
Frank Zago 5795334eec Added missing throw(). 2011-04-09 19:10:29 +00:00
Frank Zago ecb3508690 (linux) Added configure test for the icc and clang compilers, and set some extra parameters for them. 2011-04-09 17:28:51 +00:00
mateuszb b0ca5b677c * a few data structures for ERM/VERM interpreter 2011-04-08 19:24:30 +00:00