Michał W. Urbańczyk
ca7ee8936c
Implemented redesigned pathfinder. Using new info from it, implemented various adventure map cursors.
...
(Paths are still calculated using the old pathfinder, it will be changed soon)
2009-08-30 12:47:40 +00:00
Michał W. Urbańczyk
1f0a1bd771
More fixes.
2009-08-28 19:34:08 +00:00
Michał W. Urbańczyk
780de79eba
Further fixes.
2009-08-28 10:05:45 +00:00
Michał W. Urbańczyk
a40d3fcf63
Fixed setting sides info on battle start (fixes crashes after attacking flagged non-hero objects)
2009-08-28 09:35:35 +00:00
Michał W. Urbańczyk
6bdfddd0c4
Mostly implemented Scenario Information and Save Game windows. Adventure Options Window (crash after closing it is known, will be soon fixed). Several minor improvements for pregame. Arrogance will be selected by default when starting a new game.
2009-08-27 08:04:32 +00:00
Michał W. Urbańczyk
579b7236b7
Fixed crash when r-clicking spell.
2009-08-23 18:23:21 +00:00
Michał W. Urbańczyk
1f79af440f
* @previous revision: not an AI bug, it was a vector traversing bug. Fixed :-)
...
* Scrolling through scenario list with mouse wheel, HOME, END, PAGE UP and PAGE DOWN buttons
* Starting selected scenario with double-click
2009-08-23 18:01:08 +00:00
Michał W. Urbańczyk
66dd31fd8a
* attacking and capturing towns
...
* r-click popups on selected town/hero.bonus and teams in pregame
* disabled music due to bugs in SDL_mixer and smpeg (probably it was the source of reported random crashes / hangups)
* minor fixes
2009-08-22 13:59:15 +00:00
Michał W. Urbańczyk
3915b71869
Various fixes. Subtitles for choosen hero/town/bonus in pregame. Fixed arrows behavior. Really fixed shortcuts. Fixed map scrolling. Fixed disappearing battle interface.
2009-08-18 08:22:56 +00:00
Michał W. Urbańczyk
b4070c6b3e
Third part of GUI reorganization:
...
* Rewritten pregame
* FNT fonts support
* Several additions to GUI system.
Changes are significant, some things may be broken.
2009-08-17 08:50:31 +00:00
Michał W. Urbańczyk
2af6d85c23
Various fixes and improvements, mostly for r1093
2009-08-13 01:03:11 +00:00
Michał W. Urbańczyk
1d765e8f29
Second part of GUI reorganization. Some things may not work properly.
2009-08-11 16:05:33 +00:00
Michał W. Urbańczyk
425791f27e
"onlyai" command - game starts with no human players, only AI.
2009-08-07 23:17:12 +00:00
Michał W. Urbańczyk
a91ab8872b
First part of GUI reorganization: extracted CGuiHandler from CPlayerInterface.
...
Minor fixes for Creature Generators and recruitment window.
2009-08-06 22:36:51 +00:00
Michał W. Urbańczyk
64f098017b
Fixed linker problems.
2009-08-05 12:24:31 +00:00
Michał W. Urbańczyk
ebb964a7ab
Not needed. Include VCMI_Lib.h and use VLC->buildh / VLC->creh directly.
2009-08-05 00:21:06 +00:00
Michał W. Urbańczyk
310c369265
Fixed two possible block-ups in AI. Fixed possible problems with picking hero available to recruit (no more duplicates hopefully).
2009-08-05 00:05:37 +00:00
Michał W. Urbańczyk
de1ed92379
* version set 0.73b
...
* config entry for 1600x1200 resolution
* several fixes
* http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3185#3185
2009-08-03 23:53:18 +00:00
Michał W. Urbańczyk
92ef19942f
Splitting buttons in the exchange window. Minor fixes. Updated changelog. Version set to 0.73.
2009-08-01 19:25:12 +00:00
Michał W. Urbańczyk
1f75aeaf34
Video working with 32 bpp. Proper loading of hero on boat. Fixed problems with newly recruited hero blockvis info. Fixed possible crashes.
2009-08-01 10:08:16 +00:00
Michał W. Urbańczyk
a923058b71
Fix for PackageApplied.
2009-07-31 20:27:44 +00:00
Michał W. Urbańczyk
78afb07f52
New, experimental crashhandler for windows (creates minidumps).
...
Several minor fixes and improvements.
2009-07-31 20:10:22 +00:00
Michał W. Urbańczyk
fec75cdc04
Updated changelog.
2009-07-27 18:13:19 +00:00
Michał W. Urbańczyk
25663d2605
Fixes for exchange window in non 800x600 res
...
Minor improvements and fixes.
2009-07-27 17:55:56 +00:00
Michał W. Urbańczyk
aad61c8ac8
Fixed exchanging artifacts between heroes. Fixed def visibility issues. Refactored alphaTransform.
2009-07-27 12:29:10 +00:00
Michał W. Urbańczyk
0d408bc6c2
Fixed switching music between towns and system options window.
2009-07-26 11:42:00 +00:00
Michał W. Urbańczyk
e358845873
Golems Factory and Elemental Conflux creature generators supported. Minor improvements. Updated changelog.
2009-07-26 10:43:22 +00:00
Michał W. Urbańczyk
9fd4b5bb62
Fourth part of sailing code.
...
Support for Shipyard (both for town and adventure map versions). Improved boat displaying code. Minor changes.
2009-07-26 03:33:13 +00:00
Michał W. Urbańczyk
9206a13390
Fixed fighting guardians of Dwellings (and other objs as well).
...
Most of creature generators should work fine.
2009-07-20 23:34:06 +00:00
Michał W. Urbańczyk
ec3b254c83
Castle interface: improved town scrolling.
...
Minor changes for future loading-without-restarting.
2009-07-20 08:18:33 +00:00
Michał W. Urbańczyk
c8cab314f1
Changed experience needed for level formula to follow H3 one.
2009-07-20 03:30:48 +00:00
Michał W. Urbańczyk
fbd496b756
Infowindows for enemy towns.
2009-07-20 02:56:35 +00:00
Michał W. Urbańczyk
c9cac18482
Support for infowindows on enemy heroes.
2009-07-20 01:47:49 +00:00
Michał W. Urbańczyk
3a1e252895
Minor changes (visitdir organization)
2009-07-19 22:16:07 +00:00
Michał W. Urbańczyk
1916ba6e9f
Third part of sailing code.
...
New objects supported:
- Buoy
- Mermaid
- Ocean bottle
- Sirens
2009-07-19 07:16:33 +00:00
Michał W. Urbańczyk
9272f501cd
Second part of sailing support:
...
* boat graphics and appropriate flags are used
* disembarking possible
* new objects supported:
- Flotsam
- Shipwreck Survivor
- Sea Chest
2009-07-19 03:10:24 +00:00
Michał W. Urbańczyk
2ca7cc5b5c
First part of Boat and sailing support.
...
[It's possible to enter the boat and move by sea, graphical glitches removal and disembarking will be done soon]
2009-07-19 01:00:19 +00:00
Michał W. Urbańczyk
eb40ade906
* saving system options
...
* saving hero direction
* minor changes in saving
2009-07-18 03:13:13 +00:00
Michał W. Urbańczyk
d1d2823c58
* fixes for glitches in garrisons in non 800x600 resolutions
...
* fixed timed events
* in recruitment window upgraded creatures will be selected by default
* bumped version number
* spell points won't be negative
2009-07-17 21:53:28 +00:00
Michał W. Urbańczyk
b24bd585bc
Really fixed glitches in garrison slots.
2009-07-16 01:10:16 +00:00
Michał W. Urbańczyk
bb87a43a9f
Double quotation in artifacts events and bumped save format version.
2009-07-16 00:00:57 +00:00
Michał W. Urbańczyk
ac175895b1
MKinor bugfixes.
...
(cf http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=2980#2980 )
2009-07-15 23:58:47 +00:00
Michał W. Urbańczyk
23803c9f17
* improved Events handling
...
* fixed saving town available creatures info
* minor improvements
2009-07-15 22:46:00 +00:00
Michał W. Urbańczyk
48661bd714
* artifacts will be present on morale/luck bonuses list
...
* fixed problems with 3-tiles monoliths
* fixed some descriptions for events
2009-07-14 16:20:15 +00:00
Michał W. Urbańczyk
acfe94a966
Bumped version.
2009-07-12 21:19:05 +00:00
Michał W. Urbańczyk
98c9b5cd0a
* proper initialization of coverage map in hero defs
...
* updated changelog
2009-07-12 21:17:35 +00:00
Michał W. Urbańczyk
64d9665c39
* fixed crash when there was flaggable building next to map edge
...
* increased char per line limit for subtitles under components
* saves are sorted primary by map format, secondary by name
* fixed displaying date of saved game (uses local time, removed square character)
* removed redundant quotation marks from artifact events text
* corrected some exp/level values
* primary skills cannot negative values
* fixed crash on entering hall when town was near map edge
* workaround to prevent crashes when gaining same sec skill on leveling serie
* fixed displaying luck effect animation
* minor improvements
2009-07-12 14:07:36 +00:00
Michał W. Urbańczyk
db2f8c1d7c
* capitol bar in town hall is grey (not red) if already one exists
...
* disabled autosaving on first turn
* bonuses from bonus artifacts
* fixed crash on battle with neutral creatures
* minor improvements
2009-07-10 23:40:10 +00:00
Michał W. Urbańczyk
1d816b2eb9
Further part of external dwellings handling. Still not done.
...
Redone MetaString.
2009-07-09 19:15:22 +00:00
Michał W. Urbańczyk
b551f6a72b
Partially done support for external creature dwellings.
2009-07-06 19:41:27 +00:00
Michał W. Urbańczyk
2f73b6cd1e
* pressing enter or escape close spellbook
...
* spellbook shows adventure spells when opened on adventure map
* removed redundant quotation marks from skills description
* erasing path after picking objects with last movement point
2009-07-03 19:57:14 +00:00
Michał W. Urbańczyk
38f8745777
Heroes start with appropriate spells.
...
Starting spells list has been prepared by Dru. Thanks!
2009-07-03 18:40:36 +00:00
Michał W. Urbańczyk
824061e185
* it's possible to exchange stacks between heroes
...
* fixed bugs with displaying stacks health
* 'T' hotkey opens marketplace window
2009-07-01 07:04:21 +00:00
Michał W. Urbańczyk
9aff190899
Added palette colors for neutral "player" (Thx to Dru). Support for using them via blueToPlayersAdv(surface, 255).
2009-06-30 15:36:12 +00:00
Michał W. Urbańczyk
9093320da8
Garrison interface in Exchange Window.
2009-06-28 08:21:50 +00:00
Michał W. Urbańczyk
f0dea8d708
Video in Tavern Window. Minor improvements.
2009-06-24 09:17:33 +00:00
Michał W. Urbańczyk
60f7048662
Finished BIK handler. Refactored CVideoPlayer. Added intro and main menu animation. (Win only).
2009-06-24 06:56:36 +00:00
Michał W. Urbańczyk
576dbe62d0
include windows.h before WORD usage.
2009-06-23 18:34:59 +00:00
Michał W. Urbańczyk
9ff6501ba3
Mostly done .BIK video handling (WIN only).
...
Refactoring.
2009-06-23 08:14:49 +00:00
Michał W. Urbańczyk
ffe2ff9647
Estates / hero bonuses won't give resources on first day.
2009-06-19 01:01:43 +00:00
Michał W. Urbańczyk
527ec27ef5
* fixed handling second horde building in Rampart/Inferno
...
* garrisoned hero can buy a spellbook if he is selected or if there is no visiting hero
* minor fixes
2009-06-12 23:34:02 +00:00
Michał W. Urbańczyk
58c12e8d73
Reshaped some code responsible for hero list / paths.
...
* Garrisoning, then removing hero from garrison move him at the end of the list
* problems with the hero window hero list should be fixed
2009-06-11 17:21:06 +00:00
Michał W. Urbańczyk
e2c30df5a6
* fix for problems after r-clicking hero in tavern
...
* refactored Options::show
* minor improvements
2009-06-10 20:48:55 +00:00
Michał W. Urbańczyk
29e1f2a0b8
* removed redundant code for displaying map difficulty
...
* bumped version name to 0.72b
* more diagnostics in music handler (should help to catch the reported bug with not playing main menu theme)
* probably fixed problems with horde buildings in towns that start with upgraded dwellings (0.72#1 http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=159 )
2009-06-10 19:44:09 +00:00
Michał W. Urbańczyk
fcc4acc451
Two more fixes for CSDL_Ext::alphaTransform usage.
2009-06-07 07:38:51 +00:00
Michał W. Urbańczyk
a17936908a
* updated changelog
...
* version set to 0.72
* integrated save format version to the CLoadFile
* fixed problems on entering non-number as resolution number
* minor improvements
2009-06-01 22:31:11 +00:00
Michał W. Urbańczyk
cff70406f1
* enter can be used to open window with selected hero/town
...
* fixed slider behavior when showing less maps/games than available slots
* added a few missing sounds for creatures
* fixed problems with artifacts info caused by bug in serialization
* fixed bug in Scholar's serializetion
* all stacks features will be serialized (should fix problems with missing premies from artifacts)
* proper serialization of HeroBonus, fixes some problems/crashes
* resource silos won't give resources on the first day
* fixed problems with removing artifacts when all visiblebackpack slots are full
2009-05-30 16:00:26 +00:00
Michał W. Urbańczyk
4581c30b20
* VCMI won't try to calculate path when clicking terrain on the other map level then that of currently selected hero (caused hangs)
...
* Mines / Resource Silos won't give income in the first turn
* Double click on hero slot during stack splitting won't crash
* Fixed problems with updating buttons / minimap
2009-05-24 23:21:55 +00:00
Michał W. Urbańczyk
1d5565b3a3
* updated project files for MSVC
...
* fixed a few includes paths
* it's possible to enter Tavern via Brotherhood of Sword
* fixes for statusbar
* fixes for townlist
* fixed crashes on building / clicking some buildings
* bumped version number to 0.71c
* bonuses from wearing more than one same artifact won't cumulate
2009-05-21 23:50:45 +00:00
Michał W. Urbańczyk
a8c4a53e91
Updated changelog.
2009-05-17 23:29:50 +00:00
Michał W. Urbańczyk
37f38aed0c
No newline at the end of settings.txt please.
2009-05-17 23:24:38 +00:00
Michał W. Urbańczyk
7fbd4e696c
* Fixed crashbug on iterating stack effects
...
* Altered probabilities of starting with 1/2/3 stacks (according to Zamolxis tests)
* fix compilation min/max (windef.h is somehow included and it has its own macros min/max)
2009-05-17 22:52:22 +00:00
Michał W. Urbańczyk
b961d22052
* the number of creatures at the beginning is their base growth
...
* clicking scrolling arrows in town/hero list won't open town/hero window
* fixed crash on NewGame -> Single -> Back -> Back -> LoadGame -> Single when no saves available
* fixed crash on clicking "Load" in load game menu when no saved games available
2009-05-09 22:19:41 +00:00
Michał W. Urbańczyk
90fd75e66c
* Removed trailing newline from settings.txt (caused warning)
...
* Sprite/Bitmap handlers moved to VCMI_Lib
* Moved volume sliders 1px down for better look
2009-05-09 16:18:27 +00:00
Michał W. Urbańczyk
6aacc95945
Patch from Ubuntux:
...
* Revert a change from rev 826 that breaks compilation under gcc.
( vcmi_fix_linux_no_compile.diff )
2009-05-03 23:43:07 +00:00
Michał W. Urbańczyk
2900e75818
PreGame patches from Ubuntux:
...
* fromnewgame use was just broken. Replaced it with something more clear.
* Cleanup printMaps. Remove unused arguments. Can handle empty lists. Add comments.
* Try to behave when no map is present.
( vcmi_fix_fromnewgame.diff
vcmi_printmap2.diff
vcmi_fix_nomap.diff
vcmi_fix_moveByOne.diff
vcmi_sort_maps.diff )
2009-05-03 23:38:08 +00:00
Michał W. Urbańczyk
ab1a759458
* reduntant quotation marks from artifact descriptions are removed
...
* fixed map scrolling with ctrl+arrows when some windows are opened
2009-05-03 23:15:18 +00:00
Michał W. Urbańczyk
1661da2fcb
* fixed selecting new path
...
* always restoring default cursor when movng mouse out of the terrain
* fixed herolist scrolling
* fixed picking guarded resources
2009-05-01 22:08:03 +00:00
Michał W. Urbańczyk
e10ab66631
Patches from Ubuntux:
...
* clicking on "advanced options" a second time now closes the tab instead of refreshing it.
* Fix position of maps names. Made the slider cursor much more responsive. Speedup the map select screen.
* CPlayerInterface::delComps was not initialized.
* Add a few missing inits.
vcmi_missing_init.diff
vcmi_infowin.diff
vcmi_fix_advoptions.diff
vcmi_fix_printMaps.diff
2009-05-01 16:14:29 +00:00
Michał W. Urbańczyk
8c6c0df45e
Sound patch from Ubuntux #11 : Add music infrastruture + some musics in various places
...
[With mine minor fixes and updated MSVC project]
vcmi_music.diff
2009-04-30 23:25:17 +00:00
Michał W. Urbańczyk
df25dd7efb
Sound patches from Ubuntux #7 - #10 :
...
* Some sound code cleanups
* Renamed soundBase::soundNames into soundBase::soundID
* Add a music handler destructor
* Add Archdevil and vampire pre and post movement sounds
I've applied minor change to fix CMusicHandler - GeniusAI conflict: moved sounds bimap to the .cpp file.
(vcmi_sounds_cleanup.diff
vcmi_sounds_cleanup2.diff
vcmi_sounds_cleanup3.diff
vcmi_add_sounds.diff)
2009-04-30 10:53:06 +00:00
Michał W. Urbańczyk
6ccd9c2701
Sound patch from Ubuntux #6 - adds sound to units during combats
...
(vcmi_sound_battle.diff)
2009-04-25 23:31:39 +00:00
Michał W. Urbańczyk
92671947a0
Sound patch from Ubuntux #5 - fixes a bug in stopSound where all channels would be stopped if -1 is given in parameter.
...
(vcmi_sound_stop_one_channel.diff)
2009-04-25 22:51:16 +00:00
Michał W. Urbańczyk
275ec5f640
Added sounds to several objects, minor improvements.
2009-04-23 21:09:10 +00:00
Michał W. Urbańczyk
992ce92ae5
Sound patch from Ubuntux #4 - sounds for hero movement
...
(vcmi_sound_hero_moving.diff)
2009-04-23 19:50:27 +00:00
Michał W. Urbańczyk
a81378617f
Little more events
...
[Still need more work]
2009-04-23 15:48:53 +00:00
Michał W. Urbańczyk
ff131a3b2f
Sound patch from Ubuntux #3
...
(vcmi_sounds_sets.diff)
2009-04-22 18:50:22 +00:00
Michał W. Urbańczyk
ade4b46edd
Sound patch from Ubuntux #2
...
(vcmi_sounds.diff)
2009-04-22 18:48:56 +00:00
Michał W. Urbańczyk
d625066449
Sound patch from Ubuntux #1
2009-04-22 18:28:01 +00:00
Michał W. Urbańczyk
c8b6858716
* mostly done Events objects handling
...
* some moving hero code improvements
* fixed Blacksmith
* minor changes
2009-04-20 22:57:07 +00:00
Michał W. Urbańczyk
06bb6dcce9
Improvements for CMessage::breakText.
...
[ http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=2260 ]
2009-04-16 13:32:45 +00:00
Michał W. Urbańczyk
d80afb1902
* server sends confirmation (given later to player interface) after applying request (will be needed for AI)
...
* created new package for injuring multiple units - needed for area spells (not tested)
* proper screen updating on garrison change
* spell effects will be removed when they time out
* Corpse (Skeleton) will be accessible from all directions
* new objects supported:
- Corpse
- Lean To
- Wagon
- Warrior's Tomb
* several minor improvements
2009-04-16 00:28:54 +00:00
Michał W. Urbańczyk
38b680ed30
* Patch from Ubuntux: fix to avoid resources becoming negative [on handling timed events]
...
* improvements for Garrison Window
* some changes towards Events support
* minor fixes
2009-04-14 23:29:26 +00:00
Michał W. Urbańczyk
d2e1c8d782
Uh... fix for previous fix :/
2009-04-14 14:26:58 +00:00
Michał W. Urbańczyk
f3ffeea72e
Minor fixes.
2009-04-14 14:19:46 +00:00
Michał W. Urbańczyk
985b4930e4
Major changes to the GUI. Introduced list of interfaces (listInt) containing pointers to all shown interfaces / windows. Only top layer is active and regularly updated.
...
Windows should be shown using pushInt and closed with popInt or PopIntTotally (if interface needs to be also deleted).
Some things are not working yet properly, I'll try to fix them ASAP.
2009-04-14 12:47:09 +00:00
Michał W. Urbańczyk
de71191307
* Neutral creatures can join or escape depending on hero strength / army (partially done)
...
* Diplomacy secondary skill support
2009-04-12 01:48:50 +00:00
Michał W. Urbańczyk
f9aebcc4bd
* Started making support for garrison window. Leaving guardians in flagged mines.
2009-04-12 00:58:41 +00:00
Michał W. Urbańczyk
d72d988a9c
* fixed crash on closing application
...
* unified yes/no and selection dialog interface calls
* VCMI won't anymore be always giving all three stacks in the starting armies
* fix for drawing starting army creatures count
* support for School of Magic
* support for School of War
* support for Pillar of Fire
* minor changes
2009-04-11 01:32:50 +00:00
Michał W. Urbańczyk
7a9e323297
* fixed 8 hero limit to check only for wandering heroes (not garrisoned)
...
* srand at the beginning of handleConnection
2009-04-09 15:05:20 +00:00