Browse Source

Refactor modules, closes #223

* All modules are sandboxed now
* All images,sounds,fonts,translations and styles were moved to "data" folder
* Reorganize image files folders
* Remove unmaintained modules: client_particles, client_shaders
* Implement new automatic way to load styles and fonts
* Add hide/show offline option in VipList
* Add invite/exclude to/from private channel in players menus
* Many other minor changes
Eduardo Bart 8 years ago
parent
commit
28b5fc1d5a
100 changed files with 12 additions and 4 deletions
  1. 1
    0
      .gitignore
  2. 6
    0
      data/fonts/sans-bold-16px.otfont
  3. BIN
      data/fonts/sans-bold-16px_cp1252.png
  4. 1
    1
      data/fonts/terminus-14px-bold.otfont
  5. 0
    0
      data/fonts/terminus-14px-bold.png
  6. 2
    1
      data/fonts/verdana-11px-antialised.otfont
  7. 0
    0
      data/fonts/verdana-11px-antialised_cp1250.png
  8. 0
    0
      data/fonts/verdana-11px-antialised_cp1252.png
  9. 1
    1
      data/fonts/verdana-11px-monochrome.otfont
  10. 0
    0
      data/fonts/verdana-11px-monochrome_cp1250.png
  11. 0
    0
      data/fonts/verdana-11px-monochrome_cp1252.png
  12. 1
    1
      data/fonts/verdana-11px-rounded.otfont
  13. 0
    0
      data/fonts/verdana-11px-rounded_cp1250.png
  14. 0
    0
      data/fonts/verdana-11px-rounded_cp1252.png
  15. 0
    0
      data/images/background.png
  16. 0
    0
      data/images/clienticon.png
  17. 0
    0
      data/images/cursors/horizontal.png
  18. 0
    0
      data/images/cursors/targetcursor.png
  19. 0
    0
      data/images/cursors/text.png
  20. 0
    0
      data/images/cursors/vertical.png
  21. BIN
      data/images/flags/en.png
  22. BIN
      data/images/flags/es.png
  23. BIN
      data/images/flags/pt.png
  24. 0
    0
      data/images/game/battle/battle_monsters.png
  25. 0
    0
      data/images/game/battle/battle_npcs.png
  26. 0
    0
      data/images/game/battle/battle_party.png
  27. 0
    0
      data/images/game/battle/battle_players.png
  28. 0
    0
      data/images/game/battle/battle_skulls.png
  29. 0
    0
      data/images/game/combatmodes/chasemode.png
  30. 0
    0
      data/images/game/combatmodes/fightbalanced.png
  31. 0
    0
      data/images/game/combatmodes/fightdefensive.png
  32. 0
    0
      data/images/game/combatmodes/fightoffensive.png
  33. 0
    0
      data/images/game/combatmodes/safefight.png
  34. 0
    0
      data/images/game/console/channels.png
  35. 0
    0
      data/images/game/console/clearchannel.png
  36. 0
    0
      data/images/game/console/closechannel.png
  37. 0
    0
      data/images/game/console/ignore.png
  38. 0
    0
      data/images/game/console/leftarrow.png
  39. 0
    0
      data/images/game/console/rightarrow.png
  40. 0
    0
      data/images/game/console/say.png
  41. 0
    0
      data/images/game/console/whisper.png
  42. 0
    0
      data/images/game/console/yell.png
  43. 0
    0
      data/images/game/emblems/emblem_blue.png
  44. 0
    0
      data/images/game/emblems/emblem_green.png
  45. 0
    0
      data/images/game/emblems/emblem_red.png
  46. 0
    0
      data/images/game/minimap/flagcheckbox.png
  47. 0
    0
      data/images/game/minimap/floor_down.png
  48. 0
    0
      data/images/game/minimap/floor_up.png
  49. 0
    0
      data/images/game/minimap/mapflags.png
  50. 0
    0
      data/images/game/minimap/zoom_in.png
  51. 0
    0
      data/images/game/minimap/zoom_out.png
  52. 0
    0
      data/images/game/shields/shield_blue.png
  53. 0
    0
      data/images/game/shields/shield_blue_not_shared.png
  54. 0
    0
      data/images/game/shields/shield_blue_shared.png
  55. 0
    0
      data/images/game/shields/shield_blue_white.png
  56. 0
    0
      data/images/game/shields/shield_yellow.png
  57. 0
    0
      data/images/game/shields/shield_yellow_not_shared.png
  58. 0
    0
      data/images/game/shields/shield_yellow_shared.png
  59. 0
    0
      data/images/game/shields/shield_yellow_white.png
  60. 0
    0
      data/images/game/skulls/skull_black.png
  61. 0
    0
      data/images/game/skulls/skull_green.png
  62. 0
    0
      data/images/game/skulls/skull_orange.png
  63. 0
    0
      data/images/game/skulls/skull_red.png
  64. 0
    0
      data/images/game/skulls/skull_white.png
  65. 0
    0
      data/images/game/skulls/skull_yellow.png
  66. 0
    0
      data/images/game/slots/ammo.png
  67. 0
    0
      data/images/game/slots/back.png
  68. 0
    0
      data/images/game/slots/body.png
  69. 0
    0
      data/images/game/slots/feet.png
  70. 0
    0
      data/images/game/slots/finger.png
  71. 0
    0
      data/images/game/slots/head.png
  72. 0
    0
      data/images/game/slots/left-hand.png
  73. 0
    0
      data/images/game/slots/legs.png
  74. 0
    0
      data/images/game/slots/neck.png
  75. 0
    0
      data/images/game/slots/right-hand.png
  76. 0
    0
      data/images/game/spells/cooldowns.png
  77. 0
    0
      data/images/game/spells/defaultspells.png
  78. 0
    0
      data/images/game/states/bleeding.png
  79. 0
    0
      data/images/game/states/burning.png
  80. 0
    0
      data/images/game/states/cursed.png
  81. 0
    0
      data/images/game/states/dazzled.png
  82. 0
    0
      data/images/game/states/drowning.png
  83. 0
    0
      data/images/game/states/drunk.png
  84. 0
    0
      data/images/game/states/electrified.png
  85. 0
    0
      data/images/game/states/freezing.png
  86. 0
    0
      data/images/game/states/haste.png
  87. 0
    0
      data/images/game/states/hungry.png
  88. 0
    0
      data/images/game/states/logout_block.png
  89. 0
    0
      data/images/game/states/magic_shield.png
  90. 0
    0
      data/images/game/states/poisoned.png
  91. 0
    0
      data/images/game/states/protection_zone.png
  92. 0
    0
      data/images/game/states/protection_zone_block.png
  93. 0
    0
      data/images/game/states/slowed.png
  94. 0
    0
      data/images/game/states/strengthened.png
  95. BIN
      data/images/optionstab/audio.png
  96. BIN
      data/images/optionstab/console.png
  97. BIN
      data/images/optionstab/game.png
  98. BIN
      data/images/optionstab/graphics.png
  99. BIN
      data/images/topbuttons/audio.png
  100. 0
    0
      data/images/topbuttons/audio_mute.png

