1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
Open-source engine for Heroes of Might and Magic III
Go to file
Ivan Savenko 81e6207df0 Add helper functions for integer division rounding
Added set of functions that perform integer division with different
rounding modes:
- divideAndCeil - rounds up to next integer
- divideAndRound - rounds to nearest integer
- divideAndFloor - rounds to previous integer (equivalent to default
division)

Intended for use in library, where usage of floating point might lead to
desync in multiplayer games.

Replaced some cases that I knew of, including recent handicap PR
2024-08-03 13:52:14 +00:00
.github CI: Use URL relative to repo's owner for test data 2024-07-23 01:43:26 +02:00
AI calculate income 2024-07-25 02:51:00 +02:00
android fix exiting when bluetooth mouse is connected while running 2024-07-22 02:02:30 +02:00
CI MSVC CI script: Don't run vswhere to find dumpbin.exe, since it is not used 2024-07-20 00:04:28 +02:00
client Merge branch 'develop' into handicap 2024-08-01 21:39:40 +02:00
cmake_modules
config code review 2024-07-29 22:54:42 +02:00
debian Merge branch 'vcmi/master' into 'vcmi/develop' 2024-07-17 13:57:36 +00:00
docs docs: add building instruction for the NixOS 2024-07-23 07:28:45 +09:00
include Integrating changes from PR #4251 - add logging for rng 2024-07-16 15:31:58 +00:00
ios
launcher Merge pull request #4312 from IvanSavenko/texthandler_split 2024-07-21 13:49:14 +03:00
lib Add helper functions for integer division rounding 2024-08-03 13:52:14 +00:00
lobby Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
mapeditor Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
Mods/vcmi adjust text; increase gold input size 2024-07-29 23:48:00 +02:00
osx
rpm
scripting
scripts/lib
server Add helper functions for integer division rounding 2024-08-03 13:52:14 +00:00
serverapp
test code review 2024-07-29 22:54:42 +02:00
win
xcode
.gitattributes
.gitignore
.gitmodules
.travis.yml
AUTHORS.h
CCallback.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
CCallback.h
ChangeLog.md Initial version of 1.6 changelog, with all changes so far 2024-07-21 18:48:01 +00:00
CMakeLists.txt
CMakePresets.json
conanfile.py
fuzzylite.pc.in
Global.h Add helper functions for integer division rounding 2024-08-03 13:52:14 +00:00
license.txt
vcmibuilder
Version.cpp.in
Version.h

VCMI Github Downloads Github Downloads Github Downloads Github Downloads

VCMI Project

VCMI is an open-source recreation of Heroes of Might & Magic III engine, giving it new and extended possibilities.

Vanilla town siege in extended window Vanilla town view with radial menu for touchscreen devices Large Spellbook with German translation New widget for Hero selection, featuring Pavillon Town

Latest release

Latest release can be found in Github Releases page. As of right now we plan to have major releases around 3 times per year. Daily builds are still available at builds.vcmi.download but they are not guaranteed to be stable. So we encourage everybody to use them and report found bugs so that we can fix them. Loading saves made with different major version of VCMI is usually not supported, so you may want to finish your ongoing games before updating. Please see corresponding installation guide articles for details for your platform.

Installation guides

Forge Town in battle Asylum town with new creature dialog Ruins town siege Map editor

Documentation and guidelines for players

Documentation and guidelines for game modders

Documentation and guidelines for developers

Development environment setup instructions:

Engine documentation: (NOTE: may be outdated)

Documentation and guidelines for maintainers

VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: https://github.com/vcmi/vcmi-assets

Copyright (C) 2007-2024 VCMI Team (check AUTHORS file for the contributors list)