1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
Commit Graph

64 Commits

Author SHA1 Message Date
mateuszb
e1b4331ee2 * resolved #62 and #66 2008-08-02 10:26:56 +00:00
Michał W. Urbańczyk
6f7b29afcc GCC/AmigaOS compatibility changes by Andrea Palmaté. 2008-07-16 18:26:15 +00:00
Michał W. Urbańczyk
a308a2e04f * corrupted map file won't cause crash on initilializng main menu 2008-06-07 16:44:56 +00:00
mateuszb
62952e3163 a bit of refactoring (removed variable ekran as we have screen which is the same as ekran) 2008-04-25 09:25:59 +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
Michał W. Urbańczyk
e34f9a54c9 * it's possible to choose a player
* minor fixes
2008-02-06 07:33:53 +00:00
Michał W. Urbańczyk
f0db8760c2 * redone ZELP.TXT handling. Now VCMI should handle all language versions of that file. 2008-02-06 05:12:59 +00:00
Michał W. Urbańczyk
847126f57a * close button properly closes (same does 'q' key)
* two players can't have selected same hero
* double click on "Show Avalible Scenarios" won't reset options
* fixed crashbug in town/hero lists
* fixed crashbug in initializing game caused by wrong prisons handling
* fixed crashbug on reading custom artifacts in RoE map
* fixed crashbug on reading custom pandora's box in RoE map
* fixed crashbug on reading blank quest guards
* improved console messages