+ 1
- 0
.gitignore View File

@@ -36,3 +36,4 @@ otclient.map
36 36
 otclient.layout
37 37
 LOCALTODO
38 38
 tags
39
+Thumbs.db

+ 6
- 0
data/fonts/sans-bold-16px.otfont View File

@@ -0,0 +1,6 @@
1
+Font
2
+  name: sans-bold-16px
3
+  texture: sans-bold-16px_cp1252
4
+  height: 20
5
+  glyph-size: 24 24
6
+  space-width: 3

BIN
data/fonts/sans-bold-16px_cp1252.png View File


modules/client_skins/skins/default/fonts/terminus-14px-bold.otfont → data/fonts/terminus-14px-bold.otfont View File

@@ -1,6 +1,6 @@
1 1
 Font
2 2
   name: terminus-14px-bold
3
-  texture: terminus-14px-bold.png
3
+  texture: terminus-14px-bold
4 4
   height: 16
5 5
   y-offset: 2
6 6
   glyph-size: 16 16

modules/client_skins/skins/default/fonts/terminus-14px-bold.png → data/fonts/terminus-14px-bold.png View File


modules/client_skins/skins/default/fonts/verdana-11px-antialised.otfont → data/fonts/verdana-11px-antialised.otfont View File

@@ -1,6 +1,7 @@
1 1
 Font
2 2
   name: verdana-11px-antialised
3
-  texture: verdana-11px-antialised_cp1252.png
3
+  texture: verdana-11px-antialised_cp1252
4 4
   height: 14
5 5
   glyph-size: 16 16
6 6
   space-width: 4
7
+  default: true

modules/client_skins/skins/default/fonts/verdana-11px-antialised_cp1250.png → data/fonts/verdana-11px-antialised_cp1250.png View File


modules/client_skins/skins/default/fonts/verdana-11px-antialised_cp1252.png → data/fonts/verdana-11px-antialised_cp1252.png View File


modules/client_skins/skins/default/fonts/verdana-11px-monochrome.otfont → data/fonts/verdana-11px-monochrome.otfont View File

