1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
Commit Graph

2204 Commits

Author SHA1 Message Date
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
Frank Zago
b0cecac5c9 (linux) Use avcodec_decode_video when avcodec_decode_video2 is not present. Updated vcmi version number. 2011-04-08 04:21:41 +00:00
Frank Zago
29ea089e47 Use newer m4 macros to detect libboost. This should fix the lib64/ issue seen on OpenSUSE. 2011-04-08 03:30:20 +00:00
Ivan Savenko
0f605256e9 - added new files to build system
- minor gcc fixes
- updated castle interface code, added missing parts including #380
- buildings enum in global.h
2011-04-07 17:54:08 +00:00
DjWarmonger
8ac7edb04b Fixed #680 2011-04-07 16:44:24 +00:00
Frank Zago
69364b5b60 Various gcc compile fixes, and updates to linux code. 2011-04-07 02:16:32 +00:00
mateuszb
7874d84c4e * basic structure of ERM interpreter
* SHOW_FPS moved to settings.txt
* minor changes
2011-04-06 20:30:59 +00:00
beegee1
157002fe68 Better implementation of the framerate manager, FPS timer added, minor improvements 2011-04-05 17:38:24 +00:00
Michał W. Urbańczyk
0aad12ae67 Added ERM preprocessor (removing comments, empty lines, joining multi-line commends). 2011-04-03 21:38:47 +00:00
mateuszb
3fc570a8e9 * parsing multiple consecutive modifiers in VERM
* minor improvements
2011-04-03 13:15:07 +00:00
Michał W. Urbańczyk
b5a546349b Moved framerate keeper from CPlayerInterface to CGuiHandler, thing should be running smoother. 2011-04-03 10:45:39 +00:00
Michał W. Urbańczyk
6d52bb5842 timeHandler: FreeBSD fixes, based on plush's patch ( #719 ).
Aesthetic „fixes”.
2011-04-02 23:45:47 +00:00
mateuszb
21eaec883c * VERM grammar seems to be complete 2011-04-02 18:06:52 +00:00
mateuszb
ccecc6637f * partially done support for VERM
* MSVC compilation fix (using boost::ref is an error)
2011-04-01 19:09:05 +00:00
Ivan Savenko
407acce4c6 - gcc 4.5 / boost 1.46 compilation fixes
- configure will accept CXXFLAGS parameter correctly
- boost version check in ERMParser - to skip compilation with old boost
2011-03-29 17:16:10 +00:00
mateuszb
c6d0814062 * ERM parser is generally done, no serious bugs are known 2011-03-28 19:34:00 +00:00
mateuszb
3c393843e6 * ERM parsing mostly done, some strange cases of body syntax, undocumented expressions and encoding issues still remain. 2011-03-27 17:24:30 +00:00
DjWarmonger
15d80d040f Correct handling of merging & moving stacks with experience. 2011-03-27 09:31:14 +00:00
mateuszb
caf50fc278 * most of WoG's ERM parsed, a few minor things left + body needs to be parsed a bit deeper. 2011-03-25 20:38:24 +00:00