Ivan Savenko
2f440e435a
Merge pull request #1557 from Nordsoft91/fix-altactions
...
Fix alternative actions button redraw
2023-02-08 13:52:21 +02:00
Konstantin
976c5e7bd4
vcmi: modernize lua
2023-02-08 13:51:22 +03:00
Dydzio
a4cc386a5a
Apply suggestions from code review
...
Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
2023-02-05 20:24:36 +01:00
Konstantin
cb3723b54c
vstd: pass separators and input by reference
...
It removes many cases of redundnant string copying
2023-02-05 18:07:56 +03:00
Konstantin
fb38050f9b
vcmi: build lua with STRICT_COMPILATION
...
This is a fixes for some LUA warnings for building it with strict
compilation.
2023-02-05 12:18:09 +03:00
Andrii Danylchenko
14d27c788f
hide AI cheating message
2023-02-05 11:00:58 +02:00
Andrii Danylchenko
588b744534
Merge pull request #1552 from dydzio0614/polish-translations
...
Add polish translations, tiny improvement of english translations
2023-02-05 10:23:53 +02:00
DjWarmonger
908f8f5aee
Update README.md
2023-02-05 10:06:35 +02:00
Dydzio
981c23cafa
Bump serialization - not sure if necessary
2023-02-05 01:01:11 +01:00
Dydzio
b9030fe9cc
Better name for bonus
2023-02-05 00:56:37 +01:00
Dydzio
7095e9d8f9
Allow heroes to start with empty armies if configured properly
2023-02-05 00:36:51 +01:00
nordsoft
fd6987ea0a
Fix alternative actions button redraw
2023-02-05 03:29:50 +04:00
Dydzio
3f79a9806c
Allow flexible configuration - starter dwellings and max stacks count
2023-02-04 23:40:02 +01:00
Dydzio
719a11bdf6
Translate VCMI essential files
2023-02-04 18:51:30 +01:00
Dydzio
a9f279d1ab
Add polish translations, tiny improvement of english translations
2023-02-04 18:45:32 +01:00
DjWarmonger
ca01c179b4
Merge pull request #1528 from rilian-la-te/daremyth-fix-bonus-v2
...
vcmi: deprecate MAXED_SPELL
2023-02-04 15:08:59 +01:00
Konstantin
7b8aebe4e3
vcmi: deprecate MAXED_SPELL
...
It is almost identical to SPECIAL_FIXED_VALUE_ENCHANT.
Replace its usage in JSON and inside deprecated converter
to SPECIAL_FIXED_VALUE_ENCHANT. Remove buggy string inside
getEffectLevel.
2023-02-04 16:23:03 +03:00
Ivan Savenko
62151cd20c
Replaced genRect with Rect constructor call
2023-02-03 19:17:59 +02:00
Ivan Savenko
34dcb4127a
Removed text utilities from SDL_Extensions
2023-02-03 18:55:25 +02:00
Ivan Savenko
7c58a46279
Removed some instances of access to screen
surface
2023-02-03 18:23:53 +02:00
Ivan Savenko
00c1a4ef76
Merge pull request #1543 from IvanSavenko/changelog-1.2
...
Add current version of 1.2 changelog
2023-02-03 14:55:59 +02:00
Ivan Savenko
4ecd1c68bf
Updated changelog
2023-02-03 13:30:19 +02:00
Ivan Savenko
63edc2efb9
Added changelog entries for rest of commits
2023-02-03 13:29:35 +02:00
Ivan Savenko
d3139f62ab
Initial commit for 1.2 changelog
2023-02-03 13:29:33 +02:00
Ivan Savenko
9c59025db0
Merge master -> develop
2023-02-03 13:26:44 +02:00
Ivan Savenko
70c0937972
Moved SDL-specific code to SDL_Extensions
2023-02-03 13:02:05 +02:00
Ivan Savenko
01322aa4c5
Do not allow selecting resolution no supported by display
2023-02-03 12:57:38 +02:00
Ivan Savenko
4cb71e476e
Merge pull request #1544 from IvanSavenko/sdl_remove_event_access
...
Reduce access to SDL events outside of GUI Handler
2023-02-03 12:48:05 +02:00
Ivan Savenko
ae9f040abf
removed unused method
2023-02-03 11:42:27 +02:00
Ivan Savenko
9833edcf73
Removed using namespace SDL_Ext
2023-02-03 11:39:40 +02:00
Ivan Savenko
d87fb43dcd
Replaced SDL access with VCMI methods
2023-02-03 11:39:40 +02:00
Ivan Savenko
3fef2a5e1f
Moved Colors to a separate file, updated includes
2023-02-03 11:39:40 +02:00
Ivan Savenko
aab082fd2e
Remove remaining access to SDL_Events
2023-02-03 11:39:40 +02:00
Ivan Savenko
594b7614cf
Fix CI build
2023-02-03 11:39:40 +02:00
Ivan Savenko
cfcaf5cbb6
renamed keyDown -> keyPressed
2023-02-03 11:39:40 +02:00
Ivan Savenko
b1821d4442
Removed some SDL access from non-SDL code
2023-02-03 11:39:40 +02:00
Ivan Savenko
e1bd0d2a04
API for custom events no longer requires SDL access
2023-02-03 11:39:40 +02:00
Ivan Savenko
d4fba3787c
Removed usage of SDL_KeyboardEvent from UI code
2023-02-03 11:39:40 +02:00
Ivan Savenko
860fe43131
Merged two mouse button enums
2023-02-03 11:39:40 +02:00
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
Ivan Savenko
b429f0bfeb
Change version to 1.1.1
2023-02-03 11:25:08 +02:00
Ivan Savenko
9c13ac8eb0
Merge pull request #1542 from vcmi/beta
...
Release 1.1.1
2023-02-03 01:00:18 +02:00
Dydzio
28eed7047c
Hardcoded feature to allow default towns always have 2nd dwelling
2023-02-02 22:50:08 +01: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
Dydzio
4f4660e82d
Hardcoded feature to allow new heroes always have 3 stacks like in HotA
2023-02-02 22:28:14 +01: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