fbb86efFix initialization order problem.C++ standart doesn't guarantee the order of initialization for static members in different modules. So, some modules may try to use non-initialized data in the non-initialized module and get an error..Let's fix this problem using nifty-counter technique..
59d9757OpenGL: Fixed some blenders. And black fog is better than yellow I think :D.
4ac5bb3OpenGL: fixed tree normals - seems all normals look nice, fixed calculation of sky reflection on water.
75b413aFix debug build issue..There were different predicates with the same names. In linux linker link them in wrong order. Now these predicates are replaced by lambdas..
4e6aa34Fixed GameSpy multithreading issue in linux..
5e12b9eFix CUIMainIngameWnd xml section loading.From the standard: "If a call to sprintf or snprintf causes copying to.take place between objects that overlap, the behavior is undefined.".
8b2a7faxrRenderGL: fix gl texture loading on linux.
42496efxrGame: fix dependency of CUIDialogWndEx under Linux.
64341b9common: improve linux snprintf_s implementation (fix wrong processing console text in line_edit_control::add_inserted_text).
cd62f9cxrEngine: Fix integer overflow of Pure classes.Also use std::sort, which is faster than qsort..
31bb00fFix _splitpath returning incorrect extension._splitpath is supposed to return the dot before the extension..
bfb7a0bReduce the amount of warnings.* Inlined pure virtual functions don't make sense..* Use '= delete' to prohibit operators instead of runtime errors..* Fix mistakes in return values..
9197481Fix corrupted game saves.After refactoring the registry container the registries are saving and loading in incorrect (reverse) order. It leads to loading game tasks registry before map locations registry. But game tasks registry requires data from the map locations registry (map spots, for example) and the game crashes when it can't find the required data..
7b15fcdAward system refactoring. Part 1..Get rid of award_system::AccumulatorHelper. It allows to fix bug with undefined symbols in debug mode in linux..
ff133f2Probably fixed problems with allocation/deallocation of std::locale.
279c86fAdded new startup command "-force_flushlog". Allows write to log file immediately (Thx alpet, RvP).Environment_misc: fixed formatting.Added USE_LOG_TIMING. When used, log message is written in the following format: '[H:M:S.MS] log msg' (e.g. '[16:09:58.603] Loading DLL: xrRender_R2').
e5d87a1Added new startup command "-force_flushlog". Allows write to log file immediately (Thx alpet, RvP).Environment_misc: fixed formatting.Added USE_LOG_TIMING. When used, log message is written in the following format: '[H:M:S.MS] log msg' (e.g. '[16:09:58.603] Loading DLL: xrRender_R2').
e5783ddAdd "#undef registry_type_list" to fix GCC warnings.
425ce0ado not include ai_object_location.h in xrGame/StdAfx.h. Fixed "xrAICore/Navigation/ai_object_location.h:31:13: warning: inline function ‘void CAI_ObjectLocation::init()’ used but never defined".
d6ee7a1Fix some includes, template issues and other stuff when DEBUG is on.
13b0766Mark some stuff as FIXMEs for a later time.
326f63bxrAICore: Fix unknown enum and unnecesary typename.
b6be30bxrScriptEngine: fix luabind's call_member call on GCC.
8506cbcFix invalid pure virtual function declaration.
5836b65Fix explicit specialization in non-namespace scope.Although MSVC compiles specializations inside non-specialized classes,.this is against C++17 17.8.3/17. Instead we use C++17's "if constexpr"..
aa8207bFix crash after GameSpy client query.In CGameSpy_QR2::Init we should not pass local object of the caller as userdata because invalid pointer will be received in GameSpy callbacks after the client's query is arrived..
d43a305xrGame: fix case-sensitivity includes for Linux build.
7cd6f8fFixed wrong ingame text translation.That was my mistake...
52ebafdFixed trackbars position on 4:3 ratio for settings.Dynamic wet surfaces near / far / shadow map resolution were wrongly.positioned.
bfafcf4Fixed crash on incompatible save click (closes #226).You will see ui_st_error instead of a level name. You still shouldn't.try to load this save..
036e80dFix windows build after update LuaJIT. Part 2.
f9cac7aVarious fixes and improvements:.SDL_SCANCODE_LGUI replaced with SDL_SCANCODE_LALT.xrGame/MainMenu.cpp: fixed mistake in condition.Removed unnecessary casts.Formatting.xrRender/HW.cpp: I'm assuming that there should be check for depth stencil format.
7dec3d7Various fixes and improvements:.SDL_SCANCODE_LGUI replaced with SDL_SCANCODE_LALT.xrGame/MainMenu.cpp: fixed mistake in condition.Removed unnecessary casts.Formatting.xrRender/HW.cpp: I'm assuming that there should be check for depth stencil format.
2ec83d2xrEngine/Device_Initialize.cpp: fixed 'normal' window hit test result to be in a square, not in a cross.xrEngine/Device_create.cpp: supported desktop fullscreen for windowed mode, returned support for bordered window.xrEngine/device.cpp: don't reset device on event if resolution wasn't really changed; returned -center_screen key.xr_ioc_cmd.h: don't crash on token execution if it's null (in other cases such as tips filling it should crash).xrGame/UITalkDialogWnd.cpp: fixed dialog accelerators.
cbd1555xrEngine/Device_Initialize.cpp: fixed 'normal' window hit test result to be in a square, not in a cross.xrEngine/Device_create.cpp: supported desktop fullscreen for windowed mode, returned support for bordered window.xrEngine/device.cpp: don't reset device on event if resolution wasn't really changed; returned -center_screen key.xr_ioc_cmd.h: don't crash on token execution if it's null (in other cases such as tips filling it should crash).xrGame/UITalkDialogWnd.cpp: fixed dialog accelerators.
dac3979xrEngine: fix some Linux compilation errors.
0383b14Again fixed physics on x64.infinity != max.
83e98fbFixed work of dbg_show_ani_info console command.The code for it was partially disabled. Not it's fully functional.disabled by default).I changed the output for it to be more organized.Also I deleted IReceived and ICoincidenced variables that were just.unused.
6ba3e68Fixed crash in MP with mp_buy_menu_16.xml.Maybe there was symbol that breaks parsing? Anyway, I just deleted.commented part of the file...
96d9ad4Fix Debug compilation after previous commit.
33ae25a~ Should be float.+ SetTextureEx exported to lua for CUIStatic, which allows setting shader name as second param.= UIDragDropListEx | Fix improper use of std::unique. The idea is to cull cells of same dimensions or less for drawing but this optimization did not work due to this error..
e8c0e94Fixed text disappear on x64 (uninitialized variables).Fixed visibility indicator.OpenAL: fixed sound stopping when game freezes/pauses.
9b8cc35set LanguageStandard=stdcpp14 for xrGame. Fix building other projects with stdcpp17.
33cf655Revert "Try to fix "SMAP_size" crash in OpenGL render on AMD video cards".This reverts commit c9a4ff75346dd7d9af838858d6394f61d9305c5e..This reverts commit dbb43422f76853eaaa882a8f6e305a9029a84613..
9bfcd4bxrCore/ModuleLookup.cpp: replace Russian С with English C.Probably, you should sleep at night or you will create commits and 3x.more commits to fix previous commits like me 👍.
e1e4c06Try to fix "SMAP_size" crash in OpenGL render on AMD video cards part #2.
f696716Try to fix "SMAP_size" crash in OpenGL render on AMD video cards part #1.
dbb4342Try to fix "SMAP_size" crash in OpenGL render on AMD video cards part #2.
c9a4ff7Try to fix "SMAP_size" crash in OpenGL render on AMD video cards part #1.
1cc859bFix original COP crash with HDAO.When HDAO is not ultra and SSAO Blur is enabled you will got a crash.
0a4b826Fix shader compilation on ultra ssao settings.
e24169eFull fix of cursor clipping in all situations.
3729f31Disable render thread.Fix broken xrWeatherEditor and Fullscreen mode switch.
fdd7908Partial revert "Layers/xrRender: code refactoring and cleanup".This partially reverts commit 4038665d08eaea63d59b91979838a1616327a80b..Fix pure virtual function call that appeared after that commit..
2dff3deFix memory leak for vertex buffers in dx103DFluidGrid..
10efe46Fix double ShaderResourceView creation for some cases in R3 and R4..
7605f74Fixes to cursor and xrWeatherEditor.When running xrWeatherEditor, in-game cursor position matches desktop.cursor position (real game resolution used instead of rendering.resolution).Fixes to Edit and Pause buttons behaviour in xrWeatherEditor.
cfafdfdAllow game to be active when window is inactive (configurable).Also fixed some issues with cursor manipulation.
6b1a747Add and use helper class for hud rendering. Small cleanup. Fix bug for mapHUDSorted..
9ab3eaeFixed display on HUD of transparent surfaces. Untested!.
3dd786bFix build. And modified updateWindowProps for convenience of debugging and similarity to other renderers..Xottab_DUTY: this commit was squashed with my compilation fix commit..
ef830f9Fix exception when calling OnClient() or OnServer() when game isn't started.
0c0834bMore cleaning/decoupling. Some 'override' added. Fixed up stricmp -> _stricmp & co..Replace stricmp & co. to instead use xr-prepended function names in the code, and select impl. from a header depending on compiler used..Tagged up CKinematics with 'override' where appropriate..Removed a bunch of compiler warnings (unused function arguments, re-defining variable name in function (sometimes with different type even))..Moved a few Lock instances in a class to be Lock* (compile-time complexity reduction)..Xottab_DUTY: removed some include guards.
557c156New xr_array class instead of deprecated svector.Reverted changes for FixedVector.h from previous commit.
e62cd89Fix one more memory corruption in line_edit_control..
409733aFix blue textures after build level from scratch..
f28b8a9Delete USE_RESOURCE_DEBUGGER. Replace FixedMap with xr_unordered_map. A small decrease in FPS is approximately 1-3% in Release. TODO: use an pool allocator with xr_unordered_map (maybe boost or tbb?) to compensate..
e218d87ATTENTION! I fixed an important logical error that occurs when opening the .ltx file when 'readOnly == false. This error occurs, for example, in the weather editor (the 'level weathers' tab remains empty, although it must be filled with the contents of the files 'game_maps_mp.ltx' and 'game_maps_single.ltx')..
9162232Try to fix xrWeatherEditor forms load/save error in Visual Studio..
451d116Try to fix xrWeatherEditor forms load/save error in Visual Studio..
ad74c46Try to fix xrWeatherEditor forms load error in Visual Studio..
4c7131fSome xrAI and xrSE_Factory x64 fixes and improvements. Remove hack. Small Cleanup..
893cd3fWIP of xrAI and xrSE_Factory. Replace magical constants. Small code cleanup. Perhaps I fixed a strange bug (or not bug?) replacing level_graph().clear_mask(m_border) --> level_graph().clear_mask(m_internal)..
68f4212WIP of xrAI and xrSE_Factory. Fix some spawn-related crashes..
376e015WIP of xrAI and xrSE_Factory. Fix Debug crash. Fix some strange things..
d58139fVery WIP fix of xrSE_Factory. Maybe something will spoil or break..
365f327Fix benchmark crash on start.Forgot to call InitializeRenderers().
c12c002Fixed crash when trying to enter anything into the console in the Debug build..
19aa7c8Fix PVS-Studio warning №V519.V519 The 'MaxT[0]' variable is assigned values twice successively..Perhaps this is a mistake..
c1e0f24Fix PVS-Studio warning №V802.V802 On 64-bit platform, structure size can be reduced from 48 to 40.bytes by rearranging the fields according to their sizes in decreasing.order..Also replace one LPCSTR to pcstr.
c22cf4cPart 6 of the experiment to remove doug_lea_allocator. Small x64 fixes..
1fc8dd7Don't use internal lzo library. Use external one. And fix crash in src/utils/xrCompress/main.cpp at application exit..
4c6fc27= fixed being able to repair consumables with more then 1 usage.~ st_unequip is hardcoded string to display text for unequippable slotted items.
422b48c+ added decay_rate for detectors when use_condition = true. on animation end this value will be subtracted from the items condition.= fixed issue with non-slot equipment mechanic and stacks.~ added PDA_SLOT and TORCH_SLOT to list.
835f476= fixed stacking issue with non-slot equip feature but equip when item already equipped still not working..
9c43597+ added code to donate item through context menu during trade (Work in progress).= fixed duplicating items caused by CEatableItem::Useful() and the removal of the remaining uses check.+ added code to swap equipment slots, including knife and binoc through context menu (Work In Progress).
7840b0f+ AxelDominator weight calculations for CEatableItem weight.~ uncommented artefact immunities code to be displayed in tooltip.~ uncommented outfit immunities code to be displayed in tooltip.+ added new lua exported methods, for game_object class:.u8 get_remaining_uses().void set_remaining_uses(u8).u8 get_max_uses().= potential fix for crash when placing item with 0 remaining uses into a container.~ global lua exported method UpdateActorMenu() now updates current item cell.+ added global lua exported method,.game_object CurrentItemAtCell() (**not working apparently).
801239fVarious fixes plus progress bars are now green.Fixed various issues with the multiple item uses and now the progress.bars are green. Also fixed a few issues with the hotbar and progressbar.background.
218dacf= fixed inventory cell items not updating progress bar.= Corrected some issues with Axel's feature.
d52aaeaFix crash when trying to kill entity via script method "kill".
6e703b4* restructured many features behind defines (see: Config.hpp).+ added a layered sound system (see: Config.hpp).+ added get_hud():UpdateActorMenu() which refreshes the inventory screen.+ added new spawn_loadout features to character descriptions spawn item system (see: alife_object.cpp).~ made corrections to how ammo_type is drawn on UI (requires static_third_ammo in maingame[_16].xml).+ engine call to _G.CALifeUpdateManager__on_before_change_level (required!).+ engine call to inventory_upgrades.effect_upgrade_item (required!).- removed some unused testing game_object exports (is_explosive, is_script_zone, is_projector, is_missle, is_grenade, is_bottle, is_torch).+ added game_object:set_bone_visible(string bone_name,bool visibility,bool recursive).+ added game_object:bone_visible() bool.+ added game_object:get_luminocity() and game_object:get_luminocity_hemi().- removed game_object:is_actor_indoors() and is_npc_indoors replaced by above.+ added level.get_active_cam() and level.set_active_cam(number).= fixed game_object:has_upgrade(string).+ added game_object:install_upgrade(string).+ m_evaluator_name exposed outside DEBUG for better script logging.+ added FS():rescan_path(string) which toggles the flag to rescan the path when the game reloads which allows you to add new files and see the changes in-game without restarting application.
0fe21c1New callbacks and more.* alife_storage_manager.cpp makes direct engine call to script alife_storage_manager.script to pass the save game filename..alife_storage_manager.CALifeStorageManager_save.alife_storage_manager.CALifeStorageManager_load.* smooth crouch fix.+ callback.weapon_zoom_in.+ callback.weapon_zoom_out.+ callback.weapon_jammed.+ game_object:get_artefact_health();.+ game_object:get_artefact_radiation();.+ game_object:get_artefact_satiety();.+ game_object:get_artefact_power();.+ game_object:get_artefact_bleeding();.+ game_object:set_artefact_health(float value);.+ game_object:set_artefact_radiation(float value);.+ game_object:set_artefact_satiety(float value);.+ game_object:set_artefact_power(float value);.+ game_object:set_artefact_bleeding(float value);.+ game_object:attach_vehicle(gameobject veh) actor only.+ game_object:detach_vehicle() actor only.+ game_object:force_set_position(vector3).
dc0acae= fix rpm for abakan cycle down.= fix level.get_target_dist to always return range even if there is no object at cursor.+ added level.get_target_element which should return bone id.
d5947e8Add current path to the common include paths.This fixes IntelliSense in renderers code. (thanks @ForserX).Also replace backslashes with slashes..
599df0e* Fix: values were not updated (silently skipped) when same key is encountered more than once..This is how std::map is designed..Also used more efficient C++11 std::map::emplace method instead of outdated std::pair::make_pair..Note that xxx.insert(mk_pair(v1,v2)) pattern is used extensively throughout solution so there is a good potential for other bug fixes/improvements.
63868c7Fix for the "cannot find rank for" issue.If you can't find the rank, don't crash please.
e270edf[Bugfix] More correct way to fix camera glitching.In commit 0aab576 we have attempts to fix camera glitching when one of effectors finishes working. The root of glitches is effector's deletion in CCameraManager::ProcessCameraEffector. Cycle in CCameraManager::UpdateCamEffectors uses reverse iterator and doesn't expect that entry in the list would be removed. Due to specific behavior of reverse iterator it really points to the next element relative to element which it dereferenced to. So, when ProcessCameraEffector deletes currently dereferenced element, iterator automatically starts point to element before deleted one. But the UpdateCamEffectors doesn't know about it, and cycle changes iterator on next iteration. So, processing of one camera effect would be skipped in this moment..Changes in 0aab576 don't seems to be the best solution, because.1) vector is less suitable for situations where we are often want to add or remove random elements.2) Deletion of current effector in ProcessCameraEffector seems to be not safe. For example, we could have CCameraManager's childs with overridden ProcessCameraEffector method. They could be deadly surprised if pointer to current effector would start pointing to non-existent element..So, this commit:.1) Reverts changes from 0aab576.2) Removes effector's deletion from CCameraManager::ProcessCameraEffector; now the method returns false if it should be deleted, or true otherwise.3) Adds code for removing 'old' effectors to UpdateCamEffectors method..
42ac33eImplementing more accurate way for weapon hiding fix.See previous commit for details.
d243af2[Bugfix] quick changing of target slot restarts animation of hiding.Take weapon from automatic slot into hands. Press key to change slot to pistol's one. Then change slot to knife's one without waiting for changing completed. Hiding animation will be restarted. You can never change slot while you repeats such actions..
8fb4797[Bugfix] Incorrect zoom after attaching 'custom' scope to the weapon.When you attaches 'custom' scope to the weapon which has just been spawned, you could find that initial zoom of the scope is completely incorrect..The problem is that m_fRTZoomFactor field, which defines real currently used zoom, hasn't been updated after attaching scope..
f2d6cb8[Bugfix] Corrected zooming in/out command handler.If you bind zoom in/out commands to keys and then try to use zoom, you will find that zooming works incorrectly. Game would switch 2 zoomsteps per 1 keypress. It happens because the handler changes zoomstep twice: when you press the key and when you release it..Fix makes zoomstep changing only when key is pressed, not released..
b4c412f[Bugfix] incorrect ammotype changing fix.When you try to reload weapon but count of ammos in your inventory is not enought for full magazine, ammo's iconcould instantly change to an icon of next ammotype..Also the bug could lead to another kind of behavior. Take into your hands a weapon with not full mag and without ammo of current ammo type in the inventory. Start reload or changing ammotype and (without waiting until the action is finished) drop the weapon. Then take it back to the hands. The key for ammotype changing won't work..
6cebfa2[Bugfix] Removed flickering after game item usage.When you use eatable item (such as medkit) with pistol in actor's hands, you can see as used item flickers on the screen. It happens because the game drops used item from actor's inventory before removing it. Such bug seriously affects game experience when hud scheme for usable items (such as 'gwr_eatable.script') is installed..The fix is hiding dropped item, so you will never see it..
5e59f8f[Bugfix] Fix disappearing grenade.The way to reproduce:.1) Attach grenade launcher to the weapon.2) Switch to GL mode and reload GL.3) Switch back to bullets.4) Detach GL. GL would be spawned to the inventory, but loaded grenade would stay in the weapon..It happens because weapon has 2 magazines: for current active ammo and for secondary (inactive) ammo. So, you should force game to unload ammos from "GL's" mag..
e9c867f[Bugfix] Lookout feature starts working incorrectly if user tries to activate both lookouts simultaneously.The mstate_real activates both leaft and right lookout flags if user press keys simultaneously. Flags won't be clear until user releases both keys, so lookouts won't work properly..
cc83e24[Bugfix] Detector holds active state after it was dropped.Steps to reproduce:.1) Take detector into your hands.2) Go to ruck, drop detector from your inventory.3) Close inventory and take dropped detector back..4) 1st attempt to activate it would be unsuccessful. Hiding sound will be played, but detector won't be shown..Reason - state has not "hidden" value when you drops detector..
705040f[Bugfix] Incorrect weapon weight calculation.1) Ammos in mag could have different types with different weight (especially for shotguns).2) When grenade is loaded into the weapon, it weight should increase..
449c91a[Bugfix] Inversion of cartridges' order when switching to grenade mode.Ineffective and potentially buggy code changed to better one..
33f0521[Bugfix] Crows fix.1) After crow's death (from actor's hit or blowout) it falls to ground. But after game save\load it 'resurrects'. The problem is that it flying in semi-dead state (health is 0, but state is Flying). When you hits it, Die() methot is not called (dead object can't die twice), so physics shell isn't created. Crow freezes at the last point in the sky..2) Because of unitualized members flight of crows could be incorrect in some conditions..
3ba633fFix camera glitch when reloading or strafing.
b47a3e9Fix by SkyLoader: reload effector works not every time.
0c34678HangingLamp fix by SkyLoader.Russian description: Данная проблема была в свое в ЛА еще в 2013 году, и.я очень долго не мог найти причину вылета, так как вылет каждый раз.ссылался на разные некорректные по его мнению объекты. Причем возникал.не всегда и можно было его поймать только при выходе из игры. Спустя.несколько месяцев чудом проблема была найдена. Оказывается, проблема.была в лампочках, которые включались и выключались скриптово. Игра.ловила крэш при 255 и более включении и выключении лампочки..
d7380e1EngineAPI: Make the OpenGL renderer the fourth renderer..This fixes the issue where the OpenGL renderer doesn't load.if the DX10/11 backends are not available..
d1e50fbLevelEditor: fixed includes and formatted code.
b4ea6daFix hierarchy of lua-exported classes..New luabind performs automatic cast to most derived class, which causes crash.when trying to call parent class function from lua..
cb308c1xrCore: g_pauseMngr variable refactored to function..g_pauseMngr constructor calls reserve() on m_timers member, which requires.dynamic memory allocation, which triggers xrMemory initialization..The point is that xrMemory relies on command line arguments, which we.can not extract from main argc/argv pair, because g_pauseMngr constructor.executed before main()..With g_pauseMngr being a function, we delay the manager construction to the.first function call, which fixes the issue..
94d6ba2xrCore/xrstring.cpp: Fixed g_pStringContainer definition..The var is not extern here..
c89dadcxrCore/ModuleLookup.cpp: Fixed LoadLibrary call..Use LoadLibraryA instead of LoadLibrary so we.1) Call an out-of-namespace function instead of calling macro,.2) Use ANSI version of LoadLibrary, as argument is const char *..
56f85ccFix missing return in CScriptCallbackEx::operator()..
c6387d7Remove ".dll" suffix from LoadModule calls. Close #78..
9b789e6Remove ".dll" suffix from LoadModule calls. #78.
c9d84c1xrCore/xrString.cpp: Fixed memory allocation on 64 bit archs..
30b64b5xrCore/Threading/Lock: Fixed code style..Sorry for the noise..
9ea58fcxrCore/Threading/Lock: Fixed isLocked()..bool isLocked was been not enough for recursive mutex..We need to use integer, so one Leave() would not make.isLocked() == false, if there was previous unpaired Enter() call..
8c7bd75xrCore/FS (IReader): Fixed close() compilation..There was a deletion call xr_delete(this) and xr_delete() tries to.set passed argument (this) to NULL, or accept a pointer to const,.which is not the case either..Used the same thing, as in other close() methods:.introduced variable self, which is passed to xr_delete()..
0cd19f0Fixed include and dependency.Fixed include (missing path to xrCore in xrD3D9-Null) and dependency.(You need build xrLCUtil before building xrLC_Light).
51cffa4xrCore/Containers/AssociativeVector.hpp: Fixed compilation with gcc..Removed default arguments from template specialization..Error: AssociativeVector.hpp:122 default argument given for a template.parameter after previous specification at AssociativeVector.hpp:51..
021f1adFixed dependence of xrDO_Light on xrCDB.In order to build successfully without running building twice, add depedency for xrDO_Light..And for contributors, please, upgrade to VS 2013 Update 3..
e1f1afeFix misplaced weather buttons in MP voting dialog..
9a05150Fix LightWave and 3DS Max exporters compilation issues. Close #7..
8030188Fixed paths and names for compiling. Don't forget to correctly set path var XRAY_16X_LIBS to libs folder(to nitrocaster's zipped libs folder)..If it fails yours installation's compilation proccess, revert it or optimize for it..
2d152f8Fix incorrect depth stencil initialization in dx10StateUtils::ValidateState..
42fbd81Fix lights_hanging_lamp and lights_signal_light class names. Close #4..
b5fa8cdMigrate to VS2013 (read extended desc)..+ Update solution, projects and code for VS2013.+ Fix xrMemory::mem_usage (reference impl crashes or falls into infinite loop).+ Remove STLPort and related code.+ Remove original 3rd party libraries.
d844267Add file that is needed for debub build..to satisfy linker in xrGame/console_commands.cpp.o: In function `CCC_DebugFonts::Execute(char const*)'.
f1852c8Replace ambiguous include."#include "StdAfx.h"" would include a different file depending on the.target -xrGame and xrPhysics- at that stage of the build. Removing it.must be followed by the addition of some includes in xrCore to make the.compiler happy..
3fdf11dxrGame: Add missing external libraries to CMakeLists.
0b24d96Revert "Added xrUICore project. Some ui files moved to xrUICore".This reverts commit 94acc9ac7eb3bdde02345ea1c5982b198c28ee09..
94acc9aAdded xrUICore project. Some ui files moved to xrUICore.
b77d0a1Added Steam COP fsgame.ltx.It has long been clear that it is necessary to change the original.appdata folder. So I'll just use original file from Steam version of the.Game..
3233456CMake: add CMAKE_BUILD_TYPE for properly linkage.
f1085c2xrCore: remove unused include from CMakeLists.txt.xrEngine: hide network calls under defines.xrPhysics: add nesessary cpp in CMakeLists.txt, add include.
f323618Add using ccache in Linux build if installed.
aad0793Added new advanced video and gameplay options:.FXAA, Grass details radius, shadow map size, DX10.1 usage,.Loading stages and Always active.Also added currently commented G-Buffer optimization and A-Test.smoothing (Translation does not fit with the current UI size).
7e4400aAdded Steam COP video and gameplay settings scripts.
f75889cxrCore/xrMemory.h: allocate additional 16 bytes of memory for RELEASE.This will increase memory consumption a bit but I hope this should make.it more stable....Well, will see if that's true..
fbf7987Common: remove warning for Linux build.ODE: replace fpclassify on std:fpclassify.xrCore: add define XRCORE_EXPORTS, copy _fpclass replacement from ODE.
f08461aadd info about status MSVC and MinGW build.
c163d32add LanguageStandard=stdcpp17 to all vcxproj, except editors, Externals and plugins.
1cdaa52add LanguageStandard=stdcpp14 to all vcxproj, except editors, Externals and plugins.
fc57908xrECore: new forms added.New forms:.- WindowMain.- WindowView.- WindowSplash.- WindowLog.New files:.ELog.h/cpp.UI_MainCommand.h/cpp.Token.h moved to Core folder.Other minor changes.
04b2050Small refactoring. Comment out unused code. Remove unused files from vcxproj. Add some doc..
03e0948Added new startup keys for engine:.-nosplash - removes the splash screen at engine launch..-splashnotop - allow to hide the splash screen by another window.
a9420a8Windowed mode now act like borderless by default. (fullscreen in windowed mode is now possible).Removed startup key from engine: -no_dialog_header.Added new startup key for engine: -draw_borders >>> draw window name\borders and system buttons.
e95b567+ added ai_die_in_anomaly via space_restrictor.cpp.
15edbfd+ add new game_object exports:.u32 get_spatial_type() -- get alife object flags.set_spatial_type(u32) -- set alife object flags.iterate_feel_touch(funct) ex. obj:iterate_feel_touch(func) -- passes ID as param to a given lua function.
986f036~ Changed in-game text color for Neutral to yellow.+ Added game_object:set_character_icon(texture_name).
6aa30b9Move Platform.hpp inclusion into Common.hpp.Except xrLC_LightStab.h.Add XXX to CommonImportExport.inl.
246fba2xrCore: Add GetBuildConfiguration() function.It allows you to get the build configuration.Also show the project name in log instead of 'xrCore'.
8eff473Replace iterator for cycles with range-based for.Add XXX in xrGame/UIDragDropListEx.cpp.
2748b74+ Added cut-content AmebaZone.+ Added ZS_AMEBA and ZS_NGRAV class registrator ids.
afa17f0+ added new exported game_object methods for weapons:.set_ammo_type(u8 ammo_type).get_ammo_count_for_type(u8 ammo_type).has_ammo_type(u8 ammo_type).get_weapon_substate().get_main_weapon_type() -- deals with ef_main_weapon_type.set_main_weapon_type(u16 type).get_weapon_type() -- deals with ef_weapon_type.set_weapon_type(u16 type).
9b6a6db+ new game object exports.phantom_set_enemy.is_on_belt.item_on_belt.belt_count.get_actor_max_weight.set_actor_max_weight.get_actor_max_walk_weight.set_actor_max_walk_weight.get_additional_max_weight.set_additional_max_weight.get_additional_max_walk_weight.set_additional_max_walk_weight.get_total_weight.weight.get_actor_jump_speed.set_actor_jump_speed.get_actor_sprint_koef.set_actor_sprint_koef.get_actor_run_coef.set_actor_run_coef.get_actor_runback_coef.set_actor_runback_coef.+ ray_pick class export.* console command snd_cache_size upper limit increased to 64.
eba6916= res/gamedata/configs/misc/items.ltx added the new fields with defaults:.;New fields.use_condition = false.max_uses = 1.remove_after_use = true.empty_weight = 0.1.allow_repair = false.
afc85dfAdded functionality for multiple item usage.You can now have items with multiple uses, with proper display using.progress bars and all of the bells and whistles..
99a2538+ Teleport actor to demo cam when you press Enter while in demo_record.~ activate car PPhysicsShell when it spawns so that it collides with ground properly.+ Added support for a third ammo type static. YOU MUST HAVE <static_third_ammo> in your maingame.xml and maingame_16.xml.+ added:.game_object:get_attached_vehicle() {return game_object}.game_object:add_upgrade(section) {void}.game_object:has_upgrade(section) {return bool}.game_object:iterate_installed_upgrades(lua_function,game_object).game_object:play_hud_motion(anim_section,bMixIn,game_object:get_stat()) {return number} -- animation length.game_object:switch_state(number).game_object:get_state() {return number}.game_object:activate_hud_item().game_object:deactivate_hud_item().game_object:is_actor_indoors() {return bool}.game_object:is_npc_indoors() {return bool}.+ Added 5 custom slots. IMPORTANT YOU MUST set system.ltx [inventory] properly now. There should be 17 slots!.
d0323b3+ Restored method to attach vehicle to actor.+ added many exported car methods by RayTwitty.+ Three new actor callbacks! on_attach_vehicle, on_detach_vehicle and on_use_vehicle.
f14fec6Convert LuaLog() and ErrorLog() to pcstr instead of LPCSTR.Add "LUA: " in lua output, so that I can somehow navigate in the log.mess.
7b30bdd+ Added support for rpm_mode_2 and cycle_down variables for weapon configs; used to emulate Abakan/AN-94's 1800 rpm two-shot burst and the cycle down to 600 RPM..
5ae2a72+ added the ability to define phantom_section in configs for psy_dog to allow the possibility to spawn sections other than phantom_psy_dog.
8f694c7+ added weapon_addon_attach and weapon_addon_detach exports (not working...).* more detailed information on VERIFY in CPlanner::current_action_id() in action_planner_inline.h.
05a48e4+ initial framework for misfire sounds and animations (aka gunslinger).* added ability to check for existence of 3rd person animations.* refactoring.
044d383+Actor shadow added.+SE_NEAR changed from 9 to 20.+zoom_dof enabled.+reload_dof and reload_empty_dof added.
565b39e+ exported is_* (is_stalker, etc.) methods.+ exported additional methods for ini_file class to allow writing.* changed w_vector2 and w vector to w_fvector2 and w_fvector3.
f32213b* Function passed by reference instead of value when registering with LUA.minor change to methods added by @revolucas.
546c456+ added the ability to reload system ini through lua script via the namespace function reload_system_ini().+ added DEBUG Msg for .thm parsing.
c826696+ added alife().jump_to_level.+ added alife().teleport_object.+ added level.get_target_obj.+ added level.get_target_dist.+ added level.send.+ added several condition checks to stalker_combat_actions.cpp to further the validity of the performed action..
9eb0a68+ Added sanity checks to a couple actions that should verify if enemy/danger object actually exists before executing since it's possible these can become NULL between the time the evaluator is ran and the action is executed.+ Added a condition check to see if member is visible_now before transfering enemy through CAI_Stalker::process_enemies to prevent omniscient detection.* Changed ERROR to WARNING when an object is transfered to a new inventory owner when it doesn't have a parent.
da3e330Compile-time refactoring..A few Lock turned into Lock*, to reduce compile time dependencies (many remain)..A bunch of new headers added to split dependencies up..A bunch of compiler warnings removed by commenting out unused function/method formal argument/parameters..xrCore/_stl_extensions.h almost taken out of the equation..
c31426eAdded a bunch of nothrow declaration in an attempt to reduce the large number of exception handlers generated..
56d8280Added earlier VERIFY checks for texture names to [sic] "uber_deffer"..
09d46a3Our own mk_pair already removed.Also added comment to tamlin's todo.
581908bAdd safety checks to CPHItemList (+ minor reformatting).
5f5e4f7Add submodules for 3dsmax, lightwave, maya and nvapi..
9ea54f9CSE_AlifeOnlineOfflineGroup: switch_online/switch_offline. Verify members are offline before adding online and visa versa. If a specific member is already online (from scripting needs) and add_online is called it will cause crash with duplicate ID error since it net_spawns twice..
8d52ad8Revert "Add script-specific CUIDialogWndEx::AddCallback overload.".No need for this overload since lua function can be implicitly converted to.luabind::functor..This reverts commit 596e2b98c4502c74f612dd71cca8ea420c11559e..
7cc7602xrGame: rename collision with linux define function name.
024fb27Revert "xrCore: now Event and Lock common for all platform" due possible performance issues.This reverts commit 7eafbf45548175348f82ee116e825f75b95553e2..
b1799b8Use xrCore's locks instead of std::mutex.I suggest that in the future Lock should become a wrapper of std::mutex.and the current Lock should be renamed to RecursiveLock..
26bc17fPlatformLinux: refactor of str*_s functions.
c220f76Disable some debugging code..because linking issue due to CPS_Instance belongs to xrEngine and is not available to xrCDB due to source code organization.
484bc0axrGame: refactor get process ID on different platforms.
83a67afChange subscriptions logic for CAI_Space.It's better to create callbacks in the same place where deletion happens. So, let's make template functions to automatically create callbacks and subscribe it..
7da1ad0luabind: now can build with -fvisibility=hidden.
1980ecbReplace std::unique_ptr with xr_unique_ptr.
bb5e0ebCreate events system for script engine restarting.
eec4a57Improve resource management in CAI_Space.Raw pointers are changed to unique_ptr's, init() method becomes private, instance of the class becomes static, prohibited copy construction and assignment..
1b16b47Changed USE_DX10, USE_DX11, USE_OGL checks to ifndef USE_DX9.
7bea5f7Refactor renderer loading mechanism.Cleanup for GEnv..In future, this will allow us to load renderer libs without hardcoded.names just through iterating files with name starting from xrRender_.Layers/xrRender/HW.cpp: sanity.
0e88131xrRender_R3-R4: Backwards compatibility for old R1-R2 shader scripting system.Untested and probably undone.xrRender/Light_Package.h: use forward declaration instead of include.
523f754Replaced D3DPT_TRIANGLEFAN with D3DPT_TRIANGLELIST in Portal class.
859516bReplaced D3DPT_TRIANGLEFAN with D3DPT_TRIANGLELIST in Portal class.
6357979README: Use OpenXRay's Continuous Integration.
a0e9867xrGame: Don't build PHNetState.cpp twice, just once in xrPhysics.This reverts commit f1852c84bbef0597ac000a2aaa693e78ea18817e. That workaround is no longer necessary..
557aa5fPort Externals/ode and other stuff on Linux.
301e2e4xrGame: implement reading palyer username from /etc/passwd entry.
d33ddeaForce a nullptr check when loading the OpenGL shader folder.
233bb1exrRenderPC_GL: Replace ''->'/' when loading shader includes in non-Windows.
6f881ceReplace sprintf_s with xr_sprintf.Our replacement of sprintf_s in Common/PlatformLinux.inl is faulty and.should be avoided. Check it: sprintf_s(x, "Works? %s", "no") and look at.x's value..
c03aa99LocatorAPI: Register files recursively in Recurse.From the name of the function and the fact that CLocatorAPI::ProcessOne.function is prepared for recursion, I guess CLocatorAPI::Recurse was.supposed to be recursive (except when bNoRecurse is 'true'). On the.other hand, the pattern . excludes most folders..
529684fGame objects testing functions replaced with game object casting (e.g. 'bool is_car' -> 'CCar* cast_Car').
15ff1d7xrRenderDX10: select the best available format for depth-stencil buffer.
0d2c68bxrRenderDX10/dx10SH_RT.cpp: enabled format support check.Renamed bUseAsDepth -> useAsDepth.
3cb7820xrRenderDX10/dx10HW.cpp: correct format support check.
e14ec3dxrRender_R1: support for fast geometry.Only for debugging purpose for now. (requires level reload to apply).New console command r1_force_geomx allows you to force render fast.geometry on all renderers.
2d234acxrRender_RX: replaced BOOL with bool.Replaced IDirect3DIndexBuffer9 and IDirect3DVertexBuffer9 with.ID3DVertexBuffer and ID3DIndexBuffer..
84e1800xrRender_R1: rename L_DB -> Lights.Also changed the type from pointer to an object to be the same as in.other renderers.
b177189xrRender: Clang is more strict with integer narrowing.
f26518dLuabind Strict mode for Mixed and Debug configurations.Now it will behave as usual on Mixed and Debug and will punish you for.your script errors..On Release it will behave like old luabind – it will skip the errors..
b39957dUI Styles: check current style path and default path when searching xml.
c3ced77Extended XML loading process.Now you specify to not to crash when you're trying to load xml.You can also specify two paths to try to load from.Will be used in UI styles system..
d5d013dUse Loki::EmptyType instead of Loki::NullType.
4d9a3c2xrGame: declare enum forward declarations with u32 for standard compliance.Used simple script which appends type to all forward declarations,.finds their definitions and appends type too: https://pastebin.com/MBKEabaB.
5c4770bLuaJIT: update to the latest 2.0.5 version.
2e06299use github.com/LuaJIT/LuaJIT with custom luajit.cmake in Externals.
e06400exrCore: build information (branch, commit hash, CI, CI build ID, builder).You will see at least branch and commit hash, other info will be shown depending on it's availability.
d405c89xrEngine/xr_input.cpp: update input before processing it (it is realtime now).Mouse updates happens much more frequently, so it should be updated after keyboard.This should solve reaction delay problem.xrEngine/Device_initialize.cpp: Init only SDL Video.
bf0a269Support all keyboard keys supported by SDL2.
0a1a0a4Allow window dragging by ALT+WIN combination.Console command center_screen that centers game window on execute.Dropped support for -draw_borders command line key.
569772dReplaced SDL_Scancode back to int.xrGame/key_binding_registrator_script.cpp: reformat.xrGame/xr_level_controller.cpp: reformat.
213c011xrEngine/xr_input.cpp: update input before processing it (it is realtime now).Mouse updates happens much more frequently, so it should be updated after keyboard.This should solve reaction delay problem.xrEngine/Device_initialize.cpp: Init only SDL Video.
c33a1afSupport all keyboard keys supported by SDL2.
0be004eAllow window dragging by ALT+WIN combination.Console command center_screen that centers game window on execute.Dropped support for -draw_borders command line key.
388bd1eReplaced SDL_Scancode back to int.xrGame/key_binding_registrator_script.cpp: reformat.xrGame/xr_level_controller.cpp: reformat.
259e035src/xrPhysics - the case of letters in include strings has been changed.
65b7a4dsrc/xrSound - the case of letters in include strings has been changed.
4fae25fsrc/xrScriptEngine - the case of letters in include strings has been changed.
22b70d2src/xrNetServer - the case of letters in include strings has been changed.
a1dfcaasrc/xrEngine - the case of letters in include strings has been changed.
03c43e4src/xrCDB - the case of letters in include strings has been changed.
4b8bc38src/xrAICore - the case of letters in include strings has been changed.
6bbba0bsrc/Include/xrRender - the case of letters in include strings has been changed.
dcaf8a7The case of letters in include strings has been changed: for Externals/OPCODE.
887a253update list of Windows SDK packages in build instructions.
90864adCorrect sunlight direction & mipmap bias control for DX10..
4a76dedImplemented mipmap bias control for R3-R4..
a0c7726Correct sunlight direction..In all original stalker games it is slightly pointed up for some reason.so light direction wasn't synchronized with actual sun position..
10ae347R1 lighting improvements..- Dynamic objects are now rendered with detail texture (if they have)..- Detail textures are now affected by dynamic lights..
683e54cDisabled precompiled shaders usage..It isn't the shaders cache..In the patch 1.6.0.2 GSC had put some pre-compiled shaders for r1, r3.and r4 in game resources and without this change game will not load.shaders from gamedata. Unfortunately, level load time increased..
16b97d4translate comment. Update linux build instructions.
8fac2dcRename tri-colliderKNoOPC to tri-colliderknoopc.
a2cd2b5Starting with Windows Vista, the system uses the low-fragmentation heap (LFH) as needed to service memory allocation requests. Applications do not need to enable the LFH for their heaps..
4f1bddaxrEProps: port GameTypeForm.Some improvements for NumericVector and ShaderFunction.
6f32df1This is strange, but it looks like the 'threads' are not cleaned in the destructor..
3d2060bReplace shared_str with xr_string for log and fs..
80433faIt's wrong to allocate memory with 'new' and deallocate with 'free'..
7ee472fFrom now on use -weather command line key to run xrWeatherEditor.Device: Changed WNDCLASS from _XRAY_1.5 to _XRAY_1.6.Renamed weather editor related functions.
433ad1cxrEngine/EngineAPI.cpp: replace push_back() with emplace_back().
f2def7cxrEngine/EngineAPI.cpp: prevent possible recursion.
fd56bcaLayers: windowed mode refactor.Show game window right before game start.Check if core is initialized and use Core.Params instead of commandLine.in RunApplication().
6177b7eDelete unused code and small refactoring. Is it possible that someone started to refactor this library, but threw this job without bringing it to completion? I found traces of at least 2 different libraries for working with DDS files..
cb29816Small code and dependency cleaning for xrAI..
36d3497Definitions _USRDLL and XRGAME_EXPORTS are not needed for the xrAICore project. Is it possible that _USRDLL is also not needed for other projects?.
597a34c~ further improved the new non-slot equip mechanic. slot_persistent = false must be set to enable this feature for a slot. Some minor bugs exist when stacking and a bug where you are unable to equip an item unless you unequip the existing item first. (Still work in progress).
9c726bdPart 9 of project files refactoring (utils folder). But xrSE_Factory still broken..
54ccc73Only unsigned values can be passed to the isspace function..
0394afcTo avoid memory corruption through string manipulation..
87b3d00Include Common.hpp in the mp_configs_verifyer and mp_screenshot_info.
4f3d0b1Rename solution configuration: Win32 -> x86.Plus update VS version.
e528d45Temporary workaround some Release compilation issues.
11c7ae1Revert "Replace shared_str operator* by c_str() for renderers".This reverts commit 39b283ba7a0c2b8fcb8ce3d803a37ddd380257be..
2520d2dRevert "Replace shared_str operator* by c_str() for xrEngine, xrNetServer and xrSound".This reverts commit 9fa48aa4ec880784c713c33792a5675b85c73b58..
bfed79cRevert "Replace shared_str operator* by c_str() for xrAICore and xrScriptEngine".This reverts commit 54d1508a140ea7b2e667226134e0a7e8a6c39b43..
ab8cca2Revert "Replace shared_str operator* by c_str() for xrCore".This reverts commit 7b342eec600ae8896a2946faf9674acfbd747e87..
028188fRevert "Refactor a bit xr_token".This reverts commit 2039fc6c88f80ecb723348965a8d10a863a2365d..
39b283bReplace shared_str operator* by c_str() for renderers.
9fa48aaReplace shared_str operator* by c_str() for xrEngine, xrNetServer and xrSound.
54d1508Replace shared_str operator* by c_str() for xrAICore and xrScriptEngine.
7b342eeReplace shared_str operator* by c_str() for xrCore.
2039fc6Refactor a bit xr_token.Replace typedef by type alias for xr_string.
e05649aInclude xrAPI.h in the common engine header.Cleanup other files.
8fe8c5eEnable exceptions in xrEngine for all configurations.Was disabled for Release_Dedicated configuration.
e13af6eUpdate the projects:.- Oops, update xrD3D9-Null to VS 2017. It was partially not updated.- Create x64 configurations for editors.
faeca71Refactor xrParticles.Reformatting and code cleanup.
b266917xrPhysics/dCylinder.cpp: use CONTACT from dTriColliderCommon.h.
ea1b5a6+ tree amplitude (sway amount) aka LA. For best visuals, set tree_amplitude_intensity, wind_direction, and wind_velocity for each weather config. Can be completely disabled with TREE_WIND_EFFECT define.
a91ff26+ actor_before_death script call back (set in bind_stalker). This will allow scripts to process actor condition and prevent actor's death or kill him if desired. IMPORTANT: if you wish to kill actor you need to call db.actor:kill(level:object_by_id(whoID), true) in actor_before_death callback, to ensure all objects are properly destroyed..+ set_health_ex script method for game_object. This will directly set entity's health instead of going through health property which operates on delta.
f4319cf= Improved the 'stalker don't stare through ceiling/floor' feature. Instead of sight towards path, now stalkers have sight towards direction of enemy but maintain looking straight ahead instead of looking straight up or down when enemy is on a different elevation..
4e6fee9Stalkers will no longer stare at the floor or ceiling when in combat.Updated several combat actions with an "abs(y1-y2) > 3.0f" check for adjusting stalker sight direction to improve the look of indoor combat.
06addea+ print_stack is exported to global namespace.Xottab_DUTY: temporary workaround to get lua log output.
47cba24+ new config defines for custom animations and sounds - NEW_ANIMS, NEW_SOUNDS.+ new weapon classes (WeaponCustomPistolAuto and WeaponRevolver).+ new weapon animations (anm_idle_moving_crouch, anm_reload_empty, anm_reload_empty_w_gl, anm_idle_moving_crouch_g, anm_idle_moving_crouch_w_gl).+ new weapon sounds (snd_reload_empty).
4010599Optimize if checks in CWeapon::OnStateSwitch().
cee6a56Use DEBUG_MEMORY_NAME where it's needed.DEBUG_MEMORY_NAME can be defined when USE_MEMORY_MONITOR or DEBUG is not.
9f22b38Forgot to update LuaJIT path in solution file.This isn't necessary, but whatever....
b466f3cconst-correctness for get_token_name() and get_token_id().
3e1e4e6Make cxImage/ximajpg.cpp compilable in debug build..
a036868Make _stl_extensions.h more stand-alone capable..
51f3eb4xrGamePersistent.cpp: use alias instead of typedef."my_super" renamed to "super".related to previous commit of tamlin-mike:.f5d67ba805483797d43323212e7e551d87199f3d.
f5d67baGet rid of Microsoftism '__super' in CGamePersistent..
6a0d250Give xrMemory_POOL.h pragma once, and make it more standalone..
0c4cdb9Update clang-format config to fit style guidelines.
2754d42= can_trade was erroneously set to the same value as can_take. I'm quite positive this is a mistake since many items, like attachables used for animations are marked can_trade = false but they still show up in trade windows. With this change these items correctly do not show up for trade..
5f019d8This reverts commit 74b862f66a44cd896f913e4d9e2484c44d02b376, reversing.changes made to 7efe143728e86ef9ee72cf0fe5cd5e2e8b37033c..
570f74eFunctor: Make operator() specialization fully specific to functor..
9701519CEntity::KillEntity: Detach Actor from Vehicle or Mounted Weapon upon death to circumvent crash with character_physics_support.
473004escripts/ui_sleep_dialog.script: sleep_st_tbl changed to self.sleep_st_tbl. SetAutoDelete used for main dialog and message box dialog..
f59215cHudSound.cpp: correct ambiguity with set_volume.
7d5bc28LocaterAPI: ignore processing of Thumbs.db, which are hidden files created by Windows which can cause X-Ray to crash on startup..
78cfe2aCStalkerAnimationManager: The infamous 'error in stalker with visual' related issues can be averted by resetting.
1bee8efxrCore/xrDebug_macros: Ported to XR_ASSUME..
817f2a7Common/Compiler: Introduced XR_ASSUME() macro..There is the only one "assume" usage yet, but the macro is useful for.future optimization..
21a7f2exrCore/memory_allocation_stats: MSVC declspec replaced by a macro..
2488da9xrServerEntities/alife_space.h: hit_types_token marked as extern..The variable is defined in the cpp file..
b8b2432xrServerEntities/smart_cast: loki typelist now included only if needed..
eb7dbfcshaders: Always use floating points for texture coordinates..
5ad54e9glBufferUtils: Use the state cache when switching the vertex format..
76b9cfaR_DStreams: Rebind the buffer before unmapping..
59a054eshaders: Normalize position in skinning structs..
f3b036brgl: Turn off shader optimizations in debug mode..
c47d03fgl_rendertarget: Create a dummy shadowmap color target..
20eba73dxEnviromentRender: Use CTexture constants..
1182401CSkeletonX: Also copy the m_Indices on OGL..
4fe8459Externals: Replace glBinding with glew..Unfortunately glBinding is much harder to debug..# Conflicts:.# .gitmodules.# src/Externals/glbinding.vcxproj.# src/Externals/luabind.# src/Externals/luajit.# src/Layers/xrRenderPC_GL/xrRender_GL.vcxproj.
e19d65fCRenderTarget: Implement OpenGL support, including MSAA..Still needs support for MSAA render targets though..
84f3b8axrCore: Do not lowercase params anymore..Params can contain paths, which are case-sensitive in Linux.(and become invalid after lowercasing)..This commit can break application arguments, thus "-EdiTOr" would not.be considered as "-editor" option anymore, but it's OK, because there.is a number of case-sensitive arguments, which is processed via.GetCommandLine() with case-sensitive matching..
fe7bc5fDon't unload render dlls to prevent typeids invalidation..
1c13715xrCore/Threading/Lock: Made inline and reimplemented via std::mutex..
86c8675xrGame: D3DCOLOR_RGBA() replaced by color_rgba()..
79c9582Most of D3DCOLOR_ARGB() calls replaced by color_argb()..Author: Jules Blok [email protected].Author: Alexandr Akulich [email protected].Based on commit 46c36e6 from Armada651/xray repository..
9531878Massive D3DCOLOR_XRGB() -> color_xrgb() change..Author: Jules Blok [email protected].Author: Alexandr Akulich [email protected].Based on commit 46c36e6 from Armada651/xray repository..
135a531Revert "Clip cursor in windowed mode with enabled input capture.".Found side effect related to float rounding, need to provide better solution.or leave it as is..This reverts commit 9cb35b48548603b779f8b51074081c2f076599ed..
bc123e4xrGame/UIZoneMap.cpp: removed excessive static member access through instance.
2af9583Move CEventNotifier class to xrCore and slightly refactoring it.This class can be useful in the other places of the engine. After the refactoring the callback is allowed to unsubscribe himself frm ProcessEvent - it won't cause immediate deleting the callback's instance. Callback will be deleted only after ProcessEvent is completed..
7ea7d33Award system refactoring. Part 2..Dead code removed. Get rid of one Loki using (see #240)..
690ffbfMove UI_PATH back to XMLDocument.hpp.Sorry.....
fcea4a1xrRender_R3-R4: removed code duplication from shaders creation code.
d8819b0Revert "Luabind: Force correct order of loading of CUIScriptWnd dependencies and remove wrapper that doesn't do anything".This reverts commit 331b08470f2f4e0515c0dbbee699cb8a0c5110b7..
5eceeedxr_input_xinput.h|cpp: reformatting.Also I removed one #ifdef COC_KICK.
e51ed07xrGame: remove undefined reference of GameSpy.
94e0a7axrRender/D3DUtils.cpp: replaced D3DPT_TRIANGLEFAN with D3DPT_TRIANGLESTRIP.xrRender/r__sector.cpp: removed unnecessary macro usage, it's better to.directly use xr_vector..
6e9dcd0xrGame: remove DELIMITER from newline operations.
71b5db5xrRender_RX: removed software processor from details manager.It was only used when your GPU doesn't support the vertex shaders.....
f3b5bd6Layers/xrRenderDX10/dx10HW.cpp: HW refactor.Implementation for format support check.Moved device creation code to be earlier.In future we can support more formats..
bc7cca0Ported all DIK_* keys to SDL2 (backwards compatible).xrEngine/xr_input.cpp: moved keyboard update to KeyUpdate().
8b1de04Video modes token processing moved to xrEngine.Refresh rate processing moved to xrEngine.Resolution safety check moved to xrEngine.Untested multiple monitors handling.xr_input.cpp: now cursor will be clipped in the window like before.xr_ioc_cmd.cpp: use GetToken() instead of direct tokens usage.
10af65bPorted all DIK_* keys to SDL2 (backwards compatible).xrEngine/xr_input.cpp: moved keyboard update to KeyUpdate().
dda98b1Video modes token processing moved to xrEngine.Refresh rate processing moved to xrEngine.Resolution safety check moved to xrEngine.Untested multiple monitors handling.xr_input.cpp: now cursor will be clipped in the window like before.xr_ioc_cmd.cpp: use GetToken() instead of direct tokens usage.
df3311bmove src/xrPhysics/dCylinder to src/xrPhysics/dcylinder.
dae188fLoading screen is now in XML, finally!.Removed dxApplicationRender and cleaned up CApplication.Moved rs_loadingstages from xrRender to xrEngine.
86fefe3TREE_WIND_EFFECT is enabled by default.Removed always enabled define...
030ab7cAllow fov and hud_fov on MASTER_GOLD.Removed #if 1, not needed..
664ddcaODE: dInfinity is real infinity on x64 now.Removed previous code.
78afd93Removed glslang.Maybe it will be returned back in future.
e061f14RGL: Use precompiled glew.Removed glew submodule.
8855679R3/R4: create geometry shader using ShaderTypeTraits.This removes code dublication.New command line key -lack_of_shaders.If it is enabled, engine won't crash when some shaders are missing.
614c467Allowed to launch the game without Nvidia and AMD graphic adapter (there's Intel, you know).Removed constant double GPU rendering.GetATIGpuNum() will return 0 if initialization failed.
58d586bxrCore: remove dublicate lzo_compressor, hide under define borland file dialog.
d38614bxrEngine.vcxproj: move main.h to General folder.
52117f3remove unnecessary build targets in appveyor.
b7aff60xrGame/ai/monsters/monster_enemy_memory.cpp: monsters now calculating distance to enemy that created sound they hear.Calculating distance to actor is wrong.Also, I moved actor presence check to be earlier, so we don't do.unneeded calculations.
70f130cxrEngine/xrSheduler.h|cpp: Cleanup.I used std::move and emplace_back() to be conformant with the modern C++.
21a9e92Move render stats to render thread.Refactor ECO_RENDER.
18e998dxrEngine/xr_ioc_cmd: move InvalidSyntax() impl to cpp.Needed to prevent inclusion of xrSASH, which tries to include.OpenAutomate.h and fails when path to it is not set in the project file.
1ad302dxrCore: move ScopeLock impl to .cpp.xrDebug: autoformat via resharper.
685bd0aUpdated LuaJIT and luabind.Moved luabind project files into Externals folder.Refactored a bit build system and cleaned up LuaJIT project files.
08a3d68Remove workaround for IID_ID3D11ShaderReflection..
2d37233Move dedicated server out *_DEDICATED configuration.Now you can run dedicated server with -dedicated command line key.Enabled xrD3D9-Null build on x64 platform.
d4c02afMove sound manager to xrAPI.Renamed CSound_manager_interface -> ISoundManager and moved it into GEnv.
838eb61xrCore/_stl_extensions.h: removed unused code.Also removed include guard.
4c332f6xrCommon: alias templates instead of class inherited from std::class.Remove xalloc.h from common project (it is in xrCore project).
3ffff30Remove some unneeded files in xrAICore and dependencies in xrEngine and xrPhysics..
e86e49eRefactor allocators.New XRay::xray_allocator and XRay::xray_allocator_wrapper aliases.Not deleted Doug Lea allocator but disabled it since it's unused.Remove throw() specifiers from new/delete operators.
a3f30e7Part 5 of the experiment to remove doug_lea_allocator..
7fa1862Part 4 of the experiment to remove doug_lea_allocator..
7ceaaf0Part 2 of the experiment to remove doug_lea_allocator..
a9eb04fPart 1 of the experiment to remove doug_lea_allocator..
156b48bAllocators cleanup.Move xalloc.h to xrCore/Memory folder.Remove unused doug_lea_memory_allocator.* from xrRender and xrServerEntities.Remove unused ptmalloc3 allocator.Move dlmalloc to xrCore/Memory folder.xrCore project file:.- Move Memory manager and Memory monitor folders to Memory folder.
13faa50Remove R2 precompiled shaders.When they exist, engine doesn't create shaders_cache folder and we must manually update precompiled shaders...But anyway, Python script by Armada651 is still available and we can compile them again if we need.
8a423ed+ exports for game_objects: set_weight, use, start_trade, start_upgrade.- remove distance check when opening inventory boxes.
5f1d47e~ moved some consumables code out of eatable_item.cpp UseBy into inventory.cpp Eat().
713a513Script callbacks (examples in bind_stalker.script).+ key_press.+ key_release (disabled in Common/Config.hpp).+ key_hold (disabled in Common/Config.hpp).+ mouse_move (disabled in Common/Config.hpp).+ move_wheel.+ item_to_ruck.+ item_to_belt.+ item_to_slot.Misc:.+ first person death (disabled in Common/Config.hpp).
b9da0e9Returned type changed from LPCSTR to void since these lua-functions does not return any value. + it now crash since i removed dangerous [nil to char*] conversion in luabind..
3724022CBulletManager::test_callback: move object verification to much earlier in method.