1
0
forked from mirrors/0ad
Commit Graph

22729 Commits

Author SHA1 Message Date
vladislavbelov 36833d1df2 Moves max texture size to backend device capabilities.
This was SVN commit r26409.
2022-02-18 23:17:48 +00:00
vladislavbelov 5eb21cbfbf Adds debug labels to backend framebuffers.
This was SVN commit r26408.
2022-02-18 23:00:11 +00:00
vladislavbelov b949f19875 Moves GL debug information toggle to run-time to make it easier to test after release.
This was SVN commit r26407.
2022-02-18 22:38:45 +00:00
vladislavbelov cff79b421a Moves GL vertex and index buffer management to CDeviceCommandContext.
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4493
This was SVN commit r26406.
2022-02-18 17:33:12 +00:00
Freagarach 6a2a297c0e Clean LoadPlayerSettings in Player-helper.
- Removed obsolete C++-side `addPlayer`, introduced in 4fed9b8242, moved
out of Atlas in 1c0536bf08, unused after 9ee44bd9b8.
- Get the player settings from a local function (avoids passing
arguments).
- Removed setting the standard diplomacy (done in cmpPlayerManager since
132020f88e).
- Create entity when adding a player instead of creating it and
instructing the playermanager to add it.
- Changed/Removed some comments.

Differential revision: https://code.wildfiregames.com/D4482
Comments by: @Stan
This was SVN commit r26404.
2022-02-18 08:10:13 +00:00
Stan 6496aea364 Update unitTables.py for A25 and trunk
- Add support for mul_round
- Correct table
- BUGFIX: correct roster table via the mixin Civ fix
- avoid long lines for PEP8 compliance
- for mod development outside .svn repo, create symlink
- replace all TAB indents to 4 spaces for PEP8
- TAB to 4 spaces to be PEP8 compliant
- refactor complex inline logic to compute and formatting
- beautify and avoid long lines to be PEP8 compliant
- beautify and simplify JS table format code
- Using more accessible color scheme
- Better color scheme
- main analysis file
- Rename the new version back to keep consistancy
- dependency JS library
- Unit analysis result
- Rewrite specilized table logic to only show changed
- Prefer numeric flag over string flag to refactor
- Re-format HTML templates into readable source code
- Civ specific table now renders non-empty
- Update computeCivTemplate to parse A25 template dir
- Cleanup debugging flags
- Update copyright notice to 2022
- Explain how the code works for future development
- Initial README
- Refactor: put HTML IO code in a single function
- Refactor: include JavaScript as verbatim str
- Refactor: separate computation from IO
- Refactor: compute templates before HTML IO
- Refactor: compute CivTemplates before HTML IO
- Refactor: compute separate from IO code
- Fixed melee and ranged attack damage parsing
- Fixed Resistance parsing
- Implement the undefined function complain
- Rename Armour -> Resistance
- Simplify NumericStatProcess logic

Patch by: @hyiltiz
Differential Revision: https://code.wildfiregames.com/D4445
This was SVN commit r26403.
2022-02-17 22:41:53 +00:00
Stan 0c65e88cd5 New shuttle blocks by wowgetoffyourcellphone
This was SVN commit r26402.
2022-02-17 22:20:21 +00:00
Stan 05947ec96c Delete now unused helmet variants.
This was SVN commit r26401.
2022-02-17 22:18:12 +00:00
Stan 7492e71fc3 Fix some unused extra material textures in units reported in validator.py.
This was SVN commit r26400.
2022-02-17 21:55:31 +00:00
Stan 8d786d0bcb Fix some unused extra materials in trees and geology reported in validator.py.
This was SVN commit r26399.
2022-02-17 18:41:55 +00:00
Stan fbd536b855 Fix some unused extra materials in trees reported in validator.py.
This was SVN commit r26398.
2022-02-17 18:35:01 +00:00
Stan e30def27fd New Macedonian wonder. Based on a model by @m7600.
Thread:
https://wildfiregames.com/forum/topic/20820-macedonian-wonder/page/7/

This was SVN commit r26397.
2022-02-17 18:21:08 +00:00
wowgetoffyourcellphone cea9f9be8d Art Cleanup and Fixes found by Jenkins.
This was SVN commit r26396.
2022-02-17 07:27:58 +00:00
wowgetoffyourcellphone edb10156d5 - Kushite skeletal textures moved to their own subfolder.
- Actor texture refs updated to reflect the move. Actor aesthetics
improved.

