DEADSOFTWARE

render: move e_texture -> r_texture
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 9 Jun 2021 13:05:09 +0000 (16:05 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Tue, 29 Jun 2021 09:51:11 +0000 (12:51 +0300)
src/game/Doom2DF.lpr
src/game/g_game.pas
src/game/g_holmes.pas
src/game/g_map.pas
src/game/g_menu.pas
src/game/g_monsters.pas
src/game/g_options.pas
src/game/g_panel.pas
src/game/opengl/r_graphics.pas
src/game/opengl/r_texture.pas [moved from src/engine/e_texture.pas with 99% similarity]

index 4a8a26b78fa9ba58c6e91c6b9719e00680393a67..f42c4b57cc24d2def0530e4701e0e1834e33fb20 100644 (file)
@@ -100,7 +100,6 @@ uses
   e_input in '../engine/e_input.pas',
   e_log in '../engine/e_log.pas',
   e_sound in '../engine/e_sound.pas',
-  e_texture in '../engine/e_texture.pas',
   e_msg in '../engine/e_msg.pas',
   e_res in '../engine/e_res.pas',
   utils in '../shared/utils.pas',
@@ -162,6 +161,7 @@ uses
   r_panel in 'opengl/r_panel.pas',
   r_player in 'opengl/r_player.pas',
   r_playermodel in 'opengl/r_playermodel.pas',
+  r_texture in 'opengl/r_texture.pas',
   r_weapons in 'opengl/r_weapons.pas',
   r_window in 'opengl/r_window.pas',
 
index 058726b985185b32c201368d88c38e5013bdcb01..6fc6035b7944ad839a09033261edef58ba675c59 100644 (file)
@@ -436,7 +436,7 @@ uses
 {$IFDEF ENABLE_HOLMES}
   g_holmes,
 {$ENDIF}
-  e_texture, e_res, g_textures, g_window, g_menu,
+  e_res, g_textures, g_window, g_menu,
   e_input, e_log, g_console, r_console, g_items, g_map, g_panel,
   g_playermodel, g_gfx, g_options, Math,
   g_triggers, g_monsters, e_sound, CONFIG,
index 7b1463be9619c519e59d1dbb4c93e4ecec6cac65..b31ead3b2da0b03712af63801a5f2ba2da972dbb 100644 (file)
@@ -48,7 +48,7 @@ implementation
 
 uses
   {$INCLUDE ../nogl/noGLuses.inc}
-  {rttiobj,} typinfo, e_texture, e_res,
+  {rttiobj,} typinfo, e_res,
   SysUtils, Classes, SDL2,
   MAPDEF, g_main, g_options,
   utils, hashtable, xparser;
index 5044657c85e159103a97441257852579b97c840b..7ec904be0437189e8670f3079ed3a3ff8481c4e5 100644 (file)
@@ -246,7 +246,7 @@ var
 implementation
 
 uses
-  e_input, g_main, e_log, e_texture, e_res, g_items, g_gfx, g_console,
+  e_input, g_main, e_log, e_res, g_items, g_gfx, g_console,
   g_weapons, g_game, g_sound, e_sound, CONFIG,
   g_options, g_triggers, g_player,
   Math, g_monsters, g_saveload, g_language, g_netmsg,
index 4ae82a20b1e19aceb1220905de7a8e292b8a933c..61da4c4b89857cad02e905c8c9b78429db4b4f77 100644 (file)
@@ -47,7 +47,7 @@ uses
   g_base, g_basic, g_console, g_sound, g_gfx, g_player, g_options, g_weapons,
   e_log, SysUtils, CONFIG, g_playermodel, DateUtils,
   MAPDEF, Math, g_saveload,
-  e_texture, g_language, e_res,
+  g_language, e_res,
   g_net, g_netmsg, g_netmaster, g_items, e_input, g_touch,
   utils, wadreader, g_system, r_game;
 
index 36780ec4308c7f41d725717e48e6f7e04078b1cc..434730b492cccf9c686c0d5c546dd5fa57fa40a3 100644 (file)
@@ -488,7 +488,7 @@ var
 implementation
 
 uses
-  e_log, e_texture, g_main, g_sound, g_gfx, g_player, g_game,
+  e_log, g_main, g_sound, g_gfx, g_player, g_game,
   g_weapons, g_triggers, g_items, g_options,
   g_console, g_map, Math, g_menu, wadreader,
   g_language, g_netmsg, idpool, utils, xstreams;
index b09e750ab197fa68f9aa7c316638e2dc255ed643..487dbd22b9c286bc2ebaea676535b69d6fa2d8d8 100644 (file)
@@ -93,7 +93,7 @@ uses
     SDL2,
   {$ENDIF}
   e_log, e_input, g_console, g_window, g_sound, g_gfx, g_player, Math,
-  g_map, g_net, g_netmaster, SysUtils, CONFIG, g_game, g_main, e_texture,
+  g_map, g_net, g_netmaster, SysUtils, CONFIG, g_game, g_main,
   g_items, wadreader, g_touch, envvars, g_system;
 
   var
index 854a15c512c5d4b089440b34a8d54bef1cb14684..aa68298361c09555e490a5b73c0beb3fcc7a8d0d 100644 (file)
@@ -222,7 +222,7 @@ var
 implementation
 
 uses
-  e_texture, g_basic, g_map, g_game, g_gfx, g_weapons, g_triggers,
+  g_basic, g_map, g_game, g_gfx, g_weapons, g_triggers,
   g_console, g_language, g_monsters, g_player, g_grid, e_log, geom, utils, xstreams;
 
 const
index cb568b418977456013691eff26848e0c7fa01265..d82ad0e513860308eb24bcca3af525f13fd18fd7 100644 (file)
@@ -22,7 +22,7 @@ uses
   {$IFDEF USE_SDL2}
     SDL2,
   {$ENDIF}
-  SysUtils, Classes, Math, e_log, e_texture, g_base,
+  SysUtils, Classes, Math, e_log, r_texture, g_base,
   MAPDEF, ImagingTypes, Imaging, ImagingUtility;
 
 type
similarity index 99%
rename from src/engine/e_texture.pas
rename to src/game/opengl/r_texture.pas
index 58ae4cdb44369d4bc7a7af4f7c14501aa7e1d977..7a311a3eea80c6b2b6b66a71e02dc50e42d697fa 100644 (file)
@@ -12,8 +12,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *)
-{$INCLUDE ../shared/a_modes.inc}
-unit e_texture;
+{$INCLUDE ../../shared/a_modes.inc}
+unit r_texture;
 
 { This unit provides interface to load 24-bit and 32-bit uncompressed images
   from Truevision Targa (TGA) graphic files, and create OpenGL textures