User:Max34/SourceRenewed: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 670: Line 670:


== Deleted entities ==
== Deleted entities ==
* [[env_beverage]]
* [[filter_base]]
* [[filter_multi]]
* [[game_end]]
* [[game_player_equip]]
* [[game_player_team]]
* [[item_sodacan]]
* [[logic_active_autosave]]
* [[logic_active_autosave]]
* [[trigger_once]]
* [[logic_lineto]]
* [[multisource]]
* [[logic_multicompare]]
* [[logic_multicompare]]
* [[env_beverage]]
* [[item_sodacan]]
* [[math_colorblend]]
* [[math_colorblend]]
* [[filter_base]]
* [[multisource]]
* [[filter_multi]]
* [[point_clientcommand]]
* [[point_clientcommand]]
* [[point_servercommand]]
* [[point_servercommand]]
* [[logic_lineto]]
* [[trigger_once]]
* [[game_end]]


== Other ==
== Other ==
Line 688: Line 690:
* Added more support for converting from one value format to another.
* Added more support for converting from one value format to another.
* New Hammer (in development).
* New Hammer (in development).
* Trying to make engine code more readable.
** Replaced all<br>{{Code|strcmp}}, {{Code|stricmp}}, {{Code|_stricmp}}, {{Code|Q_strcmp}}, {{Code|V_strcmp}}, {{Code|Q_stricmp}}, {{Code|V_stricmp}}, {{Code|FStrEq}}, {{Code|V_strlen}}, {{Code|Q_strlen}} {{Code|V_strlen}}, {{Code|Q_strcasecmp}}, {{Code|Q_strncasecmp}}, {{Code|V_strncasecmp}}, {{Code|V_strcasecmp}}<br>with more understandable and optimal<br>{{Code|StringEmpty}}, {{Code|StringsEqual}}, {{Code|StringsEqualCaseless}}, {{Code|StringsPartsEqual}}, {{Code|StringsCompare}}, {{Code|StringsCompareCaseless}} and {{Code|StringLength}}.
<!-- * Fixed {{Code|showinfo}} command. -->
<!-- * Fixed {{Code|showinfo}} command. -->

Revision as of 00:04, 19 June 2023

SR SourceRenewed (working title) is a project based on the Source 2013 Singleplayer Source 2013 Singleplayer. Adds some new and useful things to the engine and improves the existing ones. However, unlike Mapbase Mapbase, this project is not meant to be fully backward compatible with any Source branch. Made by Max_34.

Changes in the common class of all entities

Env Entities

env_sound

Old name: ambient_generic

Note.pngNote:Perhaps in the future it will be renamed to point_sound. Or not.
Todo: More documentation.


env_spark

Todo: More documentation.


Filter Entities

Cpp.pngCode Fix:Fixed a crash when the filters tries to check an already deleted entity. If the entity does not exist when checking, the comparison will be made with an empty value.

filter_class

Old name: filter_activator_class

filter_group

Old name: filter_activator_team

filter_name

Old name: filter_activator_name


Logic Entities

logic_auto

  • Not edict anymore.
Todo: More documentation.


logic_autosave

Todo: More documentation.


logic_branch


logic_branch_manager

Old name: logic_branch_listener.

Cpp.pngCode Fix:Fixed a bug that caused the deleted logic_branch to be treated as false instead of removing it from the list.
Todo: More documentation.


logic_case

Todo: More documentation.


logic_compare


logic_console

New entity.

Todo: More documentation.


logic_relay


logic_string

New entity.

Todo: More documentation.


logic_timer

Todo: More documentation.


Math Entities

math_calculator

New entity.


math_color

New entity. Also combines the capabilities of math_colorblend.

Color constructor. Allows you to make color32 from separate integers. This color32 can be used as a whole or separately.

Todo: More documentation.


math_counter

Note.pngNote:The entity now uses a new optimization system. Since this system is not fully implemented, the entity is partially broken, for now.
Todo: More documentation.


math_remap

Todo: More documentation.

Deleted entities

Other

  • Minor optimization to reduce entdata usage.
  • Added more support for converting from one value format to another.
  • New Hammer (in development).
  • Trying to make engine code more readable.
    • Replaced all
      strcmp, stricmp, _stricmp, Q_strcmp, V_strcmp, Q_stricmp, V_stricmp, FStrEq, V_strlen, Q_strlen V_strlen, Q_strcasecmp, Q_strncasecmp, V_strncasecmp, V_strcasecmp
      with more understandable and optimal
      StringEmpty, StringsEqual, StringsEqualCaseless, StringsPartsEqual, StringsCompare, StringsCompareCaseless and StringLength.