@@ -1,6 +1,6 @@
1 1
 Font
2 2
   name: verdana-11px-monochrome
3
-  texture: verdana-11px-monochrome_cp1252.png
3
+  texture: verdana-11px-monochrome_cp1252
4 4
   height: 14
5 5
   glyph-size: 16 16
6 6
   space-width: 3

modules/client_skins/skins/default/fonts/verdana-11px-monochrome_cp1250.png → data/fonts/verdana-11px-monochrome_cp1250.png View File


modules/client_skins/skins/default/fonts/verdana-11px-monochrome_cp1252.png → data/fonts/verdana-11px-monochrome_cp1252.png View File


modules/client_skins/skins/default/fonts/verdana-11px-rounded.otfont → data/fonts/verdana-11px-rounded.otfont View File

@@ -1,6 +1,6 @@
1 1
 Font
2 2
   name: verdana-11px-rounded
3
-  texture: verdana-11px-rounded_cp1252.png
3
+  texture: verdana-11px-rounded_cp1252
4 4
   height: 16
5 5
   glyph-size: 16 16
6 6
   y-offset: -2

modules/client_skins/skins/default/fonts/verdana-11px-rounded_cp1250.png → data/fonts/verdana-11px-rounded_cp1250.png View File


modules/client_skins/skins/default/fonts/verdana-11px-rounded_cp1252.png → data/fonts/verdana-11px-rounded_cp1252.png View File


modules/client_background/background.png → data/images/background.png View File


modules/client/clienticon.png → data/images/clienticon.png View File


modules/client_skins/skins/default/cursors/horizontal.png → data/images/cursors/horizontal.png View File


modules/client_skins/skins/default/cursors/targetcursor.png → data/images/cursors/targetcursor.png View File


modules/client_skins/skins/default/cursors/text.png → data/images/cursors/text.png View File


modules/client_skins/skins/default/cursors/vertical.png → data/images/cursors/vertical.png View File


BIN
data/images/flags/en.png View File


BIN
data/images/flags/es.png View File


BIN
data/images/flags/pt.png View File


modules/game_battle/images/battle_monsters.png → data/images/game/battle/battle_monsters.png View File


modules/game_battle/images/battle_npcs.png → data/images/game/battle/battle_npcs.png View File


modules/game_battle/images/battle_party.png → data/images/game/battle/battle_party.png View File


modules/game_battle/images/battle_players.png → data/images/game/battle/battle_players.png View File


modules/game_battle/images/battle_skulls.png → data/images/game/battle/battle_skulls.png View File


modules/game_combatcontrols/icons/chasemode.png → data/images/game/combatmodes/chasemode.png View File


modules/game_combatcontrols/icons/fightbalanced.png → data/images/game/combatmodes/fightbalanced.png View File


modules/game_combatcontrols/icons/fightdefensive.png → data/images/game/combatmodes/fightdefensive.png View File


modules/game_combatcontrols/icons/fightoffensive.png → data/images/game/combatmodes/fightoffensive.png View File


modules/game_combatcontrols/icons/safefight.png → data/images/game/combatmodes/safefight.png View File


modules/game_console/icons/channels.png → data/images/game/console/channels.png View File


modules/game_console/icons/clearchannel.png → data/images/game/console/clearchannel.png View File


modules/game_console/icons/closechannel.png → data/images/game/console/closechannel.png View File


modules/game_console/icons/ignore.png → data/images/game/console/ignore.png View File


modules/game_console/icons/leftarrow.png → data/images/game/console/leftarrow.png View File


modules/game_console/icons/rightarrow.png → data/images/game/console/rightarrow.png View File


modules/game_console/icons/say.png → data/images/game/console/say.png View File


modules/game_console/icons/whisper.png → data/images/game/console/whisper.png View File


modules/game_console/icons/yell.png → data/images/game/console/yell.png View File


modules/gamelib/icons/emblem_blue.png → data/images/game/emblems/emblem_blue.png View File


modules/gamelib/icons/emblem_green.png → data/images/game/emblems/emblem_green.png View File


modules/gamelib/icons/emblem_red.png → data/images/game/emblems/emblem_red.png View File


modules/game_minimap/images/flagcheckbox.png → data/images/game/minimap/flagcheckbox.png View File


modules/game_minimap/images/floor_down.png → data/images/game/minimap/floor_down.png View File


modules/game_minimap/images/floor_up.png → data/images/game/minimap/floor_up.png View File


modules/game_minimap/images/mapflags.png → data/images/game/minimap/mapflags.png View File