This was SVN commit r26395.
2022-02-16 09:23:34 +00:00
bb 071fddd598 Remove useless persistMatchSettings and handle some which weren't handled
Fixing issues in dc18d94030

Everyone make sure to delete savegames, saved campaigns an most
importantly your matchsettings.json's (regular alpha players won't
notice since there is a version check, but if you already have your
stuff at A26/svn, you will have some issues)

Reported By: elexis
Comments By: wraitii, Freagarach
Differential Revision: D4240
This was SVN commit r26393.
2022-02-15 21:13:10 +00:00
bb 3484a3d483 Move parabolic range computation to rangemanager
Co-proposed By: Freagarach
Reviewed By: Freagarach
Test written By: Stan
Comments By: vladislavbelov, stan, wraitii, Silier
Depricates: D4356

Differential Revision: D3249
This was SVN commit r26392.
2022-02-15 20:31:55 +00:00
wackyserious 6c1c4e0cde Update celt tunic details
This was SVN commit r26391.
2022-02-15 11:03:23 +00:00
wowgetoffyourcellphone 8df9d31286 Improved Iberian structure textures. May improve it further at some point.
This was SVN commit r26390.
2022-02-15 10:28:14 +00:00
wowgetoffyourcellphone 9ae4db9425 Add ambient occlusion to the Mauryan Palace structure.
This was SVN commit r26389.
2022-02-15 09:59:56 +00:00
wowgetoffyourcellphone 069217b9e7 Roman sandbox map changed to be more of a debug demo.
This was SVN commit r26388.
2022-02-15 09:48:55 +00:00
wowgetoffyourcellphone d2ebe4464f - PERSIAN skeletal textures moved to their own subfolder.
- Actor texture refs updated to reflect the move. Actor aesthetics
improved.
- Persian Sandbox scenario changed up.

This was SVN commit r26387.
2022-02-15 09:47:56 +00:00
wowgetoffyourcellphone b160a62902 Fix a bunch of texture refs found by Jenkins.
This was SVN commit r26386.
2022-02-15 09:44:24 +00:00
wowgetoffyourcellphone c2310b56b4 - MAURYAN skeletal textures moved to their own subfolder.
- Actor texture refs updated to reflect the move.
- A couple of Atlas-only hero units.
- Maurya Sandbox scenario changed up.

This was SVN commit r26385.
2022-02-15 09:40:04 +00:00
wowgetoffyourcellphone 54e9f15bc7 - Replace some if the "old" helmet meshes and textures. These textures are used by some of the newer helmet prop actors. Perhaps we can find a better texture solution in the future for these props.
- Fix a couple helmet actors while I'm at it.

This was SVN commit r26384.
2022-02-15 07:38:04 +00:00
wowgetoffyourcellphone 259eced530 - Add horse actors for each color type so that they are more easily visualized for designers.
- Get rid of the dumb "pers_cav_knot" actor. Maybe we can make some
better Persian cavalry decor in the future.

This was SVN commit r26383.
2022-02-15 07:34:31 +00:00
Freagarach 3c73bb1b51 Display defeated/won before victory.
When the victory conditions dictate that someone loses when e.g. losing
their CC, the message that the other player(s) had won was sent before
the former player was actually defeated.
When the victory conditions dictate that someone wins when e.g.
capturing all relics, the message that they have won was sent after the
message that the rest has lost.

This changes those.

Differential revision: https://code.wildfiregames.com/D4478
Comments by: @bb, @Silier
This was SVN commit r26382.
2022-02-15 07:20:21 +00:00
Freagarach 73f732dc30 Replace chicken in the random maps folder with startingAnimal.
Which is more generic. It means we don't have `chicken = oPeacock` and
the like anymore.
It adds a default scaling function such that people replacing the
animals are puzzled by the different number of starting animals./To keep
the amount of food roughly equal to the amount standard provide by
chicken.

Patch by: @marder
Differential revision: https://code.wildfiregames.com/D4472
Comments by: @smiley, @Stan
This was SVN commit r26381.
2022-02-15 07:04:49 +00:00
bb 47e79c71d5 Make CGUIText variables camel case
Reviewed By: vladislavbelov
Differential Revision: D4491
This was SVN commit r26379.
2022-02-14 17:48:08 +00:00
Stan 3694a12152 Fix x86 Unix versions of 0 A.D. not being able to open the public.zip file.
Patch by: @nwtour
Differential Revision: https://code.wildfiregames.com/D4413
This was SVN commit r26378.
2022-02-14 11:01:02 +00:00
wowgetoffyourcellphone 930cc9b850 Scythian textures by Wackyserious.
Persians and Athenians will use these.

