Łukasz Wychrystenko
ee29d3cf2b
gcc compilation fixed
2009-03-15 22:57:04 +00:00
Michał W. Urbańczyk
f33d3894bd
Possibly fixed compiling on gcc.
2009-03-15 12:53:58 +00:00
Łukasz Wychrystenko
82f4c09687
not working - for testing porpose only!
2009-03-14 23:49:36 +00:00
Łukasz Wychrystenko
eaa7ea643a
some 'retarded' fixes for compatibility (lib only)
2009-03-14 18:19:07 +00:00
Michał W. Urbańczyk
24c2ce6a99
Improved tooltips.
2009-03-14 17:19:53 +00:00
Michał W. Urbańczyk
6ce9a253a4
* support for Redwood Observatory
...
* support for Shrine of Magic Incantation / Gesture / Thought
* minor improvements
2009-03-14 11:25:25 +00:00
Michał W. Urbańczyk
d6283fd1ca
* fixed crash when there was no sabegames in Games/ subfolder
...
* fixed crash when loading map with a mine belonging to human player
* fixed crash on moving hero into town garrison
* fixed r-click infowindow for towns
* new sight radious calculation. Works as OH3 for heroes, towns and probably all objects. (to be tested)
2009-03-11 23:25:59 +00:00
Michał W. Urbańczyk
a7680d3957
Bugfixes and support for timed events.
2009-03-09 19:40:43 +00:00
Michał W. Urbańczyk
4653ca6b29
New file for VCMI_Server - NetPacksServer.cpp
...
Redone client -> server protocol.
2009-03-09 10:37:49 +00:00
Michał W. Urbańczyk
320e04a121
New files
...
For VCMI_LIB: lib/RegisterTypes.cpp lib/NetPacksLib.cpp
For VCMI_CLIENT: client/NetPacksClient.cpp
(+ headers)
Removed files
FOR VCMI_CLIENT: hch/CAbilityHandler.cpp and header
Redone sending and applying messages server => client
May be still buggy.
2009-03-07 17:08:40 +00:00
mateuszb
9eb6128b27
* correct handling of flying creatures in battles
...
* minor changes
2009-03-07 16:05:53 +00:00
Michał W. Urbańczyk
5816028322
new files
2009-03-07 15:55:56 +00:00
Michał W. Urbańczyk
5ebb54ec59
should be fine...
2009-03-07 15:54:12 +00:00
Michał W. Urbańczyk
e9ebc7de5b
wrong1
2009-03-06 22:25:19 +00:00
Michał W. Urbańczyk
b1c0d10ece
2009-03-06 22:11:17 +00:00
Michał W. Urbańczyk
6a3bfbee46
* added "Next hero" button functionality
...
* minor improvement for prison (hero appears at proper tile)
* only one spell can be casted per turn
* minor changes
2009-02-20 10:36:15 +00:00
Michał W. Urbańczyk
adf5c052f9
* support for prison
...
* updated changelog
2009-02-14 19:12:40 +00:00
Michał W. Urbańczyk
99aef852be
* probably fixed Bind effect
...
* reverted unwanted part of r730
* project files will now have relative paths to libs/includes
* more checkings on startup
2009-02-14 15:00:29 +00:00
Michał W. Urbańczyk
9dbe9bd277
Reverted r731
2009-02-14 14:37:13 +00:00
mateuszb
96a7e1600b
?!?
2009-02-14 13:51:21 +00:00
Michał W. Urbańczyk
b2924064ee
* new movement cost calculation.
...
* fixed crashes on loading maps with flag all mines/dwelling victory condition
* minor changes
2009-02-12 14:44:58 +00:00
Michał W. Urbańczyk
c83404a375
* fixed crash when there was no hero available to hire for some player
...
* pregmae wont crash if user gives wrong resolution number
* fixed 1024x600 screen resolution
* selection dialog (eg. for treasure chests) can be closed with enter key
* orientation of hero can't be change if movement points are exhausted
* numerous improvements for Tavern window (hover tips for buttons, button will be inactive if player has 8 heroes or there is a visiting hero in the town garrison)
* campfire, borderguard, bordergate, questguard will be accessible from the top
* spells not known by hero can't be casted
* restored checking mana points before casting spell
2009-02-09 16:18:48 +00:00
Michał W. Urbańczyk
a113a8d289
* patch update from Dikamilo
2009-02-08 16:36:53 +00:00
Michał W. Urbańczyk
dd36cfce50
Patch from Dikamilo:
...
* compatibility fixes for MinGW
* Code::Blocks project files
2009-02-08 15:39:26 +00:00
Michał W. Urbańczyk
fb4ee65d0e
* changed map reading routine in pregame, minor changes for events
2009-02-08 06:42:15 +00:00
mateuszb
02309c5bb8
* fixed positions of stack queue and battle result window when resolution is != 800x600
...
* attack is now possible when hex under cursor is not displayed
* first part of obstacles support
2009-02-07 16:07:29 +00:00
Michał W. Urbańczyk
131c220685
* fixed r-click on tavern hero crash
...
* fixed removing one-week bonuses
* added keybindings for components in selection window (eg. for treasure chest dialog)
* HANDLE_EXCEPTIONC macro will rethrow exception after logging
2009-02-07 13:28:23 +00:00
mateuszb
ba9b58d3a4
* moved graphics from CAbilityHandler to Graphics
...
* reading BALLIST.TXT
* minor changes
2009-02-06 14:15:45 +00:00
Michał W. Urbańczyk
05b3e3215c
* magic well support
...
* improvements in the recruitment window
* improvements for pregame
[cf http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=97 issues 12-15 and 21 - 22]
* minor changes
2009-02-06 11:15:39 +00:00
Michał W. Urbańczyk
e1d6ff54d7
* morale/luck support in battles
...
* minor improvements/fixes
* updated changelog
More objects supported:
* Faerie Ring
* Swan Pond
* Idol of Fortune
* Fountain of Fortune
* Rally Flag
* Oasis
* Temple
* Watering Hole
* Fountain of Youth
2009-02-05 09:49:45 +00:00
Michał W. Urbańczyk
218a3beaf6
* further changes towards luck/morale support
...
* partial support for Idol of Fortune, Fountain of Fortune, Faerie Ring, Swan Pond
2009-02-04 13:40:54 +00:00
Michał W. Urbańczyk
680993459a
* started making morale/luck system
...
* basic calculation of hero/stack morale
* displaying morale in hero window
* redone checking if attack is possible (should fix some problems with attacking with 2-hex creatures, at least on server side)
* std::list serialization
* version set to 0.7b
2009-02-03 05:28:05 +00:00
Michał W. Urbańczyk
3d29c31deb
* further fight with hanged scroll tab
...
* fixed r-click on FoW crash
* fixed crash on opening tavern window after load
* fixed recruiting new heroes after load
* fixed crash on loading map with spell scrolls
* fixed more crashes
* displpaying difficulty level of saved game
* added support for Library of Enlightenment
* added notification when saving is done
2009-02-01 14:11:41 +00:00
Michał W. Urbańczyk
f28c76984c
Really fixed the evil bug.
2009-01-30 22:23:13 +00:00
Michał W. Urbańczyk
8868105fac
* fixed the evil, strange bug [ http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=93 ]
...
* fixed invisible hero problem reported by Steven Aus
* version bumped to 0.69
2009-01-30 21:28:02 +00:00
Vadim Glazunov
8523fcbb43
Small GCC fixes. Autoconf/automake project files updated
2009-01-30 18:36:00 +00:00
Michał W. Urbańczyk
5a36e61c32
* added support for serialization arrays of non-primitive types
...
* improved switching between fullscreen and windowed mode
* fixed crashbug occuring on closing adv options tab in pregame
* fixed crashbug on loading maps with events giving resources
* fixed data bug
* version set to 0.68b
2009-01-25 16:19:34 +00:00
Michał W. Urbańczyk
b895fa35cb
* saving and resuming games should work!
...
(loading from the main menu, saving using "save [NAME]" command)
2009-01-12 20:05:56 +00:00
Michał W. Urbańczyk
3474fdaf05
* save/load partially working
...
* Arena and Witch Hut support
* improved support for Resources
* minor fixes and changes
2009-01-10 22:08:18 +00:00
Michał W. Urbańczyk
847a4f222c
Further serialization code and refactorings.
2009-01-06 18:42:20 +00:00
Michał W. Urbańczyk
4a8ae4ed9a
* restored objects functionalities (hopefully working)
...
* new file in vcmi lib: IGameCallback.cpp
2008-12-27 01:01:59 +00:00
Łukasz Wychrystenko
d0d60175d7
break, fix and break and fix - now its fine :)
2008-12-26 15:00:34 +00:00
Łukasz Wychrystenko
b54a3bfb7c
unified guardians names
2008-12-26 01:46:53 +00:00
Łukasz Wychrystenko
b356524aee
corrected that missclick! hope so
2008-12-26 01:15:47 +00:00
mateuszb
b114582857
* corrected indentation
...
* centered battle interface
* battle cursor while 1024x768 is now correct
* new version of settings.txt from Tow
2008-12-23 13:59:03 +00:00
Michał W. Urbańczyk
ae48e73fe7
* fixed reading .defs
...
* new system for handling objects and their behaviors, most functionalities don't work now but will be restored soon
* more serialization code, savegame/loadgame bit closer :)
CHANGES IN PROJECT FILES:
* removed CLua.h and CLua.cpp (server)
* removed CScriptCallback.h and CScriptCallback.cpp (server)
* added IGameCallback.h header (lib)
2008-12-22 17:48:41 +00:00
Łukasz Wychrystenko
dbd6f2bc82
project files for server and lib (netbeans 6.5)
2008-12-18 20:47:05 +00:00
Łukasz Wychrystenko
0f81bf5ae0
few tweaks to make (server, client) on gcc (4.3.3 ubuntu)
2008-12-18 20:30:26 +00:00
Michał W. Urbańczyk
c6bcd61aba
* animation of water tiles
...
* minor changes
2008-11-30 00:15:38 +00:00
Michał W. Urbańczyk
c4bcf7b880
* better support for non-800x600 resolutions
...
* Merged CPreGameTextHandler into CGeneralTextHandler and moved to VCMI_Lib.dll (update your project files)
* Genius AI will be used as a default AI
* more code for save/load
2008-11-28 01:36:34 +00:00
Vadim Glazunov
9cfa09c076
Some gcc fixups. Automake project updates
2008-11-19 07:55:17 +00:00
Michał W. Urbańczyk
333e1d9878
* started making support for save/load options
2008-11-16 01:06:15 +00:00
Michał W. Urbańczyk
a1606b2fb3
* partial support for Haste spell
...
* started making external settings file (will be used for support for non 800x600 screen resolutions)
* minor changes
2008-11-08 22:29:19 +00:00
Michał W. Urbańczyk
248b5e8677
* added shots limit
...
* improved hero hiring
* tree of knowledge will give right number of exp points
* fixed bug with double showing "getting hit" animation
* more logs in initialization of creature handler
* added 'vcmiglorfindel' cheat (works as woggandalfwhite)
* minor improvements
2008-10-31 22:41:22 +00:00
Michał W. Urbańczyk
3a66dc2b7c
* added heroes pool for heroes available for hiring
...
* better handling disposed/predefined heroes
* blocked scrolling adventure map with mouse when left ctrl is pressed
* scholar will be accessible from the top
* partially done tavern and hero recruitment
* fixed bug with formation button in hero window
* unified hero initialization code
* minor changes
For 0.63c dev release
2008-10-26 20:58:34 +00:00
Michał W. Urbańczyk
2d01e00284
Added some kind of simple chatting functionality through console. Implemented several WoG cheats equivalents:
...
* woggaladriel -> vcmiainur
* wogoliphaunt -> vcminoldor
* wogshadowfax -> vcminahar
* wogeyeofsauron -> vcmieagles
* wogisengard -> vcmiformenos
* wogsaruman -> vcmiistari
* wogpathofthedead -> vcmiangband
Minor changes.
2008-10-18 23:20:48 +00:00
Michał W. Urbańczyk
9d099e8c54
* blocked map scrolling where dialog window is opened
...
* it's possible in battles to check remeaining HP of neutral stacks
* function in CGameInterface called when spell is casted. Support for the Magic Arrow from engine side.
* heroes can regain mana
* support for mistycisim and intelligence skills
* fixed leak with creating frameratekeeper every turn
* minor improvements
2008-10-18 11:41:24 +00:00
Michał W. Urbańczyk
89cb5cb81b
* added calls for battle action start/end
...
* added interface for casting spells
* artifact info in backpack
* artifacts we pick up on the map go to the appropriate slot (if free)
2008-09-28 21:01:49 +00:00
Michał W. Urbańczyk
41acf5528c
* spells in the guild visible again
...
* garrisons on adv. map again available from all directions
* working Subterranean Gates, Monoliths
* minor code reorganizations
2008-09-23 10:58:54 +00:00
Michał W. Urbańczyk
48cb63f144
* possibly fixed bug with the mage guild when no spells available
...
* events won't be shown and won't block movement
* casualties among hero army and neutral creatures are saved
* it's possible to build lighthouse
* increased thread-safety (may prevent some crashes)
* minor fixes
2008-09-20 18:30:37 +00:00
mateuszb
ca1dbfe949
changed most of std::cout to tlogX
...
Alt+F4 quits the game
2008-09-19 12:09:15 +00:00
Michał W. Urbańczyk
856698bd80
* fixes for MSVC (it needs to have global variables from library explicitly exported)
...
* renamed logging variables to tlogX ('_' in var names looks ugly)
* cleaned it improved setting formations
* fixed crashbug on maps with random hero
2008-09-19 08:16:19 +00:00
Vadim Glazunov
a1dd7f22f9
gcc fixes(bad idea to call global vars such as log2, this name used by math function). Colored log support on some non-win32 platforms. Small Automake project update
2008-09-18 20:24:53 +00:00
Michał W. Urbańczyk
629d934810
* moved CConsoleHandler to lib (update project files)
...
* using winapi for better console handling with MSVC (I hope I didn't break anything at GCC)
* new logging system (use log0 - log5 for different priorities and colors (at msvc))
* using lists for storing activated interface objects
* more proper closing of server
2008-09-17 10:18:22 +00:00
Michał W. Urbańczyk
e71b40ccc5
* counterattacks
...
* spells learning
* no tooltips for objects under FoW
* working resource silo
* new system for simple unit abilities/states
* neutral monster army disappears when defeated
* synchronization between client and server processes
* fixed battle ending
2008-09-12 08:51:46 +00:00
Vadim Glazunov
387f8230cf
gcc fixes
2008-09-09 21:10:24 +00:00
Michał W. Urbańczyk
5e0986f9d8
* fixed defending creature in battle end window (slot id was used instead of creature id)
...
* redone casualties calculacion
* redone battle-end checking (now it works always)
* further fixes/checkings around netcode
2008-09-09 07:05:02 +00:00
Michał W. Urbańczyk
6233066b91
* it's possible to use other port than 3030 by passing it as an additional argument
...
* removed some redundant warnings
* minor improvements for marketplace
2008-09-09 01:40:43 +00:00
mateuszb
781340f339
* window of result of battle is shown when one of players has no live stacks
...
* confirm window is shown before retreat
* minor improvements
2008-09-08 11:32:16 +00:00
Vadim Glazunov
4edd375ddb
Some changes to compile again with gcc
2008-09-07 12:13:51 +00:00
Michał W. Urbańczyk
3d147a7be8
* version set to 0.63
...
* mostly done morketplace
* more logging around netcode
2008-09-07 03:38:37 +00:00
Michał W. Urbańczyk
6613955463
* hero placed in the town starts as visiting hero, not garrisoned
...
* if hero doesn't have a spell book, he can buy one in a mage guild
* improvements in closing
* fixed crash on picking artifact
* added event message when picking artifact
* fixed problems with disappearing pikemen
* InfoWindow will be properly centered
* hero portraits again visible in PreGame
* fixed problems with handling Pandora's Box
* support for Campfires
* minor changes
2008-08-25 10:25:16 +00:00
Michał W. Urbańczyk
0607ec70cf
Support for Tree of knowledge and minor changes.
2008-08-22 12:21:09 +00:00
Michał W. Urbańczyk
1c7e3718a7
* swapping artifacts (needs testing)
...
* various improvements and fixes for interface
* put changelog into ChangeLog
2008-08-20 19:02:48 +00:00
Michał W. Urbańczyk
22ade5efbe
* make compatible with boost 1.36.0 (there was breaking change in boost::function)
...
* randomizing spells in towns
* fixed reading forbidden structures
* support for heroes starting in town garrisons
* hopefully fixed problems with wrong town defs (village/fort/capitol)
* moved CSpellHandler.* to VCMI_Lib (project files must be updated)
* redone reading spell info
* added missing features to the fort screen
* minor improvements
* partially done mage guild screen
2008-08-20 06:57:53 +00:00
Michał W. Urbańczyk
346af53961
* showing creature amount in the CCreInfoWindow
...
* fixes and improvements in dismiss/upgrade dialogs
* possibility of moving hero into the garrison
* viewing hero window in the town screen
2008-08-16 08:47:41 +00:00
Michał W. Urbańczyk
b83b80a71e
* upgrading creatures
...
* splitted map loading on several functions
* buttons can call multiple functions when pressed
* minor
2008-08-15 12:11:42 +00:00
Michał W. Urbańczyk
52f6de2877
Fixed entering/leaving town.
2008-08-13 09:28:06 +00:00
Michał W. Urbańczyk
59b808f4e1
* removing objects (resources, chests, dismissing heroes)
2008-08-13 04:41:11 +00:00
Michał W. Urbańczyk
b89c951d09
* version set to 0.62
...
* almost redone treasure chest
* working gaining levels for heroes (including dialog with skill selection)
* corrected another typo i cr_shots
2008-08-13 00:44:31 +00:00
Michał W. Urbańczyk
6e02c1c5db
* corrected typo in cr_shots
...
* recruiting creatures
2008-08-10 04:46:16 +00:00
Michał W. Urbańczyk
15ff21e84c
Battles: attacking, shooting, killing.
2008-08-08 23:02:32 +00:00
Michał W. Urbańczyk
d8eb861117
Battles:
...
* showing ranges
* improvements in moving
* workaround for neutrals
2008-08-05 23:33:08 +00:00
Vadim Glazunov
ba59b28be8
Now MSVC and gcc must be happy :)
2008-08-04 23:19:19 +00:00
Michał W. Urbańczyk
a5354271e2
* improvements in battle support - moving creatures work though there are small graphic glitches
...
* @neweagle - I've replaced in VCMI_Lib.h your #ifndef with #ifdef since you modification affected (and broke) compilation only on MSVC. Is it ok now?
2008-08-04 23:04:15 +00:00
Vadim Glazunov
1bd3a677fe
Little changes to fix broken gcc compilation, hope MSVC still compile
2008-08-04 20:27:47 +00:00
Michał W. Urbańczyk
a15ffb06e6
* compiles under MSVC (haven't I broken anything on gcc?)
...
* half-done support for battles
2008-08-04 15:56:36 +00:00
Vadim Glazunov
038dd90517
Autoconf/automake scripts to easy building.
2008-08-04 09:33:08 +00:00
Vadim Glazunov
6e737bbf3c
Now netcode branch may be compiled with gcc. Sorry can't check build with MSVC
2008-08-04 09:05:52 +00:00
Michał W. Urbańczyk
dc82232e70
Hover text for heroes.
2008-08-02 10:25:58 +00:00
Michał W. Urbańczyk
1f4b4364df
Dismissing heroes / minor.
2008-08-01 21:41:38 +00:00
Michał W. Urbańczyk
e5a064f36b
Improved threa-safety, almost finished building structures in towns.
2008-08-01 11:21:15 +00:00
Michał W. Urbańczyk
5c5c80933b
Made CreatureSet serializable and using creature id. Stack moving, swapping, merging, splitting.
2008-07-31 13:21:42 +00:00
Michał W. Urbańczyk
28d5c184a9
Mines and object visitable once per week working.
2008-07-31 10:35:22 +00:00
Michał W. Urbańczyk
03287540c7
Further code for objects (mines) - not finished.
2008-07-30 21:27:15 +00:00
Michał W. Urbańczyk
b4f383f196
Slowly recovering object scripts.
2008-07-30 17:51:19 +00:00
Michał W. Urbańczyk
3247a9a4dd
Rewrote hero moving code. Seems to be working.
2008-07-28 12:44:08 +00:00
Michał W. Urbańczyk
62b0365e70
Improvements for netcode. AI is working. Townlist won't crash. Moving hero is wrong but won't crash. Giving starting hero is working properly. Town defs are wrong but displayed.
2008-07-27 17:07:37 +00:00
Michał W. Urbańczyk
b3c5f19c0d
Proper initialization of the first turn.
2008-07-26 13:57:32 +00:00
Michał W. Urbańczyk
b72d065265
Minor changes/cleanups. Adventure map is shown :)
2008-07-26 06:39:44 +00:00
Michał W. Urbańczyk
0c139e72f5
More changes for netcode/serialization
...
Removed not needed stuff
2008-07-25 17:28:28 +00:00
Michał W. Urbańczyk
358ab062eb
Base for netcode
2008-07-09 17:22:28 +00:00
Michał W. Urbańczyk
9422b0d9ca
Experimantal parts of netcode
2008-07-03 15:03:32 +00:00
Michał W. Urbańczyk
ea8562a6b1
Rest of commit: broken battles, starting hero, town displaying and linker errors.
...
Further changes for netcode.
2008-06-30 00:06:41 +00:00
Michał W. Urbańczyk
c7dde147c3
More moving / minor changes
2008-06-19 06:08:05 +00:00
Michał W. Urbańczyk
d251597617
Moved objecthandler / minor
2008-06-17 17:48:32 +00:00
Michał W. Urbańczyk
d5b0bdcf9e
A little threading and minor changes.
2008-06-16 10:51:14 +00:00
Michał W. Urbańczyk
300d540663
More changes / project files.
2008-06-14 10:20:18 +00:00