Ivan Savenko
89bd7e273d
- fixed #808
...
- Implemented Json validator and schema for buildings.json
- several fixes for Json writing
- fixed several gcc warnings
2011-10-08 16:58:25 +00:00
Frank Zago
7b1ede449d
Removed last instances of readNormalNr. Made readChar an inline.
2011-10-08 16:06:11 +00:00
DjWarmonger
0903d6037c
New pack - BattleEffectTrigger for various one-shot effects with animation
2011-10-08 13:02:58 +00:00
DjWarmonger
f4fc77ccb8
Creature spells are now functional.
...
It includes Master Genie, Archangel, Faerie Dragon & Elementals
2011-10-08 09:11:36 +00:00
DjWarmonger
47740cd683
Minor fix.
2011-10-08 07:19:29 +00:00
DjWarmonger
9a1460c2e0
Handling of cursor for creatures casting spells.
...
Lots of refactoring.
2011-10-08 06:59:36 +00:00
Frank Zago
c8f837b51b
Cleaned-up pcx loader.
2011-10-08 05:44:37 +00:00
Frank Zago
8403d177aa
Added endian aware macros read_le_u16 and read_le_u32 to replace readNormalNR(). Fixes a couple of issues on big endian machines.
2011-10-08 01:23:46 +00:00
Frank Zago
28231fee98
Newest GCC linker requires that every necessary library must be explicitly mentioned - no implicit linking allowed.
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2011-10-06 01:11:23 +00:00
yupsi
583aca8912
Move hero/Next hero buttons being blocked when they should ( #204 )
2011-10-04 19:43:49 +00:00
DjWarmonger
8c2dd9fdce
More mechanics for creature spells.
2011-10-04 13:12:29 +00:00
DjWarmonger
fa6bddcad5
A bunch of mechanics & refactorings.
2011-10-03 19:29:36 +00:00
DjWarmonger
27a82af24c
Proper handling of cursor.
2011-10-02 15:29:12 +00:00
DjWarmonger
f1f416c890
Fixed (unnecessary?) deadlock in BattleStacksRemoved. Daemon summoning is pretty functional.
2011-10-02 13:59:12 +00:00
DjWarmonger
6fdb984799
Lots of refactoring & work for creature spells.
...
No new features yet, but summon elementals now work properly again.
2011-10-01 19:56:54 +00:00
Frank Zago
5d4cfc0d0f
Fixed #382 .
2011-09-26 00:01:47 +00:00
Frank Zago
14261d6be9
Removed debug trace.
2011-09-25 18:59:59 +00:00
Frank Zago
4a3d1a22d6
Only draw the necessary borders for a message window. Fixes #388 .
2011-09-25 18:44:13 +00:00
Frank Zago
1f9e97005f
When changing resolution, both screen? and res? must be set. Fixes #813 .
2011-09-25 16:39:13 +00:00
Frank Zago
ddd3d166b1
Let user add maps in his home directory. Linux only.
2011-09-25 15:41:03 +00:00
Frank Zago
01566fcde1
Patch from Yupsi. Hero sleep/wake-up. Fixes #162 and #601 .
2011-09-24 16:46:23 +00:00
Frank Zago
6dd9d416b4
Fixed #812 .
2011-09-24 01:24:11 +00:00
Frank Zago
c4b8039c1e
Added a missing rturn in CGameHandler::isAllowedExchangeForQuery. Fixed several typos.
2011-09-24 01:15:36 +00:00
Ivan Savenko
d113517db4
- fixed #108 , #798 , #810
...
- fixed several gcc warnings
- some work on JSON (const char* as input, no crash on missing value)
2011-09-23 15:58:18 +00:00
Michał W. Urbańczyk
750995f7f9
A patch from Gesh fixing and #819 and removing reduntant #ifdefs (DLLHandler is win-only anyway).
2011-09-22 14:21:53 +00:00
Michał W. Urbańczyk
6ef44bde5a
Work on pathfinder: torn the code out from CGameState into a separate class. It can use Subterranean Gates and Boats. Removed code for handling Fly spell effect. It didn't work as supposed anyway.
2011-09-19 20:50:25 +00:00
ori.bar
74fafbedbf
Fix #807
2011-09-17 18:15:10 +00:00
DjWarmonger
1e4a08529c
Path for #773 from Yupsi
...
+ some refactorings
2011-09-15 05:41:47 +00:00
Frank Zago
0cfb2deeaf
Reverted r2382; add zvs to the game data (linux); simplified BitmapHandler::loadBitmap().
2011-09-14 05:27:49 +00:00
DjWarmonger
e9991f7932
Fixed #797 . Minor tweaks.
2011-09-10 15:06:48 +00:00
DjWarmonger
899aeeb748
New feature: All tiles affected by multi-hex attack will be highlighted when attack is possible.
2011-09-10 13:04:20 +00:00
ori.bar
ebacb433fe
auto_ptr -> shared_ptr see http://gcc.gnu.org/onlinedocs/libstdc++/manual/auto_ptr.html
2011-09-10 09:42:09 +00:00
Michał W. Urbańczyk
9621cbcaa7
* fixed crash on calculating dmg dealt by stack under Curse
...
* fixed crash on sea battles (obstacles data got corrupted during conversion)
* fixed crash when StupidAI had a catapult
* minor fixes and refactorings (typename for bonus list under shared ptr)
2011-09-06 13:59:26 +00:00
Michał W. Urbańczyk
bb1bdcb0a7
* fixed crash on visiting Sirens
...
* fixed race condition on the new turn, #729 should be gone
* fixed crashes in AI-only game mode
2011-09-06 09:59:06 +00:00
Michał W. Urbańczyk
8b7a2f179c
* Server will strictly require answering the queries before taking any actions. Let me know, if this causes any freezes.
...
* Fixed crash on new week after we lost battle with neutral monster but killed the top stack (merging failed then).
* minor changes
2011-09-06 06:00:32 +00:00
DjWarmonger
e3a8a41063
Fixed #804 .
...
Phoenix won't upgrade to Centaur Captain ;)
Minor tweaks.
2011-09-05 06:37:24 +00:00
Frank Zago
2ae53395d7
Removed duplicate function initVillagesCapitols(), and simplified its clone loadTownDInfos().
2011-09-04 18:07:26 +00:00
ori.bar
5b836f428a
Partial fix for 37. Full fix for 27, 64, 600. Fix for bug where code tried to reload non existent file.
2011-09-04 00:04:48 +00:00
Frank Zago
eff17aa850
Created campaign_regions.json from campaign_regions.txt.
2011-09-03 19:51:45 +00:00
Frank Zago
04995938dc
Fixed bad battle backgrounds (introduced in r2334).
2011-09-03 03:53:08 +00:00
Michał W. Urbańczyk
d71ed76a0f
Fixed villages/capitols not appearing.
2011-09-03 03:04:06 +00:00
Michał W. Urbańczyk
6b9e64de91
Lazy updates of hero paths.
2011-09-03 02:54:33 +00:00
Frank Zago
d8249d007f
Replaced a few iterators with BOOST_FOREACH.
2011-09-01 04:01:54 +00:00
Michał W. Urbańczyk
c5452f26fc
Fixed #791 . Don't like it. Rogues do not have TURN_R sequence. I if-ed out that in reverse animation but I believe more general solution should be devised, possibly on the side of CCreatureAnimation.
2011-09-01 03:12:54 +00:00
Michał W. Urbańczyk
20a53b04fd
Removed object recycling that was causing #796 . Fixed text nr typo.
...
Corrected json include in client/Client.cpp.
2011-09-01 01:40:46 +00:00
Frank Zago
d49058049e
Created towns_defs.json from townsDefs.txt.
2011-09-01 00:11:34 +00:00
Frank Zago
35622913f9
Convert ERMU_to_picture.txt into ERMU_to_picture.json.
2011-08-31 23:27:33 +00:00
Ivan Savenko
3fc42134b7
- fixed #586 , #757 , #758
...
- fixed spinning projectiles for some creatures
2011-08-31 12:11:34 +00:00
Frank Zago
e5349c58cd
Created wall_pos.json from wall_pos.txt.
2011-08-31 04:11:44 +00:00
Frank Zago
71b1eef6b6
Merged AC_desc.txt into battles_graphics.json.
2011-08-31 03:27:18 +00:00