Ufff....
2008-02-03 04:22:58 +00:00
Michał W. Urbańczyk
fe9f3ba720 Wspólne zmiany (poza fortecą)
* bugfixes and improvements in pregame
* added support for Stronghold
* added support for Fortress
* fixed memory leak in towns
2008-02-01 21:45:07 +00:00
Michał W. Urbańczyk
06a081c924 Arrays allocated with new[] must be deleted with delete[] 2007-12-23 16:46:33 +00:00
Michał W. Urbańczyk
6c2cf4ba29 * hopefully fixed #46
* minor improvements
2007-12-23 16:25:14 +00:00
mateuszb
56ed228cb1 minimap completety fixed (never use float for precise int calculations!) 2007-12-09 14:02:11 +00:00
Michał W. Urbańczyk
736af28c05 Working windmill, water wheel, mystical garden (not tested).
Info windows.
Minor changes.
2007-11-23 22:33:55 +00:00
mateuszb
b07b1ec7dc * displaying flags
* significant speed-ups and warningfixing
2007-10-25 16:14:43 +00:00
Michał W. Urbańczyk
8421c901a4 * a lot of improvements
* started making an infobar
2007-09-30 16:16:00 +00:00
Michał W. Urbańczyk
6d0bcef157 * fixed initialization of map of players
* functions in callback for getting info about towns
* added info about towns to CGameState
* minor changes
2007-09-18 13:30:26 +00:00
Michał W. Urbańczyk
7d4aa0c803 * resource bar
* function in CCallback for getting onfo about res
* giving resources at the beginning of game
* moved several txt files to /config subfolder
* minor changes
2007-09-16 17:21:23 +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
ab3a06bf69 Mainly more improvements in CPreGame 2007-08-25 04:56:25 +00:00
Michał W. Urbańczyk
dc863f459c *improvements in CPreGame
* uptated specification
* minor stuff
2007-08-24 08:27:32 +00:00
mateuszb
1541b33b62 * reading headers for RoE and AB maps
* some minor changes
2007-08-23 17:38:00 +00:00
mateuszb
6d3a042add * graphical cursors are now posiible, however the code is a bit ugly and eats significant amount of resources (up to 15% of my CPU power) 2007-08-21 13:48:18 +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
Michał W. Urbańczyk
6b0f209626 * VCMI no longer needs h3bitmap and h3sprite folders - delete them. Now everything is readed directly from lod files
* names of lods changed - rename your lod files to h3sprite.lod and h3bitmap.lod and place them in \Data subfolder (as in H3).
* added several clickable buttons to adv. map interface
* underground/surface switch button is functional
* reading more text from ZELP.txt, added CPreGameTextHandler to CGameInfo
* a lot of minor improvements/fixes(/bugs)
2007-08-06 04:03:34 +00:00
Michał W. Urbańczyk
0ea7a46309 * new files (CAdvmapInterface.h and CAdvmapInterface.cpp)
* more player interface (but it's still beginning)
* int3 members public
* more usage of int3
* adjusted animation speed
* reversed changes from rev.165 in CPreGame - it wasn't bug, it just works so. That change was breaking a few things in CPreGame and was needless - Player ID == Player's Color. I thought it was obvious.
* minor stuff
2007-08-03 21:47:34 +00:00
mateuszb
9b5686b40c * choosing random creature generators
* fixed bug in CPreGame
2007-08-03 13:56:36 +00:00
Michał W. Urbańczyk
1380a7fd34 * New files - CGameInterface.h and CGameInterface.cpp - add them to your project
* Fixed several memory leaks
* Added support for player colors in CMessage (still need some work)
* Moved declarations of CPreGame buttons to CPreGame.h
* started making player interface (new button classes etc)
2007-07-28 09:44:10 +00:00
Ste
314fd8e20e * Fixed game crash when doing "NEW GAME" -> "SINGLE SCENARIO" -> "Show Advanced Options"
* Fixed bug. If you select town/hero and resource bonus and after that select random town the hero and bonus aren't set to random. Same for hero -> artifact bonus
 * Fixed two typos in error messages
2007-07-26 23:11:01 +00:00
Michał W. Urbańczyk
53da2c389c Added clickable and highlightable player flags in adv. options tab 2007-07-25 20:41:04 +00:00
Michał W. Urbańczyk
e2d9f8956e Start bonus choosing. 2007-07-25 13:57:10 +00:00
Michał W. Urbańczyk
40607240b4 Added hero selection (buggy) 2007-07-24 00:25:46 +00:00
Michał W. Urbańczyk
8cb1c3ff90 * new files (TownHandler) - add them to your project
* now you can choose castle in scenario options
* function blitAtWR works as blitAt, and refreshes destination rect
* vectorize function (on TowDragon's wish) - may be useful for debugging
* as always- minor bigfixes
2007-07-23 12:13:33 +00:00
Michał W. Urbańczyk
70d127486c Bugfixing and improving in PreGame. 2007-07-22 02:06:44 +00:00
Michał W. Urbańczyk
99c3b11d96 * removed post-TSI rubbish from nodrze
* HighButton is now main button class to inheriting
* more of advanced options screen 
* minor stuff
2007-07-20 23:37:12 +00:00
Michał W. Urbańczyk
bbbfce798c * reading 8. byte of player description from map header
* disabled loading creatures battle animations 
* fixed memory leaks (a few of many)
* creating default start options
* minor bugfix in main menu (slider wasn't removed)
* added txt file with portrait list
* reading heroes portraits
2007-07-19 23:38:11 +00:00
Michał W. Urbańczyk
db65d9ee15 * CLodHandler now stories entries in nodrze (much faster searching)
* CLodHandler init cleared up (a bit)
* giveDef optimized
* horizontal slider
* printAtMiddle updates corrrect rect
* adjusted shadows
* parts of advanced options menu 
* minor fixes/improvements
2007-07-17 20:51:49 +00:00
Michał W. Urbańczyk
429b8dab98 * [bugfix] moving selected scenario with arrows 2007-07-13 10:30:34 +00:00
Michał W. Urbańczyk
70156a179b * [new] sorting maps in map selection screen (still may be buggy)
* minor improvements
2007-07-13 08:48:22 +00:00
mateuszb
217e98e345 less bugs and works faster 2007-07-12 11:41:31 +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
de13161f2e Dorbne optymalizacje 2007-07-11 11:21:37 +00:00
Michał W. Urbańczyk
2ce01fa562 Więcej defhandlera wykorzystałem.
Jak Ci TERAZ będzie działać, to chyba oszaleję.
2007-07-11 09:37:28 +00:00
Michał W. Urbańczyk
44758582bb * [new] funkcja drukująca tekst wokół punktu
* [new] wycentrowanie kilku tekstów w wyborze scenariusza
* [bug] l.412 CPreGame.cpp --- po dodaniu się psuje, twoje ładowanie defów ciągle nie działa - popraw proszę, bo bez tego nic do menu nie zrobię...
2007-07-10 08:40:09 +00:00
mateuszb
a5eff43d24 drobna poprawka i bugreport - PRAWIE ŻADNA MAPA SIĘ NIE WCZYTUJE 2007-07-09 12:53:58 +00:00
mateuszb
c027557479 różne poprawki, jest ogólnie lepiej 2007-07-09 11:40:39 +00:00
Michał W. Urbańczyk
6711c6eed8 * [new] zaczytywanie bitmap prosto z loda - UWAGA: nie działa twoje robienie bmpa z pcxa w pamięci, więc jest bufor
dyskowy
* [new] uniezależnienie VCMI od rozprutych lodów
* [new] CAmbarCendamo może przyjąć do odczytu mapę w pamięci
* [bugfix] poprawione generowanie nagłówka BMPa
* [bugfix] w nowym handlerze nie dałeś stdafxa
* [new] CPregame korzysta bezpośrednio z lodów
* [change] CPCXConv przy otwieraniu z pamięci nie kopiuje źródla, tylko sie na nie ustawia
* [removed] wskaźnik procentowy przy czytaniu defów - 2 razy szybciej wczytuje się mapa
* [new] odpalanie wybranego scenariusza
* [new] strzałkami można rpzesuwać wybrany scenariusz, ale działa tylko gdy nie wybrano filtru (kiedy indziej 

dokończę)
2007-07-09 05:57:30 +00:00
mateuszb
051094abcc * poprawa wyświetlania obiektów
* upiększenie fragmentów kodu
* przesuwanie mapy przejechaniem kursora na skraj wyświetlanego obszaru
* ładne ramki przykrywające obiekty
* ulepszenie obsługi defów i lodów
* przyspieszenie przewijania map
2007-07-07 16:04:15 +00:00
Michał W. Urbańczyk
9a58212847 * dodano nieco więcej wypisywania na konsolkę czasów, wywalono rozpakowywanie wava
* bugfix błädu z CPreGame powodującego nie znikanie naciśniętego przycisku przy zmianie ekranów
2007-07-07 10:09:33 +00:00
Michał W. Urbańczyk
d3c8ef7809 Prawie działający CPCXConv.
Ale za to ma ładny, zgrabny interfejsik.
2007-07-01 12:54:59 +00:00