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

9825 Commits

Author SHA1 Message Date
Ivan Savenko
6669ffd4b3 Moved input-related code from SDL_Extensions to GuiHandler 2023-02-03 11:39:40 +02:00
Ivan Savenko
214fc19e74 CIntObject now receives mouse position as point instead of SDL event 2023-02-03 11:39:39 +02:00
Ivan Savenko
58cfddccaa
Merge pull request #1546 from rilian-la-te/dead-code-removal
Remove SDL usage from VCMI library
2023-02-03 11:28:29 +02:00
Ivan Savenko
64faa13b6d
Merge pull request #1487 from IvanSavenko/battle_actions_refactoring
Battle actions refactoring
2023-02-03 11:28:14 +02:00
Konstantin
4feab69867 mapeditor: use vcmi_endian.h
There is no need to redefine this functions, let's use shared
implementation
2023-02-03 00:39:44 +03:00
Konstantin
88ef83db53 client: remove SDL_BYTEORDER usage
Make use of CMake endian checking in this places too.
2023-02-03 00:37:37 +03:00
Konstantin
cffdabf48e lib: replace SDL usage to Boost one
It is safer and header-only, and can be removed after C++23 is accepted.
There is no need for SDL in non-GUI.
2023-02-02 23:58:22 +03:00
Konstantin
70786f4963 lib: remove unused header
This an unused header with empty class. Just remove it.
2023-02-02 23:50:50 +03:00
Ivan Savenko
a5f51b21c4
Merge pull request #1499 from dydzio0614/battle-queue-improvement
Battle queue improvement
2023-02-02 21:55:49 +02:00
Dydzio
2ef33d54ab Merge branch 'develop' into battle-queue-improvement 2023-02-02 18:26:31 +01:00
Ivan Savenko
2ac997d8a9 Fix "holding" animation speed 2023-02-02 14:37:34 +02:00
Ivan Savenko
731f7b0578 Fix opening spellbook via clicking on hero 2023-02-02 14:37:16 +02:00
Ivan Savenko
1e09c39c0e Fix battle cursor after attack command 2023-02-02 14:36:58 +02:00
Ivan Savenko
3c8a0b9e70 Add missing text 2023-02-02 13:43:20 +02:00
Ivan Savenko
9678296875 Hero interaction is now battle action 2023-02-02 13:43:19 +02:00
Ivan Savenko
d3c85a19cb Merged CClickableHex class into BattleFieldController 2023-02-02 13:35:57 +02:00
Ivan Savenko
c3b79c786b Spellcasters UI now shares handling with hero spellcasting 2023-02-02 13:25:55 +02:00
Ivan Savenko
dbbbba5f2d Fix typo 2023-02-02 13:25:55 +02:00
Ivan Savenko
f150ced14c All spellcasters should work correctly now 2023-02-02 13:25:55 +02:00
Ivan Savenko
55a58596bc Mostly finished refactoring of BattleActionsController
TODO: test actions
TODO: test casters
TODO: fix random casters
2023-02-02 13:25:55 +02:00
Ivan Savenko
a2035122e1 Removed makingTurn variable 2023-02-02 13:25:55 +02:00
Ivan Savenko
b1c67fbf47 Better formatting for enum 2023-02-02 13:25:55 +02:00
Ivan Savenko
4d62bf22f2 Removed no longer used code 2023-02-02 13:25:55 +02:00
Ivan Savenko
f1ea88ae9a
Merge pull request #1505 from dydzio0614/cheats-improvements
Cheats improvements
2023-02-02 12:21:19 +02:00
Ivan Savenko
f4bbcd0ed4
Merge pull request #1539 from dydzio0614/fixScriptingCompilation
Fix scripting compilation
2023-02-02 12:21:11 +02:00
Ivan Savenko
5f046f25a2
Merge pull request #1535 from IvanSavenko/client_files_layout_rearrangement
Reorganize client source files
2023-02-02 12:20:54 +02:00
Ivan Savenko
34772ef830 Fixed includes 2023-02-01 21:45:06 +02:00
Dydzio
19925c2c25 VcmiLua builds properly now 2023-02-01 20:25:09 +01:00
Ivan Savenko
108a42e4ba Reorganized includes for new layout. New class - IImageLoader 2023-02-01 20:42:06 +02:00
Ivan Savenko
84dfcacafd Updated CMakeLists and file headers 2023-02-01 16:42:03 +02:00
Ivan Savenko
4d8d886317 Move all created files into better locations 2023-02-01 16:28:48 +02:00
Ivan Savenko
ae968d1865 Remove duplicated code from new files 2023-02-01 16:12:01 +02:00
Ivan Savenko
5cc0de2fc6 Finish CAnimation split 2023-02-01 16:04:14 +02:00
Ivan Savenko
f6fa7f1ae0 temp rename 2023-02-01 16:03:48 +02:00
Ivan Savenko
54a95efc4d split CFadeAnimation into separate file 2023-02-01 16:03:17 +02:00
Ivan Savenko
3a88e7ce07 split CDefFile into separate file 2023-02-01 16:02:33 +02:00
Ivan Savenko
eef5876069 split SDLImageLoader into separate file 2023-02-01 16:01:47 +02:00
Ivan Savenko
d593b88713 split SDLImage into separate file 2023-02-01 16:00:32 +02:00
Ivan Savenko
f5cd6a9abe split IImage into separate file 2023-02-01 15:59:52 +02:00
Ivan Savenko
dfbcfb7b3c Remove duplicated code from new files 2023-02-01 15:56:44 +02:00
Ivan Savenko
3f1b1095e2 Finish split of cursors files 2023-02-01 15:50:36 +02:00
Ivan Savenko
769d4b3bfb temporary rename 2023-02-01 15:50:12 +02:00
Ivan Savenko
bdc2d0c920 Split CursorSoftware into a new file 2023-02-01 15:48:59 +02:00
Ivan Savenko
418fd1491b Split CursorHardware into a new file 2023-02-01 15:48:06 +02:00
Ivan Savenko
67e7731752 Split ICursor into a new file 2023-02-01 15:45:22 +02:00
Ivan Savenko
bfec00b022 Remove duplicated code in new files 2023-02-01 15:42:21 +02:00
Ivan Savenko
0ac411b5a0 Finalize split of Fonts.h/cpp 2023-02-01 15:38:24 +02:00
Ivan Savenko
3da4c9bb25 Moved CBitmapHanFont to a separate file 2023-02-01 15:36:38 +02:00
Ivan Savenko
aab7e0a5ed Moved CTrueTypeFont to a separate file 2023-02-01 15:35:52 +02:00
Ivan Savenko
1884c409f9 Moved CBitmapFont to a separate file 2023-02-01 15:34:50 +02:00