about summary refs log tree commit diff stats
path: root/data/maps/the_stormy/rooms
Commit message (Collapse)AuthorAgeFilesLines
* Added display names to portsStar Rauchenberger2025-09-281-0/+1
|
* [Data] Annotate shuffleable portsStar Rauchenberger2025-09-211-1/+2
|
* Changed how door location names are formattedStar Rauchenberger2025-08-308-8/+4
| | | | | | | | | | | | | | | | | | STANDARD type doors with at most four panels in the same map area and no other trigger objects will have their location names generated from the names of the panels used to open the door, similar to Lingo 1. Other door types will use the door's name. In either case, the name can be overridden using the new location_name field. Rooms can also set a panel_display_name field, which will be used in location names for doors, and is used to group panels into areas. Panels themselves can set display names, which differentiates their locations from other panels in the same area. Many maps were updated for this, but note that the_symbolic and the_unyielding have validator failures because of duplicate panel names. This won't matter until panelsanity is implemented.
* Converted puzzle symbols to an enumStar Rauchenberger2025-08-207-12/+12
|
* Added the_stormyStar Rauchenberger2025-08-198-0/+118
ssing to AnimationType' href='/fourpuzzle/commit/src/com/fourisland/fourpuzzle/Direction.java?id=b2b180730ad252b4a8d15d9bc59895b56c552c29'>b2b1807 ^
3724f4e ^
ef1b05d ^
3724f4e ^
e8e617e ^
3724f4e ^



ef1b05d ^
3724f4e ^


69b495c ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102











                                                    



































































                                   

       
                                                          
       
                                                            
       
                                         

       
                                                                  
       
                                                            
       



                                                           
       


                                                            
 
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.fourisland.fourpuzzle;

/**
 *
 * @author hatkirby
 */
public enum Direction {
    North
    {
        public Direction opposite()
        {
            return Direction.South;
        }
        
        public Direction left()
        {
            return Direction.West;
        }
        
        public Direction right()
        {
            return Direction.East;
        }
    },
    East
    {
        public Direction opposite()
        {
            return Direction.West;
        }
        
        public Direction left()
        {
            return Direction.North;
        }
        
        public Direction right()
        {
            return Direction.South;
        }
    },
    South
    {
        public Direction opposite()
        {
            return Direction.North;
        }
        
        public Direction left()
        {
            return Direction.East;
        }
        
        public Direction right()
        {
            return Direction.West;
        }
    },
    West
    {
        public Direction opposite()
        {
            return Direction.East;
        }
        
        public Direction left()
        {
            return Direction.South;
        }
        
        public Direction right()
        {
            return Direction.North;
        }
    };
    
    /**
     * Returns the direction opposite from the current one
     * 
     * @return A Direction representing the wanted direction
     */
    public abstract Direction opposite();
    
    /**
     * Returns the direction counterclockwise from the current one
     * 
     * @return A Direction representing the wanted direction
     */
    public abstract Direction left();
    
    /**
     * Returns the direction clockwise from the current one
     * 
     * @return A Direction representing the wanted direction
     */
    public abstract Direction right();
}