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
8963293c07
Avoid soname versioning for AI libraries. These libraries are dlopened so there is no need to make them versioned at all.
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2011-10-06 01:21:25 +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
Frank Zago
16c23bbf4e
Fixed one bad condition; and a compile fix.
2011-10-06 00:27:27 +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
07b8f87fb7
Partial support for Daemon Summoning.
...
It freezes for unknown reason, but still.
Minor fixes.
2011-10-02 07:16:34 +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
Michał W. Urbańczyk
623325ca61
Ouch. Thing was for branch only.
2011-09-27 22:03:43 +00:00
Michał W. Urbańczyk
bdd66b6537
Zmiany do Programming challenge.
2011-09-27 21:54:40 +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
Frank Zago
c481177515
Fixed #815 .
2011-09-24 00:32:55 +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
Frank Zago
479a714dbf
Better fix than r2381.
2011-09-13 03:31:17 +00:00
Frank Zago
bc8bfc2c9c
Fixed path to zvs (bug #809 ); fix from from vaderas.
2011-09-13 02:33:09 +00:00
Frank Zago
c46cb29446
sex is uninitialized (a virgin ?). Fixed a typo.
2011-09-13 01:46:11 +00:00
Frank Zago
4dedfcabd1
Compile fix.
2011-09-13 01:45:28 +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
DjWarmonger
8c7f574b01
Fixed #806 .
2011-09-06 06:26:58 +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
5fff82a3d2
Fix for #792
2011-09-05 18:12:46 +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
Frank Zago
34698eee4d
Fix description.
2011-09-04 02:40:46 +00:00