This was SVN commit r26377.
2022-02-14 08:17:02 +00:00
wowgetoffyourcellphone f8333e7deb Prop and Actor improvements.
- New destruction decal textures.
- Material fixes for actors.
- Bridge decals.
- Shields.

This was SVN commit r26375.
2022-02-14 08:13:42 +00:00
wowgetoffyourcellphone df0797e4a1 Continue the removal of the old helmets.
Move remaining helmet actors to the parent helmet folder.

This was SVN commit r26374.
2022-02-14 08:04:07 +00:00
wowgetoffyourcellphone 42b64f8ea2 - Delete 196 unused Helmet textures. Meshes and Actors to follow.
- Reduce resolution (and disk space) of some over-sized remaining helmet
textures.

This was SVN commit r26373.
2022-02-14 07:28:11 +00:00
vladislavbelov 6ec956553a Fixes builds after d0115185b9 by removing includes to res handle.
This was SVN commit r26372.
2022-02-14 06:29:50 +00:00
wowgetoffyourcellphone 939f800a26 - ROMAN skeletal textures moved to their own subfolder.
- Actor texture refs updated to reflect the move.
- A new Roman champion unit added for fun, "Praetorian."
- An "infantry" version of Scipio Africanus to match the other 2 Roman
heroes.
- New Roman helmet models and actors.
- A bunch of unused textures deleted.

This was SVN commit r26371.
2022-02-14 04:01:56 +00:00
Stan 59df75e78b Fixes two clang warnings.
Refs #5550 #5294

This was SVN commit r26370.
2022-02-13 23:41:47 +00:00
vladislavbelov d0115185b9 Removes unused and redundant h_mgr after 0e599a3176 and dd91a5e0ef.
This was SVN commit r26369.
2022-02-13 22:31:36 +00:00
vladislavbelov dd91a5e0ef Removes unused ogl_tex after 4de89c3db1 and 492a109b68.
This was SVN commit r26368.
2022-02-13 22:07:56 +00:00
vladislavbelov 492a109b68 Removes redundant ogl_tex quality option after 4de89c3db1.
This was SVN commit r26367.
2022-02-13 21:53:02 +00:00
vladislavbelov aaf378f041 Moves backend capabilities to CDevice.
This was SVN commit r26366.
2022-02-13 21:46:03 +00:00
vladislavbelov 4de89c3db1 Moves texture management to CDeviceCommandContext, adds quality options.
Comments By: nwtour, Stan
Tested By: nwtour, Stan
Differential Revision: https://code.wildfiregames.com/D4488
This was SVN commit r26365.
2022-02-13 19:30:28 +00:00
wowgetoffyourcellphone 451dc24a7e Carthaginian texture changes, deletions, additions.
This was SVN commit r26364.
2022-02-13 15:23:25 +00:00
wowgetoffyourcellphone f6a8c8cbbc This was SVN commit r26363. 2022-02-13 15:21:23 +00:00
wowgetoffyourcellphone 9536069201 Spartan unit actors improved.
This was SVN commit r26362.
2022-02-13 15:20:26 +00:00
wowgetoffyourcellphone 1c67883401 Unused and low res Celtic textures deleted.
About a dozen new Celtic tunic textures added to replace them.

This was SVN commit r26361.
2022-02-13 15:18:37 +00:00
wowgetoffyourcellphone c46c8068a3 Illyrian skeletal textures moved to their own subfolder.
A bunch of unused Thracian textures deleted.

This was SVN commit r26360.
2022-02-13 15:15:49 +00:00
wowgetoffyourcellphone abe81a0510 - Move Ptolemaic skeletal textures to their own sub-folder, et al.
This was SVN commit r26359.
2022-02-13 15:14:01 +00:00
wowgetoffyourcellphone d813cdb8fc Updated battalion standards.
This was SVN commit r26358.
2022-02-13 15:10:49 +00:00
wowgetoffyourcellphone 6d9c5652b2 - Move Seleucid skeletal textures to their own sub-folder.
- Renamed many textures to the new texture naming standards.
- Adjust many unit actor refs for these textures (and improve the look
of the actors while I'm at it).
- A bunch of unused texture deleted.

This was SVN commit r26357.
2022-02-13 15:08:34 +00:00
wowgetoffyourcellphone 47794a5cbd Athenian actor updates.
Commit the Scythian texture move while I'm at it (an Athenian unit uses
these textures).

This was SVN commit r26356.
2022-02-13 15:03:26 +00:00