Michał W. Urbańczyk
f52d4f7cd6
Merged changes from trunk.
2011-01-15 02:35:46 +00:00
Michał W. Urbańczyk
a940daba5e
A handful of fixes for artifacts, minor for for battles.
2011-01-15 02:17:56 +00:00
mateuszb
57580b87e1
* minor fix for battle interface
2011-01-14 18:08:01 +00:00
mateuszb
56ec829049
* minor refactoring
...
* minor improvements in battle interface
2011-01-09 17:41:46 +00:00
Michał W. Urbańczyk
c1bd81abdd
Mostly fixed battle animations.
...
Added proper ending for duel mode.
2011-01-08 19:38:42 +00:00
Michał W. Urbańczyk
a53ec23556
Stupid AI is capable of winning / losing battle.
2011-01-08 18:33:40 +00:00
mateuszb
957f1764d7
* some progress in StupidAI
...
* refactoring of battle handling
WARNING: strange crash on entering battle
2011-01-07 10:48:31 +00:00
Michał W. Urbańczyk
401b364ad7
Partially functional artifact screen.
...
[TBD compound artifacts, backpack arranging, "live" modifying values, many details]
2011-01-06 20:00:19 +00:00
Ivan Savenko
b8f65697ca
- fixes for several bugs: #639 #656 #135 #646 #638 #94 #629
...
- re-enabled console on Linux to allow disabling AI
2011-01-01 20:26:39 +00:00
Michał W. Urbańczyk
c9189119b9
Little more work on artifacts.
2010-12-29 21:04:22 +00:00
mateuszb
8104a43809
* a voodoo fix of a mysterious bug
2010-12-27 10:48:28 +00:00
Michał W. Urbańczyk
471c23ba71
Compile fixes, more work on new artifact system.
2010-12-26 14:34:11 +00:00
mateuszb
b3fd14b524
* splitted CGameState into general game state and battle game state
...
* added missing fields to serialize in CHero
2010-12-25 19:23:30 +00:00
Michał W. Urbańczyk
2cf6729eee
Towards duel support.
2010-12-25 01:43:40 +00:00
mateuszb
6383c9a013
* more extensive usage of CStack pointers instead of stack IDs
2010-12-24 21:44:48 +00:00
mateuszb
4929cf9782
* enum for secondary skills
...
* THex for battle positions
* towards removal of battleGetStackByID
TODO:
investigate the necessity of putting implementation of BattleAction CGlobalAI::activeStack( const CStack * stack ) in CGeniusAI.cpp
2010-12-23 20:18:10 +00:00
Michał W. Urbańczyk
2fe8b07f4f
Little more development for duel mode.
2010-12-23 00:33:48 +00:00
mateuszb
af2c4633ad
* partially done duel mode
...
* program options parsing via boost::program_options
* Stupid AI - a stupid battle-only AI
* precompiled headers for server and Stupid AI on MSVC
2010-12-22 20:14:40 +00:00
mateuszb
49083c4e5a
* ConstTransitive CGI more or less done
...
* hch contents distributed to more appropriate folders
2010-12-20 21:22:53 +00:00
mateuszb
8b831c1f46
Const-transitiveness of CGI almost reached
2010-12-20 13:04:24 +00:00
mateuszb
b15deaa203
* more constTransitivePointers in GameInfo, separated client GUI classes from it, moved def handlers from CGDefInfo
2010-12-19 14:39:56 +00:00
mateuszb
5806976a9a
* towards ConstTranssitivePointers in CGI
2010-12-18 22:11:28 +00:00
mateuszb
23c501b79e
some changes
2010-12-17 18:47:07 +00:00
Michał W. Urbańczyk
b15ac97c62
Half done refactoring of CHeroWindow.
2010-12-16 22:32:53 +00:00
Michał W. Urbańczyk
e301256f92
Adjusted player interface to new set of stack operations.
...
Const transitive ptr.
2010-12-14 21:55:23 +00:00
Michał W. Urbańczyk
f7f917845c
Merged changes from trunk ( r1885 )
2010-12-14 18:08:21 +00:00
mateuszb
3989afd153
* more const-correct interface
2010-12-13 20:16:18 +00:00
Michał W. Urbańczyk
02e4ef507e
Stacks #5 : giving creatures, practically finished (many fixes needed).
2010-12-12 23:44:16 +00:00
Michał W. Urbańczyk
fc6d6e02a3
More fixes for stacks, some basic macro-based logging for bonus graph operations.
2010-12-11 23:11:26 +00:00
Michał W. Urbańczyk
e677cd5b07
Merged r1880.
2010-12-11 20:30:33 +00:00
Michał W. Urbańczyk
69b97e0a51
Little more changes.
2010-12-09 23:10:28 +00:00
mateuszb
ad48681d91
* cleanup
2010-12-08 20:17:05 +00:00
Michał W. Urbańczyk
f020562570
Merged changes from trunk.
2010-12-05 23:26:56 +00:00
Michał W. Urbańczyk
848a00bc6f
Stacks #4 -> giving creatures still needs to be fixed.
2010-12-05 23:10:02 +00:00
mateuszb
6f56b5bb30
* a few more consts
2010-12-04 19:44:23 +00:00
mateuszb
efedb1a55a
* minor cleanup
2010-12-04 19:15:20 +00:00
DjWarmonger
ea03273c8e
Some work towards useful AI:
...
-It is possible to toggle adventure AI on / off typing "ai" in the console (default is true)
-General cleaning and formatting of code
-Some minor optimizations
-Teal console log for AI
AI tends to hang in the maze of mutexes and current player interface, further investigation is needed.
Fixed #580
minor tweaks
2010-11-28 16:39:13 +00:00
Michał W. Urbańczyk
fdb541d81e
Stacks #3 -> towards new system of stack operations.
2010-11-27 20:17:28 +00:00
Michał W. Urbańczyk
7c3f3d20c3
Stacks #2 -> towards new system of stack operations.
2010-11-27 01:46:19 +00:00
Michał W. Urbańczyk
32ce20af15
Moving stack system to pointers, part #1
2010-11-22 00:34:46 +00:00
Michał W. Urbańczyk
9250cc8adf
Separated CStack and CStackInstance.
2010-11-20 17:36:02 +00:00
Michał W. Urbańczyk
cdf7b2b4d9
Bonuses now use pointers.
...
Things are very broken.
2010-11-18 22:06:56 +00:00
Michał W. Urbańczyk
4d657eaf47
Merges from trunk. Minor changes.
2010-11-18 18:07:57 +00:00
Ivan Savenko
73a4c2e446
- missed Hill Fort fixes
...
- compile fix
2010-11-18 13:34:21 +00:00
Ivan Savenko
265d7a22d6
Animation system update:
...
-- files moved to /client, GUI classes added
-- handling of creatures, used in creature cards, fixed #469 \ #490
-- handling of town buildings
#631 crash at hill fort fixed
2010-11-15 15:15:00 +00:00
DjWarmonger
310a36c8d1
Fixed 313 & 314 :)
2010-11-15 12:51:53 +00:00
DjWarmonger
56cd172b82
Fixed #296
...
Partial fix for #314
2010-11-15 07:15:10 +00:00
Michał W. Urbańczyk
9028684697
Disemboweling the system.
...
Things are broken now.
2010-11-13 20:26:15 +00:00
Michał W. Urbańczyk
bce805dacc
Restored Warmonger's changes to artifacts system.
...
They will be subject of my further work, along with next part of bonus system.
2010-11-10 00:06:25 +00:00
Ivan Savenko
9771dd12ff
- changes in LodHandler:
...
-- file type (text, image...) can be specified in getFile(), all hacks removed
-- replaced Nodrze with std::set
- some gcc warnings fixed
2010-11-09 11:27:58 +00:00
Michał W. Urbańczyk
4434a73651
#630 , ofstream doesn't have constructor from std::string on older compilers.
2010-11-07 12:14:31 +00:00
Michał W. Urbańczyk
d715510bee
Version bump.
...
Fixed a stupid typo, thankfully not very breaking.
2010-11-06 14:43:48 +00:00
Michał W. Urbańczyk
5d1111019c
Fix for garrison issue.
...
To be released as second hotfix.
2010-11-05 21:44:11 +00:00
Michał W. Urbańczyk
30ae49864a
Workaround for the font issue.
2010-11-05 20:48:54 +00:00
Michał W. Urbańczyk
0f4478d8cf
Hotfix for meeting window.
2010-11-04 23:28:26 +00:00
Michał W. Urbańczyk
1c8d909433
Hotfix for loading game.
2010-11-03 11:34:25 +00:00
Michał W. Urbańczyk
5004c1188b
Since filename extensions are omitted, GARRISON.TXT was hiding GARRISON.BMP. I've added a crude workaround (ignore the first file since it's not used).
...
Fixed #613 .
2010-10-31 21:29:39 +00:00
Michał W. Urbańczyk
a346708398
#610 / minor
2010-10-31 19:56:37 +00:00
Michał W. Urbańczyk
dc5370ad6e
Fixed #585 and #588 .
2010-10-31 19:17:26 +00:00
Frank Zago
dbe38a7062
A few bug fixes and arious warning fixes: unused code/variables, out of order initializations, ...
2010-10-30 21:53:41 +00:00
Michał W. Urbańczyk
e83b9fa8fa
Fixed battles for network MP.
2010-10-30 19:26:39 +00:00
Michał W. Urbańczyk
0e12c1419e
Not very nice fix for campaigns.
2010-10-30 14:53:23 +00:00
Ivan Savenko
923fed7dc1
- fix for bonuses in campaign screen
...
- fixed gcc warnings
- build system updated
2010-10-25 19:37:21 +00:00
Michał W. Urbańczyk
e301f8e048
Reenabled campaigns. Workaround for crash when button graphic is not available.
2010-10-24 21:29:18 +00:00
Michał W. Urbańczyk
daeb3af67a
Early changes towards MP support.
...
It's possible to connect several clients (running on localhost) and enter MP pregame. The actual MP game still not playable. (though it can be started)
2010-10-24 11:35:14 +00:00
Michał W. Urbańczyk
aa131bbf15
Reverted r1811, r1812, r1813
2010-10-24 11:23:43 +00:00
Ivan Savenko
c10dac929d
- New animation system:
...
-- New files: hch/CAnimation.h/cpp
-- Class CAnimation capable to load file partially and/or keep data in compressed state
-- Buttons now use CAnimation instead of CDefHandler
- build system regenerated to include new files
- fixed several gcc warnings
- updated README.linux
2010-10-18 15:08:59 +00:00
DjWarmonger
6cadd47f0d
Fixes for artifact system - instances are serialized and synchronized. However, still some serializer issue prevents Scroll from working.
2010-10-09 18:38:32 +00:00
DjWarmonger
b75cf89f86
Partial support for customizable artifacts and Spell Scroll. Still doesn't work, though.
2010-10-03 17:52:11 +00:00
DjWarmonger
0f314e106c
Artifacts will now be handled by pointers.
...
Assembling & disassembling combos may be buggy, but it's already been before.
2010-10-03 07:07:53 +00:00
DjWarmonger
2c43707661
More fixes for weeks & growths.
2010-10-02 09:43:22 +00:00
DjWarmonger
02d7fa35b7
A number of fixes. Banks serialization, doubling spell effects, week of plague.
2010-10-02 07:10:38 +00:00
DjWarmonger
47c8ee2e13
Statue of Legion constituents are now properly handled by GUI.
2010-09-26 05:21:09 +00:00
DjWarmonger
717141ab0b
Statue of Legion is finally functional.
...
You can see my attempt to create very generic handling of global effects, but I abandoned it since no other items might actually use it.
However, Statue's constituents are buggy, so may be assembling & dissasembling them. Most likely this issue is general.
2010-09-25 20:23:55 +00:00
mateuszb
9356ba15ef
* minor improvements for campaigns
2010-09-04 14:49:15 +00:00
Frank Zago
4b8be22fb6
Several compile/link fixes.
2010-09-04 14:47:39 +00:00
mateuszb
4ba3c68ced
Chenges (networking for PG, minor fixes)
2010-09-03 18:42:54 +00:00
mateuszb
608e26b453
* a few fixes for CStack.effects removal - more should come
2010-08-31 10:22:21 +00:00
DjWarmonger
bfe266a377
Moved battle effects to bonus system. May be buggy.
...
Moved creature damage to bonus system, simplified its handling. Some changes and tweaks.
Support for Adela's bless.
2010-08-30 18:06:17 +00:00
Ivan Savenko
9e8d0651f6
- fix for #32 (b)
...
- fix for some warnings
2010-08-29 23:12:34 +00:00
DjWarmonger
cb1a01950f
Fixed #617
2010-08-29 09:00:59 +00:00
Ivan Savenko
88fd213e87
- LodHandler now will ignore file extensions.
...
Special case: MSK\MSG files (they have same names as def) can be accessed as file#msk or file#msg
- some fixes
2010-08-28 15:10:37 +00:00
mateuszb
fc79b9b6cf
* partial implementation of hero crossover
...
* minor fixes to resolution handling
* other minor fixes and changes
2010-08-28 14:52:20 +00:00
Ivan Savenko
4d171bd53c
-rewrote GarrisonInt with use of object capturing
...
- BitmapHandler can now load images from any format supported by SDL_Image
note: file can have any possible format but extension should be .bmp or .pcx
- fixed some warnings
2010-08-27 16:20:35 +00:00
mateuszb
d1bfe4cbd6
* a bit better screen scrolling for small resolutions
...
* a bit optimized terrainRect
2010-08-26 15:33:55 +00:00
mateuszb
c45d037bc8
* small bugfix for hiding tiles
...
* minor changes
2010-08-26 12:06:36 +00:00
DjWarmonger
c7f8f0a967
Support for creature weeks and Deity of Fire is now complete.
2010-08-26 07:23:08 +00:00
Ivan Savenko
dc2f3cf181
- some fixes for town events
...
- #190 - InfoWindow components adjusted vertically
- #194 - correct sex for heroes in battles
2010-08-25 14:57:58 +00:00
mateuszb
7cad2364fe
* minor fixes for screen scrolling
2010-08-23 16:13:30 +00:00
mateuszb
6b8718b046
* partially done support for resolutions smaller than 800x600 by screen scrolling
2010-08-23 15:16:40 +00:00
DjWarmonger
6f94fcd083
Minor fix for creature Component.
...
Some missing code also.
2010-08-22 07:54:24 +00:00
Frank Zago
e252c2d06c
Build files update.
2010-08-21 00:41:40 +00:00
mateuszb
d681afe1c1
Changes towards campaign support.
2010-08-20 13:34:39 +00:00
mateuszb
6ebfe25f86
* compile fixes & minor changes (I hope they are correct, SComponent::setSurface didn't return any value and failed to compile - I'm not sure if I return proper value).
2010-08-19 15:24:32 +00:00
Ivan Savenko
d732565002
- blocked retreating from castle. Escape Tunnel implemented.
...
- fixed crash when player have no hero (like castle defence)
- minor fixes
2010-08-19 11:03:33 +00:00
Ivan Savenko
8319e5e703
- town events implemented
...
- merged CustomImagecComponent into SComponent
- moved some subID-related code from CastleInterface
2010-08-18 14:24:30 +00:00
Michał W. Urbańczyk
7e5b675cbf
Fixed crash on drawing selectable component.
2010-08-18 10:58:41 +00:00
Michał W. Urbańczyk
58c2e176c4
Smarter fix for #577 ;)
2010-08-18 10:53:59 +00:00
Michał W. Urbańczyk
6057ca0c0b
Reverted r1752
...
[breaks a few things]
2010-08-18 10:52:30 +00:00
mateuszb
fe87ba6608
* fixed crash on displaying right or bottom part of advmap
2010-08-18 10:37:43 +00:00