Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update images #5

Open
shaunagm opened this issue Sep 13, 2014 · 0 comments
Open

Update images #5

shaunagm opened this issue Sep 13, 2014 · 0 comments

Comments

@shaunagm
Copy link

The game only uses PNG images; here are the instances (2 files): $ fgrep -i png _java */_java`

Senet.java: javax.swing.ImageIcon titlebaricon = new javax.swing.ImageIcon(loadBytes("data\\img\\ankhIcon.png"));

Senet.java: standard.GetWinner("lightwins.png");

Senet.java: standard.GetWinner("darkwins.png");

Senet.java: DrawImage("data\\img\\ankh.png",5 * rectWidth,rectHeight * 1);

Senet.java: DrawImage("data\\img\\vulture.png",5 * rectWidth,rectHeight * 2);

Senet.java: DrawImage("data\\img\\water.png",6 * rectWidth,rectHeight * 2);

Senet.java: DrawImage("data\\img\\stones.png",7 * rectWidth,rectHeight * 2);

Senet.java: DrawImage("data\\img\\eye.png",8 * rectWidth,rectHeight * 2);

menu src/MenuFrame.java: setIconImage(new javax.swing.ImageIcon(getClass().getResource("/ankhIcon.png")).getImage());

menu src/MenuFrame.java: jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/hiero1.png"))); // NOI18N

menu src/MenuFrame.java: jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/hiero2.png"))); // NOI18N

menu src/MenuFrame.java: jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/title.PNG"))); // NOI18N

menu src/MenuFrame.java: aboutLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aboutImage.PNG"))); // NOI18N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant