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
cc7be20b07
Merged most of the changes from trunk.
...
Because of really huge amount of modifications here I've probably missed some minor stuff. I doubt if it's still compatible with gcc - some changes should be reapplied.
2008-08-02 15:08:03 +00:00
Michał W. Urbańczyk
08b6796545
Mainly refactoring
2008-07-29 09:53:27 +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
1b73678b7c
Fighting with includes.
2008-07-02 08:39:56 +00:00
Michał W. Urbańczyk
b0002ff50b
* added files for future server
...
* make code compiling
* broken objects scripts
2008-07-01 08:01:02 +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
dbca25df74
Cleanups/refactoring
2008-06-11 01:53:57 +00:00
Michał W. Urbańczyk
feaa2396a6
Code cleaning/refactoring
2008-06-07 17:16:52 +00:00
mateuszb
9b9a9b455f
* hero is displayed in battle window
...
* battle console buttons added
* blit8bppAlphaTo24bpp bad working fixed (to be optimized)
* maybe something else
2008-03-03 19:41:10 +00:00
mateuszb
1580c71c78
* reported problems with hero flags resolved
...
* a bit of battle interface
* heroes with same owner cannot fight
2008-02-26 18:01:26 +00:00
mateuszb
3844c45441
small helpful function
2008-02-17 19:04:27 +00:00
mateuszb
4a655a0ad1
small changes
2008-02-11 18:40:10 +00:00
mateuszb
f0e2f1d205
* memory usage significantly decreased (now it's about half of what was before ;])
...
* load time significantly decreased also (now it's almost like in OH3)
* TODO: make extensively used CSDL_Ext::blit8bppAlphaTo24bpp faster - it slows down VCMI too significantly, but I'm sure it can be as fast as the code from SDL and anyway those speed-ups and memory usage decrease were worth it ;]
2008-02-10 17:44:51 +00:00
Michał W. Urbańczyk
ec072972ee
* hopefully last bugfix for Pandora's Box
...
* fixed blockmap for generated hero
* one can't choose already disposed hero in pregame
* fixes in heroes and towns picking
* improved hero selection in pregame
* version changed to 0.53
* CGI will be in debug mode a global pointer (much more convenient debugging)
2008-02-10 09:35:52 +00:00
mateuszb
2b91d6129b
small refactoring in mapHandler, first part of object-to-screen blitting (8bpp with alpha to 24bpp/32bpp without alpha) that will improve speed and memory usage (faster flag color selecting, 8bpp instead of 32bpp defHandlers, no need of secondAlphaTransform)
2008-02-09 14:44:32 +00:00
Michał W. Urbańczyk
a89b4e2c59
* [feature] giving starting hero
...
* [feature] VCMI will try to use files from /Data folder instead of those from h3bitmap.lod
* [feature] picked artifacts are added to hero's backpack
2008-02-07 18:45:22 +00:00
Michał W. Urbańczyk
fe5bcc19cf
* redone def info handling
...
* redone randomization (mam nadziemę, że będzie toto działać)
* no more cheating pathfinder
* minor improvements
* version changed to 0.52
2008-02-05 03:56:45 +00:00
mateuszb
ef90e6140f
hero animation speed now independent
2008-01-08 13:31:44 +00:00
Michał W. Urbańczyk
7db86e5f9e
* code reorganization (posiekałem potwora!)
2007-12-22 21:06:49 +00:00
mateuszb
f7d3089174
static FoW
2007-12-11 18:49:24 +00:00
mateuszb
7c0f9afc9f
correct detection of blocked pos after disappearing objects and hero movement
2007-11-29 18:45:47 +00:00
mateuszb
ea8ab56cea
* recalculationg positions for blocked/visitable
...
* improvements in deleting objs
* to be tested
2007-11-25 18:32:11 +00:00
mateuszb
b226540775
deleting objects, a bit of hero randomizing
2007-11-24 18:54:34 +00:00
mateuszb
d8103fd242
* part of new object randomizing; make it work (I mean moving the last hero on your Arrogance2 - it doesn't wotk and I don't know why)
2007-11-20 17:52:22 +00:00
mateuszb
8b73ab8492
* fixed bugs in hero moving
...
* added functions to show/hide objects to CMapHandler
* added (partially written) fonction to create new CGObjectInstances
* added 2 console commands: A hides all abjects and R shows them again
2007-11-03 16:46:08 +00:00
Michał W. Urbańczyk
4f316cd7e6
Our changes.
...
Restructured instances classes.
Still very instable.
2007-10-27 19:38:48 +00:00
mateuszb
c18e4573f1
* small improvements
...
* probably working getting visitable objects at certain position (to be tested)
2007-10-26 17:55:33 +00:00
mateuszb
21f8684cdd
* a bit of printing object flags
...
* small speed up
2007-10-24 19:54:35 +00:00
mateuszb
f3b5d07aa5
* bugfixes
...
* general improvements
2007-10-18 20:14:26 +00:00
mateuszb
c1e9e9b750
* resolving #41 and #36
...
* small improvements
2007-10-17 20:05:49 +00:00
mateuszb
355e21b56a
* finishing hero flags
...
* some things with #36 and #41
2007-10-16 17:46:01 +00:00
mateuszb
62b69b1f25
our changes
2007-10-13 18:49:43 +00:00
mateuszb
49565e6b45
* resolving #23 with adding it to callback
2007-10-05 18:10:33 +00:00
Michał W. Urbańczyk
cfc94847a1
* added selecting path by clicking on terrain (experimental)
...
* coordinates in CPathNode are stored in int3
* minor improvements
2007-09-22 01:16:31 +00:00
mateuszb
5222be8d94
* upgrades in moveHero function
...
* new folder structure
2007-08-30 10:11:53 +00:00
mateuszb
2d7dbbefc3
* partially written hero moving
...
* improvements in include system
2007-08-29 12:18:31 +00:00
Michał W. Urbańczyk
8c445b0ada
* half-working minimap
...
* minor improvements
2007-08-19 21:12:55 +00:00
Michał W. Urbańczyk
7d704c7f02
* working pathfinder
...
* drawing paths
* new command "P X1 Y1 Z1 X2 Y2 Z2" - draws path between given points
* borders handling rewritten
* minor stuff
2007-08-17 17:42:21 +00:00
mateuszb
8cc7e103bd
* some stuff with pathfinding (some functions need to be written, maybe someone help me?)
...
* CGI is now defined in global.h
* some code improvements
2007-08-12 17:48:05 +00:00
mateuszb
548e8582ec
* correct calculating blocked / vistable positions
...
* some minor improvements / changes / fixes
2007-08-11 14:58:07 +00:00
mateuszb
cc0a4c5d09
* new objects displaying system
2007-08-09 16:28:01 +00:00
Michał W. Urbańczyk
a3c45bcaa2
* buttons can use more than one def
...
* underground/urface switch button changes look when cliked
* object handler stories pointers to object instances
* new structure for terrain tile - TerrainTile2
* started doing video handlers - unfortunetly they don't work...
2007-08-08 19:28:56 +00:00
mateuszb
9c5bc83b16
* displaying roads and static rivers
...
* small bugfix in reading map
* small bugfix in lod handler
* small upgrade in def handler (should work a bit faster and better)
2007-07-31 13:09:34 +00:00
mateuszb
b2d1b4f3e4
* handling Def 2 compression (may be a bit buggy)
...
* small improvement in int3 class
2007-07-30 12:49:38 +00:00
mateuszb
674f1f8a62
Ta, uniezależnij, a kto zrobi obsługę kompresji 2?
...
Uzależniłem co trzeba, jednak twój talent psucia znów się ujawnił - zamiast mapy dostaję czarne tło...
przy okazji drobny bugfix
2007-07-11 17:47:09 +00:00
Michał W. Urbańczyk
4e0cacff14
* [bugfix] nie zamula
...
* [new] uniezależnienie od rozprutego h3sprite.lod
2007-07-11 12:08:42 +00:00
Michał W. Urbańczyk
82308c10fe
Dzisiejsze zmiany (wyświetlanie obiektów)
2007-07-02 19:44:30 +00:00
mateuszb
9ff9557ed2
wyświetlanie obiektów na mapie (wymaga dokończenia), drobne poprawki
2007-07-02 11:23:42 +00:00
mateuszb
118c917a60
drobne poprawki w wyświetlaniu cieni oraz naprawienie rotacji dla ośmiobitowych surface'ów
...
dorobienie ifndefów w niektórych plikach .h (dlaczego ty ich nie robisz???)
2007-06-26 12:38:58 +00:00