modules/game_minimap/images/zoom_in.png → data/images/game/minimap/zoom_in.png View File


modules/game_minimap/images/zoom_out.png → data/images/game/minimap/zoom_out.png View File


modules/gamelib/icons/shield_blue.png → data/images/game/shields/shield_blue.png View File


modules/gamelib/icons/shield_blue_not_shared.png → data/images/game/shields/shield_blue_not_shared.png View File


modules/gamelib/icons/shield_blue_shared.png → data/images/game/shields/shield_blue_shared.png View File


modules/gamelib/icons/shield_blue_white.png → data/images/game/shields/shield_blue_white.png View File


modules/gamelib/icons/shield_yellow.png → data/images/game/shields/shield_yellow.png View File


modules/gamelib/icons/shield_yellow_not_shared.png → data/images/game/shields/shield_yellow_not_shared.png View File


modules/gamelib/icons/shield_yellow_shared.png → data/images/game/shields/shield_yellow_shared.png View File


modules/gamelib/icons/shield_yellow_white.png → data/images/game/shields/shield_yellow_white.png View File


modules/gamelib/icons/skull_black.png → data/images/game/skulls/skull_black.png View File


modules/gamelib/icons/skull_green.png → data/images/game/skulls/skull_green.png View File


modules/gamelib/icons/skull_orange.png → data/images/game/skulls/skull_orange.png View File


modules/gamelib/icons/skull_red.png → data/images/game/skulls/skull_red.png View File


modules/gamelib/icons/skull_white.png → data/images/game/skulls/skull_white.png View File


modules/gamelib/icons/skull_yellow.png → data/images/game/skulls/skull_yellow.png View File


modules/game_inventory/slots/ammo.png → data/images/game/slots/ammo.png View File


modules/game_inventory/slots/back.png → data/images/game/slots/back.png View File


modules/game_inventory/slots/body.png → data/images/game/slots/body.png View File


modules/game_inventory/slots/feet.png → data/images/game/slots/feet.png View File


modules/game_inventory/slots/finger.png → data/images/game/slots/finger.png View File


modules/game_inventory/slots/head.png → data/images/game/slots/head.png View File


modules/game_inventory/slots/left-hand.png → data/images/game/slots/left-hand.png View File


modules/game_inventory/slots/legs.png → data/images/game/slots/legs.png View File


modules/game_inventory/slots/neck.png → data/images/game/slots/neck.png View File


modules/game_inventory/slots/right-hand.png → data/images/game/slots/right-hand.png View File


modules/game_cooldown/icons/cooldownIcons.png → data/images/game/spells/cooldowns.png View File


modules/game_cooldown/icons/icons.png → data/images/game/spells/defaultspells.png View File


modules/game_healthinfo/icons/bleeding.png → data/images/game/states/bleeding.png View File


modules/game_healthinfo/icons/burning.png → data/images/game/states/burning.png View File


modules/game_healthinfo/icons/cursed.png → data/images/game/states/cursed.png View File


modules/game_healthinfo/icons/dazzled.png → data/images/game/states/dazzled.png View File


modules/game_healthinfo/icons/drowning.png → data/images/game/states/drowning.png View File


modules/game_healthinfo/icons/drunk.png → data/images/game/states/drunk.png View File


modules/game_healthinfo/icons/electrified.png → data/images/game/states/electrified.png View File


modules/game_healthinfo/icons/freezing.png → data/images/game/states/freezing.png View File


modules/game_healthinfo/icons/haste.png → data/images/game/states/haste.png View File


modules/game_healthinfo/icons/hungry.png → data/images/game/states/hungry.png View File


modules/game_healthinfo/icons/logout_block.png → data/images/game/states/logout_block.png View File


modules/game_healthinfo/icons/magic_shield.png → data/images/game/states/magic_shield.png View File


modules/game_healthinfo/icons/poisoned.png → data/images/game/states/poisoned.png View File


modules/game_healthinfo/icons/protection_zone.png → data/images/game/states/protection_zone.png View File


modules/game_healthinfo/icons/protection_zone_block.png → data/images/game/states/protection_zone_block.png View File


modules/game_healthinfo/icons/slowed.png → data/images/game/states/slowed.png View File


modules/game_healthinfo/icons/strengthened.png → data/images/game/states/strengthened.png View File


BIN
data/images/optionstab/audio.png View File


BIN
data/images/optionstab/console.png View File


BIN
data/images/optionstab/game.png View File


BIN
data/images/optionstab/graphics.png View File


BIN
data/images/topbuttons/audio.png View File


+ 0
- 0
data/images/topbuttons/audio_mute.png View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save