Michał W. Urbańczyk
d45a554fec
Significant changes to saving system. Now both client and server store their lib part.
...
Desync detection upon loading. Fixed many desyncs. (more remain)
Monsters won't have creature count 0 even if that is set as creature properties.
2013-02-18 22:37:22 +00:00
Michał W. Urbańczyk
d23a5dcfdf
Fixed #1208 .
2013-02-14 15:19:35 +00:00
alexvins
daf2c285e9
[refactor] reduce some code duplication, get rid of few magic nombers.
...
*fix deletion of empty pandora box
2013-01-12 10:32:03 +00:00
alexvins
4bc2fd5519
[c::b] renamed map subfolder to workaround dependency tracking bug
2013-01-03 12:19:20 +00:00
Ivan Savenko
04358ed0c6
multiple changes in config system, breaks existing mods. See upcoming post on forums.
...
- filesystem initialization works in conjuction with modHandler
- (config) split buildings.json in multiple files in "factions" directory
- (mods) merged filesystem.json and config/mod.json into mod.json
2012-12-12 11:13:57 +00:00
beegee1
53169abea7
- Foundation for starting a random map is done - Moved StdInc.h to header file in some /Map and /RMG compilation units(better syntax highlighting, should have no negative impact)
2012-11-20 17:53:45 +00:00
Ivan Savenko
8eba824ada
- updated icons + psd file
...
- better log messages if server failed to open port
- 1148 should be fixed. Cleanup in CGameHandler::moveHero()
- compile fixes
2012-11-15 21:29:22 +00:00
beegee1
a878f5f79a
* Separated map loading from the map object * Moved map classes to lib/Map * Renamed map.h/cpp to CMap.h/cpp * Profiling of map loading is now optional * Updated CMemoryStream
2012-11-03 13:30:47 +00:00
Michał W. Urbańczyk
ecd8947d8e
Crashes on starting next campaign mission should be fixed.
2012-09-25 18:00:55 +00:00
DjWarmonger
289b7b68d9
Mod Handler class. It is connected with engine, but doesn't do anything yet.
2012-08-10 13:07:53 +00:00
Ivan Savenko
e67f8afdd9
- removed multiple unused files
...
- config folder with all json files is used via new FS API
- fixed campaigns loading. Replaced "detect h3m starts" heuristics with CCompessedStream::getNextBlock()
2012-08-02 11:03:26 +00:00
Ivan Savenko
b3c17d2788
large filesystem update. Filesysytem is now fully functional, everything should work.
...
- completely replaced CLodHandler, removed bitmaph and spriteh
- replaced CLodStream in favour of CCompressedStream (2 new files)
- renamed CResourceLoaderFactory and ResourceIndetifier to shorter names
NOTES:
- campaign loading is currently broken. Will fix.
- I am going to remove several unused files in several days (e.g. LodHandler)
2012-08-01 12:02:54 +00:00
Ivan Savenko
49495c9caf
- possibly fixed #966 and #958
...
- fixed crash on shutdown
- fixed compile issue #973
2012-05-25 11:49:56 +00:00
Michał W. Urbańczyk
c698181c4c
* simple mechanism for detecting desync after init
...
* moving stacks in tactics phase won't affect stack queue (part of #760 )
* moved all boost headers in server to PCH
2012-03-27 20:08:54 +00:00
Michał W. Urbańczyk
e4dc00abac
* new file lib/UnlockGuard.h — unlock_guard is for unlocking a mutex for the scope time (RAII)
...
* all lock/unlock and unlock/lock pairs are done by RAII guards now
* fixed two possible crashes at the end of battle when last stack was killed by spell. That should fix #749 and #752 .
* fixed a very nasty race condition, eliminating possible deadlock at the start of battle when human hero has tactics
* fixed #422
2012-02-19 21:03:43 +00:00
beegee1
7f04ed990b
Major refactoring. First part: BattleInterface
...
Introduction of pre compiled headers,...
2011-12-13 21:23:17 +00:00
Ivan Savenko
0f2e00c780
-(linux) Moved all (I hope) files created by VCMI to ~/.vcmi to prevents crash on launch from read-only directory
...
- minor fixes for #362 #835 #836
2011-11-01 12:58:01 +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
56bf3dc8ab
Replaced io_service()) with get_io_service(). Fixes bug #780 .
2011-08-04 23:49:32 +00:00
Ivan Savenko
e494171de3
- several changes to get reusable code
...
- possibly fixed #725
- bug in random seed initializing?
2011-04-30 18:16:58 +00:00
mateuszb
b3ed75ab03
* first part of ERM parser
2011-03-19 17:06:46 +00:00
mateuszb
406b3e3f1c
* unnecessary code removed
2011-03-15 17:25:51 +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
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
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
4aa60cd40e
Minor changes.
2010-08-18 09:50:25 +00:00
mateuszb
a7d3c5fbca
* minor cleanups
2010-07-16 14:22:18 +00:00
Michał W. Urbańczyk
ec6342d9a7
Serializer will now smartly send over network CArtifact* and CHero*. Unified handling of items stored in vector.
...
Started making support for Black Market / Artifact merchant.
2010-06-26 16:02:10 +00:00
Michał W. Urbańczyk
8bda10b695
* Freelancer's Guild support (both town structure and adventure map object)
...
* fixed crashes on r-click on hero in tavern and adv map
* fixed descync issue
* allow free movement FROM guarded tile
2010-05-26 09:47:53 +00:00
mateuszb
adbc142ff0
* a bit of campaign support
2010-05-08 18:56:38 +00:00
Michał W. Urbańczyk
0a950c508b
Grail digging and construction.
...
Minor fixes.
2010-02-24 13:03:36 +00:00
mateuszb
0078037df8
* compilation fixes for MSVC / minor changes
...
* CDefHandler::openFromMemory DOES NOT WORK! It seems to be design error, not windows specific.
Note: please write more C++-like code (declarations don't have to be in the beginning of block of code, use C++-style casts, follow our naming convention for structs / classes, don't write struct before structure's name etc.)
2009-10-14 12:44:44 +00:00
Frank Zago
b02d4c1c2f
(linux) Manage one directory per user for save games and config.
2009-10-10 05:47:59 +00:00
Michał W. Urbańczyk
fe7ef6bbe1
Smart map object serialization over net.
...
Fixed doubling click sound on map selection.
2009-10-06 00:32:33 +00:00
Frank Zago
1609b8fdb9
Made all paths dependent on DATA_DIR, USER_DIR, BIN_DIR or LIB_DIR. Data access can now be separated from saved games and binaries.
...
Fixed a file handle leak.
Bumped revision to 0.74b (linux).
Reworked the build system to remove uneeded dependencies (linux).
Removed use of PATHSEPARATOR since Windows can use / too.
2009-10-04 02:02:45 +00:00
Michał W. Urbańczyk
ee3c318ed9
Version for development release 0.73c
...
* version set to 0.73c, bumped save format version, updated changelog
* new stack queue for higher resolutions (needs new graphics!)
* improved stack ordering during battle
* many minor fixes
* temporarily disabled AI
2009-09-20 12:47:40 +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
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
Frank Zago
6635cf4f23
Made a few functions static or static inline.
2009-05-23 22:57:39 +00:00
mateuszb
429b226517
* moved a few files
2009-05-20 10:08:56 +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
mateuszb
bb8e505ccd
* refactoring
2009-05-01 14:37:25 +00:00
mateuszb
f9ae91d88c
* further changes towards support for ranged spells
...
* added info about author & license in files
2009-04-15 14:03:31 +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
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
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
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
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
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
Vadim Glazunov
65999f4429
2008-08-17 19:30:00 +00:00
Vadim Glazunov
3d11b2c4e7
Changes to work better on other(non win32) platforms
2008-08-17 19:15:31 +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
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
b72d065265
Minor changes/cleanups. Adventure map is shown :)
2008-07-26 06:39:44 +00:00