This is an archived, read-only instance of the CortUI Trac. This site is no longer actively maintained. Registration and login have been disabled. Content is preserved for reference only.

Opened 16 years ago

Closed 15 years ago

#23 closed enhancement (fixed)

Add Minimap and Inventory pane transparency

Reported by: TheDevil Owned by: Bunnywabbit
Priority: major Milestone: 1.80
Component: HUD: GlassHUD Version: n/a
Keywords: transparency Cc: Henrik Heimbuerger

Description (last modified by Henrik Heimbuerger)

Bunnywabbit has succeeded in making the minimap and Inventory pane transparent. So it is possible to add it the next CortUI version. He has hosted the pack for players to use. Here's the link: Bunnywabbit's Blog: Tinker Set

Attachments (1)

dialog_minimapstyle.patch (4.8 KB) - added by MrWabbit 15 years ago.
non-functional dialog_minimapstyle.mdl defines minimap pics using switches

Download all attachments as: .zip

Change History (13)

comment:1 Changed 16 years ago by Henrik Heimbuerger

Cc: Henrik Heimbuerger added
Component: [untriaged]Core
Description: modified (diff)
Keywords: transparency added; transperency removed
Milestone: 2.0
Owner: changed from Henrik Heimbuerger to Bunnywabbit
Priority: trivialmajor
Status: newassigned
Summary: Add Minimap and Invetory pane Transperency.Add Minimap and Inventory pane transparency
Version: n/a

I like it! Would you be interested in donating that to CortUI, Bunny?

comment:2 Changed 16 years ago by Henrik Heimbuerger

Related to #25.

comment:3 Changed 16 years ago by MrWabbit

naturally.

comment:4 Changed 15 years ago by MrWabbit

Milestone: 2.01.80

comment:5 Changed 15 years ago by SVN

New commit by bunnywabbit (revision [114]):
[fix for ticket #23] this adds minimap and inventory pane versions to CortUI, in a semi-manageble way.

key files are dialog_inventorystyle.mdl and dialog_minimapstyle.mdl; which contain all the definitions. all the bmp.mdls have been replaced with png-imports.

comment:6 Changed 15 years ago by SVN

New commit by bunnywabbit (revision [115]):
[additional fix for #23] these are the glassHUD art files relevant to the inventory and minimap.

comment:7 Changed 15 years ago by SVN

New commit by bunnywabbit (revision [116]):
[broken fix for #23] this is the way i want the whole thing to work, but it won't render. The switches just seem to return tiny 1pxx1px empty images.

comment:8 Changed 15 years ago by MrWabbit

see my comment #7.

I'm going to uncommit rev 116 because it turns out I mis-named the patch and committed it when I shouldn't have.

I attach the patch instead.

I tried using switches in the dialog_minimapstyle.mdl (see attached patch) but they don't work. The switches just seem to return tiny 1pxx1px empty images. Someone (nudge nudge) will have to take a look at the code to see why.

Changed 15 years ago by MrWabbit

Attachment: dialog_minimapstyle.patch added

non-functional dialog_minimapstyle.mdl defines minimap pics using switches

comment:9 Changed 15 years ago by Henrik Heimbuerger

Oh, gotcha, then I misunderstood you there. Yeah, I thought the committed version was the 'stable' one and I hadn't applied the patch yet, so I thought I wouldn't have the experimental stuff in there yet.

It's fine either way (although the 'correct' approach by the book is definitely to keep the trunk stable and deploy experiments as patches, ideally not even in the repo but on the ticket), I just wasn't aware.

comment:10 Changed 15 years ago by SVN

New commit by bunnywabbit (revision [124]):
[partial fix for ticket #23] missing artwork for glasshud; inventorytop.png

comment:11 Changed 15 years ago by Henrik Heimbuerger

Component: CoreHUD: GlassHUD

comment:12 Changed 15 years ago by MrWabbit

Resolution: fixed
Status: assignedclosed

this is mostly done. To the degree that it isn't, ticket #51 covers it.

Note: See TracTickets for help on using tickets.