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

2626 Commits

Author SHA1 Message Date
Ivan Savenko
1b50082e43 - fixed crash with necromancy dialog #1009 (russian-only)
- Client::run will catch only asio exceptions
- (linux) fixed typo that disabled debug mode
2012-06-16 17:12:58 +00:00
DjWarmonger
4d62525ff7 - Restored missing code for BattleInfo::getAvaliableHex - Elementals will now be placed correctly
- Fixes for BattleHex::getDistance returning 0 for adjacent hexes
- All stacks will now be placed after obstacles (fixes #1004)
- Removed unused code from ArtHandler
2012-06-16 14:25:39 +00:00
Ivan Savenko
8c6965c5ee - shadows for CWindowObject-based windows
- better error messages on read error
- fixed crash on level-up window
2012-06-16 10:41:14 +00:00
Ivan Savenko
2d8a15f27c - all windows except for pregame\battles are now CWindowObject-based
- added simple scaling algorithm that works with indexed surfaces
2012-06-15 17:08:19 +00:00
beegee1
7a3a86b342 * Added RPM spec file for building RPM packages 2012-06-14 09:46:28 +00:00
DjWarmonger
ef250fcb8f Compile fixes for previous commit. 2012-06-13 14:11:18 +00:00
Ivan Savenko
9d2711fb51 - rewrote most of classes from adventure map window
-- new files: client/AdventureMapClasses.*
-- implemented all missing details from infobox
- textinput can handle numbers as input
- fixed several bugs caused by CIntObject changes
- fixed #988
2012-06-13 13:04:06 +00:00
beegee1
fff602d4f6 * Updated linux readme 2012-06-11 18:45:57 +00:00
Michał W. Urbańczyk
84630a0984 Fixed #993, tent code cleanups. 2012-06-10 13:07:08 +00:00
Michał W. Urbańczyk
d0816a7924 Fixed crash when artifact casts spell ( #991 ) 2012-06-10 12:01:56 +00:00
Michał W. Urbańczyk
e6ebf42308 #994 should not crash anymore. 2012-06-09 19:58:17 +00:00
DjWarmonger
cdb55500f3 Fixed #979 2012-06-09 19:24:04 +00:00
Michał W. Urbańczyk
f378e5be31 MSVC compile fix #997.
CClickableHex apparently can't be held by value in vector anymore.
2012-06-09 16:45:45 +00:00
Frank Zago
5dff7d64f6 Allows to load campaigns from the user directory too. 2012-06-09 14:26:41 +00:00
Michał W. Urbańczyk
e7d82a9702 Rewritten CLoadFile::openNextFile to be cleaner and not leak. Desperate messing around for #989. 2012-06-08 00:12:31 +00:00
Frank Zago
9fc459b5c8 Fixed clang warnings. 2012-06-07 03:08:38 +00:00
Frank Zago
bc4f856bfc Put Warrior's Tomb into the switch statement and properly set the sound returned. 2012-06-07 03:02:30 +00:00
Frank Zago
534c9142ac Updated for 0.89 2012-06-02 15:46:47 +00:00
Ivan Savenko
d60f2d57a0 - first part of CIntObject API clean-up.
- - mostly remove usage of (de)activateSomething functions
- - CIntObject's can be safely deleted in active state or without removing from parent first
- - Added CWindowObject to use as base of all windows (will be required for such features as shadows)

Report any crashes or glitches - it should not cause any issues apart from more console output. 

TODO:
- remove redundant (de)activate and show(All) calls
- decrease usage of blitAtLoc\printAtLoc methods
- switch all windows to new base
2012-06-02 15:16:54 +00:00
Michał W. Urbańczyk
3df1ddbf86 Post-release version bump.
Fixed #986.
2012-06-01 21:31:41 +00:00
Ivan Savenko
c3eead45d4 (linux-only)
- version set to 0.89
- added icon and desktop file for client
- updated compilers warning settings
2012-06-01 17:28:05 +00:00
Michał W. Urbańczyk
dc4d30df0e Ench0's patch from #948. 2012-06-01 17:23:26 +00:00
Michał W. Urbańczyk
b7c4da65b5 Integrated 1280x800 resolution from #972.
Version set to 0.89.
Updated changelog.
2012-06-01 17:11:30 +00:00
Michał W. Urbańczyk
759f85767b Solved #985. 2012-06-01 16:14:33 +00:00
Michał W. Urbańczyk
4cd77a0192 Naive solution for endianess issues. Seems to allow loading a big-endian save on little-endian build.
Fixed compile issues with CEmptyAI. Removed unnecessary methods from its.
2012-06-01 15:59:26 +00:00
Ivan Savenko
828d9e70d2 - one more crash at map loading 2012-06-01 11:35:31 +00:00
Ivan Savenko
4e92859cee - fixed crash on loading of some maps
- minor fixes
2012-05-30 18:37:21 +00:00
Michał W. Urbańczyk
247fabc3a6 Seems to be actually a missing return and redundant check. 2012-05-29 23:22:28 +00:00
Ivan Savenko
faaf799d95 - fixed some extra warnings. Mostly harmless.
NOTE: Please check changes in BattleState.cpp and GameHandler.cpp for possible bugs
2012-05-28 19:29:32 +00:00
Ivan Savenko
61ccabde53 - vcmi can be compiled with clang-3.1 2012-05-27 19:06:35 +00:00
Ivan Savenko
c512069177 - fixed #982:
-- replaced 8to24 bilt with sdl blit
-- fixed alpha values for images loaded via SDL
2012-05-27 14:07:12 +00:00
Ivan Savenko
7ddf76a081 - fixed #967
- removed unused settings.txt
- fixed player flags on info windows.
2012-05-26 17:59:00 +00:00
Frank Zago
e15371eaf0 Add more WoG files to the data files. 2012-05-26 13:22:00 +00:00
Michał W. Urbańczyk
77e7a25ed7 Fixed #970.
Fixed issue where cursed ground obstacles were appearing on holy ground (and vice versa).
Fixed battle interface blocking itself up after clicking on owned stack to open creature window.
2012-05-26 11:01:31 +00:00
Michał W. Urbańczyk
470885d719 Fixed #969.
Minor changes.
2012-05-26 10:02:55 +00:00
Frank Zago
ee103c7bcd Compile fix. 2012-05-26 03:29:34 +00:00
Frank Zago
173147eb3d Update for 0.88b. 2012-05-26 03:29:13 +00:00
DjWarmonger
e0135ab6a6 Fixed Commander artifacts management, including #968. 2012-05-25 15:10:38 +00:00
Michał W. Urbańczyk
41480a489e Win compile fix (#974) 2012-05-25 14:53:56 +00:00
Ivan Savenko
49495c9caf - possibly fixed #966 and #958
- fixed crash on shutdown 
- fixed compile issue #973
2012-05-25 11:49:56 +00:00
Michał W. Urbańczyk
3c43e03d4e Changelog update. Development build 0.88b. 2012-05-22 21:26:27 +00:00
Michał W. Urbańczyk
ee6e9fcc7f Fixed #947. 2012-05-22 21:08:16 +00:00
DjWarmonger
3e4d0e73e8 Fixed #964.
Basic scrolling for commander artifacts. Needs tuning.
2012-05-22 17:16:37 +00:00
DjWarmonger
18e53a1717 - Fixed a scenario when AI could visit the town without picking troops, resulting in a lock
- Added ench0's patch for creature range tooltip (#948)
2012-05-22 10:15:16 +00:00
Michał W. Urbańczyk
401d6816d1 Workaround for serializer allowing sending CStackInstance* pointing to commander. (and only CStackInstance*) 2012-05-21 23:39:35 +00:00
DjWarmonger
d34cf90bf7 Support for Chain Lightning.
Fixed getClosestTile function.
2012-05-20 11:40:23 +00:00
Ivan Savenko
59255a4cad - background for main menu can be scaled. Won't work as default due to non-scalable video 2012-05-20 11:03:21 +00:00
DjWarmonger
88639be91b Enabled commander artifacts. Don't work yet. 2012-05-20 08:39:19 +00:00
Michał W. Urbańczyk
a234b4c935 Fixed #956.
Removed unused code left after tests.
Updated changelog.
2012-05-19 22:57:24 +00:00
Ivan Savenko
a13a62537b - fixed crash in hero window (#963)
- added unused for now image scaling algorithm
2012-05-19 21:38:01 +00:00